Commit Graph

152 Commits

Author SHA1 Message Date
nofreude 9d7832066c Enumerated types for resources and a c->scheme-resource-conversion. 2002-04-12 13:55:10 +00:00
frese 963be1ec84 - updated. 2002-04-02 11:39:52 +00:00
frese 0edcaacf88 + added window-exists? predicate. 2002-04-02 11:39:10 +00:00
frese d4ea951ebf + fixed a bug in the destroy functions and finalizers. 2002-04-02 11:38:28 +00:00
frese 1bf411918c + added function to read/write properties of type WINDOW. 2002-04-02 11:36:34 +00:00
frese a72df4abd5 updated. 2002-03-17 15:54:43 +00:00
frese 8b739b7124 - create-simple-window now uses a border-width of 0.
- fixed a bug in query-tree.

- added auxiliary functions for query-tree: window-root, window-parent
  and window-children.

- added auxiliary functions for map-state: window-mapped?,
  window-viewable? and window-unviewable?
2002-03-17 15:54:09 +00:00
frese 6bb4947c2c - fixed a bug in get-property.
- added some functions for easier access to properties: get-property,
  get-string-property, change-string-property.
2002-03-17 15:50:41 +00:00
frese 8bd6fd9c30 - fixed a bug gcontext-font. 2002-03-17 15:49:30 +00:00
frese 26c416d441 - graphic functions now all use lists and pairs as rectangle/point
arguments.
- addded some auxiliary functions for rectangles.
2002-03-17 15:49:02 +00:00
frese 2c91c73a18 - the xlib-internal event-queue was not respected in event-ready? and
wait-event etc.
2002-03-17 15:44:45 +00:00
frese a7ec9ccd53 - replaced the use of symbols 'none, 'parent-relative etc. by
functions that create special X-Objects. e.g. special-window:none,
  special-pixmap:copy-from-parent.

- added a discloser for windows (makes debugging easier).

- fixed bugs in gcontext-font, get-window-attributes and text-width

- added enumerated types for colormap-alloc in create-colormap and grab-mode
2002-03-17 15:41:56 +00:00
frese 84ca2f8675 + fixed some bugs.
+ added optional screen argument to some display-functions.
+ added more any-event-* functions.
+ implemented send-event.
+ updated interfaces.
2002-02-25 13:10:11 +00:00
nofreude 04ba26ee03 first implementation of the widget-functions for Scheme48 2002-02-15 14:57:54 +00:00
nofreude 0418c393dd first implementation of the record-type for widgets 2002-02-15 14:53:23 +00:00
frese 28f5ce9341 - not needed anymore. 2002-02-08 17:15:27 +00:00
frese 674a796cec - updated to new interface. 2002-02-08 17:10:45 +00:00
frese 10558fa5f0 - fixed GC_PROTECT bugs
- replaced most of symbol or symbol list arguments by enumerated types,
  enum-sets and alists of enumerated types.
- reformed event representation. Every event has it's own record-type now.
2002-02-08 17:09:43 +00:00
mainzelm 4ae0c363d4 Added make-...-alist for enumerated types. 2002-02-06 13:54:56 +00:00
frese 5e1e8a5501 - renamed xlib-type-*.scm to xlib-internal-*.scm 2002-02-05 15:31:23 +00:00
frese ec4311676b - using a save version of gcontext-font. 2002-02-04 12:45:25 +00:00
frese b6a026853a - fixed a bug in draw-image-text. 2002-02-04 12:44:08 +00:00
frese 72bfd523d1 - added xpm package. 2002-01-28 00:22:06 +00:00
frese 70c363f042 - implemented read-file-to-pixmap and create-pixmap-from-data. 2002-01-28 00:21:16 +00:00
frese 689134ea02 - fixed little bug in write-bitmap-file. 2002-01-28 00:17:30 +00:00
frese 7c9aac7f17 - updated to use the new enumerated types. 2002-01-06 16:54:47 +00:00
frese b4f1bcad78 - changed variable arguments and return values in set-wm-hints!,
get-wm-hints, set-wm-normal-hints!, get-wm-normal-hints,
create-gcontext, change-gcontext, get-visual-info,
change-window-attributes, get-window-attributes, configure-window,
create-window to use an enumerated type instead of symbols.
- renamed functions in xlib-client (e.g. wm-hints to get-wm-hints).
2002-01-06 16:53:13 +00:00
mainzelm 20fc229b08 Error handling similar to sigevents 2001-12-19 21:37:16 +00:00
mainzelm ac61d5fcef Wait on events by using the VM's select. 2001-12-04 14:18:57 +00:00
frese 9a316771fc + added more example scripts. 2001-12-04 13:49:07 +00:00
mainzelm 7b96420c19 Build with scx 2001-12-04 11:16:05 +00:00
frese 6a225d755a - basic "Hello World" example. 2001-12-04 10:24:59 +00:00
frese 03778abc9e + added a second version of wait-event. See event.scm for details. 2001-12-04 10:18:12 +00:00
frese b909c2a042 - fixed typos
- added missing load's in some structures.
2001-10-30 14:31:36 +00:00
frese 4de9034f71 - updated for new bindings.
- added threads to xlib-event structure. wait-event needs sleep.
2001-10-09 15:51:33 +00:00
frese faffbdd4ed - added finalize? argument to make-pixel, so that allocated
color-cells (=pixels) are freed correctly.
2001-10-09 15:45:26 +00:00
frese fefeb73ccf - completed get-gcontext-values and change/get-window-attributes to
pack/unpack all values correctly.
- added copy-gcontext! and copy-gcontext
- added comments.
2001-10-09 15:43:55 +00:00
frese 9478e09049 - make-font can now create a font from a font-id (Xfont)
- added %font->fontstruct, resp. scx_Font_ID_To_Font_Struct for that.
- removed gcontext-font (see gcontext.scm)
- added comments.
2001-10-09 15:42:26 +00:00
frese 231afe173a - added wait-event
- event-args now returns an alist of the event fields.
2001-10-09 15:40:01 +00:00
frese b4fb3ffd9f - added display-select-input, resp. scx_Display_Select_Input. 2001-10-09 15:33:45 +00:00
frese bb1ee4a138 - added comments and newlines. 2001-10-09 15:32:54 +00:00
frese 648252ba0d - removed direct calls to scx_Create_Color
- renamed save-color-cell to store-color
- added store-colors, copy-colormap-and-free,
respect. scx_Store_Colors, scx_Copy_Colormap
- renamed alloc-named-color to query/alloc-named-color
- added new alloc-named-color that can be used like alloc-color!
- changed my-floor definition (color.scm)
- added parse-color
- updated calls to make-pixel
2001-10-09 15:31:33 +00:00
frese 41efc382c7 + graphic: changed representations of rectangles to lists (x y width height),
and points to pairs (x . y). Added some auxiliary functions for that.
+ text: made the format arguments optional, and default to '1-byte.
+ added comments.
2001-10-04 12:31:44 +00:00
frese f388edb0f1 + fixed bugs in scx_Display_Keycodes_Per_Keysym and
scx_Keycode_To_Keysym.
+ added comments.
2001-10-04 12:21:25 +00:00
frese 45c05c8475 + added new types, interface and structure for region. 2001-09-25 12:56:15 +00:00
frese 5bd0685662 + added support for regions. 2001-09-25 12:45:12 +00:00
frese e7cce49d13 + Added support for visuals.
+ Implemented some missing routines for color control:
create-colormap, alloc-color-cells, set-color-cell.
2001-09-20 14:41:01 +00:00
frese 3a36140b69 corrected the implementation of the after-function stuff. 2001-08-29 14:52:44 +00:00
frese b0a1f88472 added the error, extension, utility and grab packages. added
parse-color to the colormap package.
2001-08-29 14:49:31 +00:00
frese aa1926d027 made the mandatory arguments to create-gcontext (drawable) and
create-window (parent width height) _really_ mandatory.
2001-08-29 14:47:03 +00:00
frese fd66d0396b new implementations. 2001-08-29 14:44:15 +00:00
frese c72bd59c42 fixed some bugs and typos. 2001-08-29 14:43:49 +00:00
nofreude 6162bf3dec first implementation 2001-08-28 14:45:09 +00:00
nofreude 415d3c638c added the parse-color Function.: 2001-08-22 14:53:08 +00:00
nofreude 814296eb3d First implementation 2001-08-22 12:06:41 +00:00
frese 9e1bddd658 added the key package. 2001-08-22 11:51:35 +00:00
frese 04a91a751e first implementation. 2001-08-22 11:50:05 +00:00
frese d4d7f0c759 used lists for the arguments and return values of those functions that did use
vectors before (if vectors were not neccessary).
2001-08-22 11:49:01 +00:00
frese d055618815 added all new types and packages (font, cursor, text, property, wm,
client, font-type, atom-type, cursor-type).
2001-08-21 15:15:34 +00:00
frese 6c13a8812d added all new types and packages (font, cursor, text, property, wm, client, font-type, atom-type, cursor-type). 2001-08-21 15:15:03 +00:00
frese 5e0439da94 changed the text-representation from vectors to lists, added delta
statements, changed the internal processing and abstractions.
2001-08-21 15:01:38 +00:00
frese 875610bc46 fixed typos and some tiny errors. 2001-08-21 14:57:08 +00:00
frese 892ed92b61 changed the constructors and finalizers, so that only one finalizer is
needed for each object.
2001-08-21 14:51:22 +00:00
frese f1db98896b added a discloser that shows the rgb values of the color. 2001-08-21 14:46:52 +00:00
frese 4eb658e8a9 first implementation. 2001-08-21 14:45:32 +00:00
frese 024abcc745 Added suffix "scx_" to all imported C functions. 2001-07-31 14:54:53 +00:00
frese 158a0d2c5e added windowmanager functions. 2001-07-31 14:53:49 +00:00
frese 68ded3c442 added support for the cursor functions. 2001-07-30 14:45:24 +00:00
frese 1e1cac1d34 fixed typos and forgotten parameters etc. fixed display-after-function. 2001-07-30 14:43:22 +00:00
frese cf6bc39491 updated functions to pass/receive vectors not lists from the c-routines. 2001-07-30 14:39:14 +00:00
frese 40f33cd2f3 changed integer-table into byte-vector-table. fixed color-list-find. 2001-07-30 14:27:35 +00:00
frese 122b2b4397 added the finalize? parameter to the constructor definitions. 2001-07-19 15:21:09 +00:00
frese 2df0598273 updated constructor calls to specify wheather the X-Lib Objects
should be freed.
2001-07-19 15:19:07 +00:00
frese 0a81d851b1 updated constructor calls to specify wheather the X-Lib Objects
should be freed. implemented get-motion-events.
2001-07-19 15:15:31 +00:00
frese 536e355a45 updated constructor-calls to specify wheather the X-Lib Objects
should be freed. implemented the use of XGetGeometry.
2001-07-19 15:14:29 +00:00
frese f1d4077123 added forgotten parameter to %lookup-color. 2001-07-19 15:07:12 +00:00
nofreude d20501c9b6 First Implementation of Text Metrics 2001-07-19 14:03:23 +00:00
frese 736a828fbe first implementation. 2001-07-18 15:48:22 +00:00
frese 9a815a9864 fixed a typo. 2001-07-18 15:45:54 +00:00
nofreude 95d78bf9bb First Version. 2001-07-16 13:53:08 +00:00
frese a2335aa0bb added comments. 2001-07-16 13:37:28 +00:00
frese 2cab5071f3 changed get-window-attributes to use vectors instead of lists
internally. fixed some typos. added comments.
2001-07-16 13:36:53 +00:00
frese 144ecc85c6 fixed two typos. 2001-07-16 13:23:39 +00:00
frese 67ce4e46d0 added forgotten declaration of sidx in make-event. removed check for
event-ready? in events-pending.
2001-07-16 13:22:18 +00:00
frese 4f7bde5ba1 added support for colormap and gcontext. added comments. 2001-07-16 13:12:11 +00:00
frese d91d4b3d74 fixed make-color bug. added comments. 2001-07-16 13:08:08 +00:00
frese d198d95710 fixed call/cc -> call-with-current-continuation typo. 2001-07-16 13:06:20 +00:00
frese 4308e681f3 mini change 2001-07-11 15:18:32 +00:00
nofreude 7609b10f0e *** empty log message *** 2001-07-11 14:22:42 +00:00
nofreude a380c30f74 first V a vErx 2001-07-11 14:17:32 +00:00
frese fcefb33983 renamed to helper.scm 2001-07-11 14:12:22 +00:00
frese a55d007131 Has moved to main scheme-dir. 2001-07-11 14:09:47 +00:00
frese 6179ac994a major changes and debugging. 2001-07-09 13:49:38 +00:00
frese 4c47adaca4 renamed - former stuff.scm 2001-07-09 13:48:27 +00:00
frese 21c4986189 reorganized the modules. 2001-07-09 13:46:22 +00:00
frese a1501802f0 moved out of subdirecotry; some changes. 2001-07-09 13:45:36 +00:00
frese 49d237088f reorganized the modules. 2001-07-09 13:41:10 +00:00
uid52805 732288dd13 First Version. 2001-07-04 14:19:38 +00:00
frese 45ffe04e5f Only some small changes. 2001-06-25 11:46:06 +00:00
frese 374158d3a3 Some changes. 2001-06-25 11:34:35 +00:00