1. Pixmaps and Llama
- Posted by jbrown105 at speedymail.org May 30, 2002
- 412 views
I have finally decided to add Bitmap/Pixmap support to Llama/GTK. I've managed to hack in a (most likely very inaccurate version of a) Bitmap control by placing the GTK Pixmap onto a GTK button. I've also started a Pixmap control, but it doesnt work yet (due to my minimal knowledge of Win32Lib). I'm hoping some Win32Lib/GTK guru can help me out by correcting the flaws in my controls and making th interface as similar to Win32Lib as possible. (BTW Bitmaps/Pixmaps will not work on Llama/GTK for Win32 testers until someone makes a gtkhelp.dll) jbrown P.S. The apigtkhelp.e for Win32 users seems not to have come through properly. Here it is again. --CUT HERE-- -- Interface to the gtkhelp library -- Hacked to avoid calling the actual gtkhelp library include c_struct.e include dll.e include misc.e global procedure eu_gtk_init(integer argc, sequence argv) gtk_init(0, {}) end procedure global function eu_gtk_widget(atom widget) return 1 end function global function eu_gdk_pixmask_new(sequence s) return 0 end function global function eu_gdk_pixmap_new(sequence s, atom mask) return 0 end function --CUT HERE-- -- http://fastmail.fm Quick as a click