I second everything that Stan and Ian wrote in their replies.
Additionaly, you might want to make your filterWindow modal (see below).

http://www.fltk.org/doc-1.1/Fl_Window.html#Fl_Window.set_modal

Thomas Guiot wrote:

> so far my code is:
> 
> [in my main class.cpp]
> ..
> void Filter_callback(){

   filterWindow->set_modal(); // force filterWindow on top

> filterWindow->show(); //filterWindow derives from Fl_Window

   // return from callback, remove next line !

> image->Filter(filterWindow->GetFilterParameters());
> }
> ..
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to