Re: [fltk.bugs] [LOW] STR #2765: fltk::TiledGroup

2011-11-07 Thread Brian
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2765 Version: 2.0-current Attached file tiledgroup_cursor.patch... Link: http://www.fltk.org/str.php?L2765 Version: 2.0-currentIndex: TiledGroup.cxx

Re: [fltk.general] popup window and issue with Fl::wait

2011-11-07 Thread MacArthur, Ian (SELEX GALILEO, UK)
It could be wrapped in something like USE_X11_THREADING as an option. Anyway, in general the best description of things and discussion I found was at http://ask.slashdot.org/story/03/01/11/0043207/why-isnt-x11-th read-safe And I'd caution that (in my experience) this is not

Re: [fltk.general] popup window and issue with Fl::wait

2011-11-07 Thread chris
Following this discussion I experimented a little and made a test program for a splash screen without messing around with timers and signals. I started with the threads example in the test folder. Due the implementation of threads.cxx this code snipped only works in the test folder because it

Re: [fltk.general] popup window and issue with Fl::wait

2011-11-07 Thread David
=20 It could be wrapped in something like USE_X11_THREADING as an=20 option. Anyway, in general the best description of things=20 and discussion I found was at=20 http://ask.slashdot.org/story/03/01/11/0043207/why-isnt-x11-th read-safe And I'd caution that (in my experience) this

Re: [fltk.general] popup window and issue with Fl::wait

2011-11-07 Thread David
Following this discussion I experimented a little and made a test program for a splash screen without messing around with timers and signals. I started with the threads example in the test folder. Due the implementation of threads.cxx this code snipped only works in the test folder because

[fltk.general] how to get top most active window

2011-11-07 Thread David
What's the best way to get the top most open window that has keyboard focus? Fl::modal() ??? Also what order is Fl::first_window() in? Z-Order (top most first or bottom most first) or created order? ___ fltk mailing list fltk@easysw.com

Re: [fltk.general] how to get top most active window

2011-11-07 Thread Greg Ercolano
On 11/07/11 16:41, David wrote: What's the best way to get the top most open window that has keyboard focus? In short, I'm thinking: Fl::focus()-window() Fl::focus() returns the current Fl_Widget with focus (if any), and Fl_Widget::window() returns the parent window.

[fltk.general] FLTK compile error

2011-11-07 Thread Coder
Hi, I get an error trying to compile with mingW on windows. $fltk-config --compile myfirstwindow.cxx g++ -I/usr/local/include -I/usr/local/include/FL/images -mwindows -DWIN32 -DUSE_OPENGL32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o 'MyFirstWindow' 'MyFirstWindow.cxx' -mwindows

Re: [fltk.general] FLTK compile error

2011-11-07 Thread Greg Ercolano
On 11/07/11 18:22, Coder wrote: Hi, I get an error trying to compile with mingW on windows. $fltk-config --compile myfirstwindow.cxx g++ -I/usr/local/include -I/usr/local/include/FL/images -mwindows -DWIN32 -DUSE_OPENGL32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o 'MyFirstWindow'

Re: [fltk.general] popup window and issue with Fl::wait

2011-11-07 Thread chris
One thing is the first lock call should be in the main thread since it does some initialization... Well actually the docs say the Fl::lock() should be before any call to Fl::run() or Fl::wait(). In this example the main thread does no call to Fl::run() or Fl::wait() until the splash screens

Re: [fltk.general] FLTK compile error

2011-11-07 Thread Edzard Egberts
Coder schrieb: Hi, I get an error trying to compile with mingW on windows. $fltk-config --compile myfirstwindow.cxx g++ -I/usr/local/include -I/usr/local/include/FL/images -mwindows -DWIN32 -DUSE_OPENGL32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o 'MyFirstWindow' 'MyFirstWindow.cxx'