Re: [fltk.general] jpeg image data from blob

2012-02-10 Thread mattes
Rainer and Edzard, thanx for the inspiration. I really prefer the XPM format. (expect the downside it is not compressed ;-( ) The best solution in my case was to combine both of your ideas. So i expanded Fl_XPM_image and added the functionality to pass a pointer for the XPM image data. One easy

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-10 Thread Brian
Ian wrote > > Yup - I got this too, when testing on OSX. > > The problem is that the IdleFPS and FixedFPS methods now need to be public > methods of the MyGlWindow class, so that my callback for attaching and > detaching them (via the set_idle checkbutton) can access them. > > For some reason, th

Re: [fltk.general] where can I get fltk2dfb branch

2012-02-10 Thread Nikita Egorov
> >From the forum I see Nikita Egorov have porting FLTK2 to the DirectFB > >library, and he put it to ftp://ftp.varma-el.com/bin/fltk/fltk2dfb.tar.gz, Hi, new place for the file is ftp://ftp.varma-el.com/fltk/fltk2dfb.tar.gz. Don`t forget download the source archive of fltk2 ftp://ftp.varma-el.co

Re: [fltk.general] Scroll bar in Choice box

2012-02-10 Thread MacArthur, Ian (SELEX GALILEO, UK)
> > Rather, you (we all...) need to think differently about how the user > > interacts with large lists in a touch environment. Basically, a > > choice-style widget, a drop-down box, menus, all these things we are > > used to on the desktop no longer make any sense. > > I don't think so, to me th

Re: [fltk.general] Scroll bar in Choice box

2012-02-10 Thread Edzard Egberts
MacArthur, Ian (SELEX GALILEO, UK) schrieb: > Rather, you (we all...) need to think differently about how the user > interacts with large lists in a touch environment. Basically, a > choice-style widget, a drop-down box, menus, all these things we are > used to on the desktop no longer make any sen

Re: [fltk.general] Fl_Value_Input

2012-02-10 Thread MacArthur, Ian (SELEX GALILEO, UK)
> ISTR that the value is (or was) interpreted as octal if it started > with a zero. Maybe this was by design, and maybe this was "fixed" > (i.e. changed) in FLTK 1.3, but I don't know for sure. Looking at the source, it uses strtol(t.input.value(), 0, 0);, which, since it uses a base of 0 will i

Re: [fltk.general] Scroll bar in Choice box

2012-02-10 Thread MacArthur, Ian (SELEX GALILEO, UK)
> Ya as u said am using a touchscreen environment with small display. And > it > became very difficult to choose a choice from the list. So I hope there > will be a scroll bar in choice box in the coming FLTK 3.0. No, I do not think there will be. Rather, you (we all...) need to think differently

Re: [fltk.general] Scroll bar in Choice box

2012-02-10 Thread Rajesh Kumar
Ya as u said am using a touchscreen environment with small display. And it became very difficult to choose a choice from the list. So I hope there will be a scroll bar in choice box in the coming FLTK 3.0. On Fri, Feb 10, 2012 at 2:58 PM, MacArthur, Ian (SELEX GALILEO, UK) < ian.macart...@selexgal

Re: [fltk.general] Fl_Value_Input

2012-02-10 Thread Albrecht Schlosser
On 10.02.2012 09:57, Richard Sanders wrote: > Version 1.4.x ? (see Ian's post) > Fl_Value_Input set to int (and using mouse drag, if thate makes a > diffirence) > > if the value entered stars with a zero eg. 08 When the value is > retrieved the result is zero rather than 8. atoi() would certainl

Re: [fltk.general] where can I get fltk2dfb branch

2012-02-10 Thread Albrecht Schlosser
On 10.02.2012 03:15, leowang wrote: > From the forum I see Nikita Egorov have porting FLTK2 to the DirectFB > library, Which forum? I don't remember to have seen any DirectFB patches or announcements for FLTK 2 here, but maybe ... > and he put it to ftp://ftp.varma-el.com/bin/fltk/fltk2dfb.tar

Re: [fltk.general] Fl_Value_Input

2012-02-10 Thread MacArthur, Ian (SELEX GALILEO, UK)
> Version 1.4.x Um, Richard, you can't possibly mean that (1.4) since that was never released... You mean 1.3.x? or... maybe 1.1.4? (That would be waaay old though...) > Fl_Value_Input set to int (and using mouse drag, if thate makes a > diffirence) > > if the value entered stars with a zero

Re: [fltk.general] Scroll bar in Choice box

2012-02-10 Thread MacArthur, Ian (SELEX GALILEO, UK)
> I am using fltk-2.0 for my development. Fltk2 is deprecated, since it is mostly unmaintained, never attained stability, and was never properly released. It should NOT be used for new developments. You should use fltk-1.3 for now, until fltk3 is considered stable and can replace both

Re: [fltk.general] where can I get fltk2dfb branch

2012-02-10 Thread MacArthur, Ian (SELEX GALILEO, UK)
> >From the forum I see Nikita Egorov have porting FLTK2 to the DirectFB > library, and he put it to ftp://ftp.varma- > el.com/bin/fltk/fltk2dfb.tar.gz, > but now I can get anything from the above link, does anyone has this > patch? Could you please share it with me? Thanks. Yeah - links go stale

Re: [fltk.general] SegFault in fl_measure

2012-02-10 Thread MacArthur, Ian (SELEX GALILEO, UK)
> > I am currently attempting to use a program that employs the FLTK > library, but it crashes reliably when a drop-down menu button is > clicked. It seems to occur in fl_draw's fl_measure function when the > 64bit library is used. > > > > running the program through gdb on 64-bit Redhat Linux re

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-10 Thread MacArthur, Ian (SELEX GALILEO, UK)
> Ian, I tried to compile your prog in MinGW with gcc 4.6.1 > and sadly it doesn't compile. > The following is the output.. > > $ fltk-config --use-gl --compile fl_gears.cxx > g++ -I/usr/local/include -I/usr/local/include/FL/images -mwindows - > DWIN32 -DUSE_OPENGL32 > -D_LARGEFILE_SOURCE -D_LAR

[fltk.general] Fl_Value_Input

2012-02-10 Thread Richard Sanders
Version 1.4.x Fl_Value_Input set to int (and using mouse drag, if thate makes a diffirence) if the value entered stars with a zero eg. 08 When the value is retrieved the result is zero rather than 8. atoi() would certainly return 8. ___ fltk mailing l