chad petzoldt wrote:

> Can an Fl_Image(or a subclass) be added as a child to a Fl_Group?

Not in the sense that the image is a child widget of that group, but you 
can assign an image to any widget derived from Fl_Widget via 
Fl_Widget::image(). The widget then takes care of drawing the image in a 
predefined fashion. This is the quickest way to simply display an image.

> Can an Fl_Image easily draw itself, or do you need some type of function to 
> extract pixel data from Fl_Image, and then pass that to fl_draw_image()?

Yes, see Fl_Image::draw(). But beware that drawing is restricted to only 
certain places in FLTK, see <http://www.fltk.org/doc-1.1/drawing.html> 
for details.

Regards, Freddy
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to