This is the mail archive of the
guile-gtk@sources.redhat.com
mailing list for the Guile project.
Completed RGB functionality
- From: Marko Rauhamaa <marko at pacujo dot net>
- To: guile-gtk at sources dot redhat dot com
- Date: 06 May 2003 21:14:15 -0700
- Subject: Completed RGB functionality
Summary: Completed RGB functionality.
Details and Notes:
- gdk-1.2.defs: Decided not to implement the function
gdk_rgb_xpixel_from_rgb since it would have no use in scheme code.
Instead, I implemented (gdk-color-new rgb), which calls
gdk_rgb_xpixel_from_rgb to create a new GdkColor. Gdk-color-new has
no C equivalent.
- gdk-1.2.defs: Made the "pixel" field of GdkColor accessible to scheme
code.
- gdk-1.2.defs, guile-gtk.h, gdk-support.c: Implemented
GdkRgbCmap and the remaining RGB functions.
- All RGB functions make sure gdk_rgb_init gets called. The redundant
function gdk-rgb-init is still accessible from scheme code, though.
--
Marko Rauhamaa mailto:marko@pacujo.net http://pacujo.net/marko/