Re: [fltk.general] double-click vs. click example

2012-03-08 Thread blue146
Great ! I am sure several people were looks for such an example. Thank you. > > On 7 Mar 2012, at 20:12, blue146 wrote: > > > The thing is that when it's a double click you will first print 1 and = > then 2. Could you post an example that prints "single" when

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread blue146
The thing is that when it's a double click you will first print 1 and then 2. Could you post an example that prints "single" when it's a single click and only prints "double" (without printing "single" as well) when it's a double-click ? > On 03/

[fltk.general] double-click vs. click example

2012-03-07 Thread blue146
Can someone post an example of a function that handles single-click events and double-click events. It seems to be non-trivial task, and even though many people may need it I could not find an example anywhere. ___ fltk mailing list fltk@easysw.com http

[fltk.general] map viewer in fltk application

2012-03-05 Thread blue146
I have built a large c++ application with fltk windows in Visual Studio. I would like to add a window for viewing of maps and plotting icons in desired coordinates on the map. There are a lot of libraries out there that can view maps, so I would prefer not to write my own map viewer window. Howe

Re: [fltk.general] how to change menu box edges color ?

2009-12-13 Thread blue146
Didn't get any answer for this. Does anybody has a clue ? > I want to change the skin of my app so that the menus are in darker gray. > I've done something like this: > > fl_color(50,50,50); > m_menubar.menu(menutable); > m_menubar.box(FL_FLAT_BOX); > > This is the only place where fl_color is us

[fltk.general] how to change menu box edges color ?

2009-11-15 Thread blue146
I want to change the skin of my app so that the menus are in darker gray. I've done something like this: fl_color(50,50,50); m_menubar.menu(menutable); m_menubar.box(FL_FLAT_BOX); This is the only place where fl_color is used. The result is that the menubar and menus color change to the dark gra

Re: [fltk.general] How to set window icon

2009-11-15 Thread blue146
> > I've spent more then 3 hours trying to figure out how to set > > FLTK window icon, but still can't make it. Could anybody please > > post an complete example of VC++ fltk file that sets window icon > > under Windows ? (including all the required #include "..") > > Can't help you directly as I d

[fltk.general] How to set window icon

2009-11-15 Thread blue146
I've spent more then 3 hours trying to figure out how to set FLTK window icon, but still can't make it. Could anybody please post an complete example of VC++ fltk file that sets window icon under Windows ? (including all the required #include "..") ___

Re: [fltk.general] children active() causes parent draw()

2009-06-01 Thread blue146
Thanks. I've spent many hours on debugging this, but could not find a solution. Your answer encouraged me to look again and do strange tests. That led me to find the bug in my code. > blue146 wrote: > > I have a class that derives from Fl_Group, and contains several widgets. &

[fltk.general] children active() causes parent draw()

2009-06-01 Thread blue146
I have a class that derives from Fl_Group, and contains several widgets. When I call activate() for one of the deactivated widgets (Fl_Round_Button for instance) then somehow draw() is called for the whole Fl_Group class. This causes the group to flicker on the screen once. I guess that it flick