[fltk.general] Fl_Scrollbars with floats.

2013-03-12 Thread Robert W
Hi there, This may be a stupid question. I'm fairly new to C++. I'm wanting to use two Fl_Scrollbars with float values rather then integers. In Fl_Scrollbars documentation, it states; Scrollbars have step(1) preset (they always return integers). If desired you can set the step() to non-integer

Re: [fltk.general] Fl_Scrollbars with floats.

2013-03-12 Thread Manolo Gouy
Fl_Scrollbar has a value(int) member function that allows to give it integer values. It also inherits from its superclass Fl_Valuator a value(double) member function that gives it a double value. Do as follows: Fl_Scrollbar *sb; double d = 45.2; ((Fl_Valuator*)sb)->value(d); > Hi there, > >

[fltk.general] Webkit as FLTK subwindow?

2013-03-12 Thread Roman Kantor
Just asking if there is somebody who tried that (on any platform) or tried to embed other QT widget (as subwindow, that is probably easier as QT widget could use its own event delivery upon that window) for that matter. I have successfully embedded Internet Explorer view window (using IWebBrowser

Re: [fltk.general] Webkit as FLTK subwindow?

2013-03-12 Thread Ian MacArthur
On 12 Mar 2013, at 16:28, Roman Kantor wrote: > Just asking if there is somebody who tried that (on any platform) or tried to > embed other QT widget (as subwindow, that is probably easier as QT widget > could > use its own event delivery upon that window) for that matter. I don't think I hav

[fltk.general] updating style buffer after text change

2013-03-12 Thread Steve Maas
Hi, I'm stuck with a project and would appreciate some help. I have a Fl_Text_Editor class that uses a style buffer for highlighting keywords in a xml formatted text. Can anyone suggest an efficient way to keep the style buffer updated after the user changes text without rebuilding the style bu

Re: [fltk.general] updating style buffer after text change

2013-03-12 Thread Ian MacArthur
On 12 Mar 2013, at 21:14, Steve Maas wrote: > I'm stuck with a project and would appreciate some help. I have a > Fl_Text_Editor class that uses a style buffer for highlighting keywords in a > xml formatted text. Can anyone suggest an efficient way to keep the style > buffer updated after the

Re: [fltk.general] updating style buffer after text change

2013-03-12 Thread Steve Maas
I didn't know that. I thought the editor example just printed unformatted text. Thanks for pointing that out! That will be of great help. Steve ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk