Commit Graph

108 Commits

Author SHA1 Message Date
frese 205abfb826 - changed error signalling to returning #f in some cases.
- fixed some bugs in raise/lower-window and translate-coordinates.
2002-04-26 08:28:05 +00:00
frese 0043252da4 - added destroyed? component to the window-type for a better
recognition of window-destroyal. (should be done with all types)
2002-04-26 08:26:59 +00:00
frese 2db54b1c37 - fixed some small bugs (in motion-event and rect). 2002-04-26 08:25:07 +00:00
frese a0ac2ea56b - changed error signalling from raising an error to returning #f in
some functions.
2002-04-26 08:24:00 +00:00
mainzelm 04812d3f7a Added synchronous interface to X events. 2002-04-17 14:55:10 +00:00
mainzelm cccb9ef8ff Fixed comment. 2002-04-17 14:51:31 +00:00
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