This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]