Just picked up FLTK, still somewhat new to c++, and my mind has been rotted with such GUI toolkits as in AS3(Flash), SWT(Java), and QT4.
I am in need of a rollover pushbutton that is made of nothing more than 2 different PNGs (Up and Down states). Also, I prefer to use the Fl_Image subclasses rather than calling fl_draw_image(). This is where things get blurry. Is there a simple way to do this with Fl_Button (simple subclass?). I am a little lost as to what Fl_Widget::Image() does. The other option I came up with was to subclass Fl_Group, add Images as children, listen for the appropriate mouse events (simple pushbutton only), and hide/show the appropriate Image. I just havent yet come to learn what each class is capable of doing, and when/where/what I need to be subclassing. Thanks for your help. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

