> How can I detect Window resizing since it doesn't provide any resize
> events or callbacks from what I've read?
> 
> I'm current writing my first FLTK program for a 2D game and I want to
> remove the scrollbars when they aren't required. This is when the width
> or height of the world can be fully displayed in an FL_GL_Widget.

FL_GL_Widget ? 

I assume you are deriving your own window class from Fl_Gl_Window then?

If so, can you not just override the resize() method in your derived class and 
then use that to "detect" resize events happening?

Or am I missing the point here?



********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to