[fltk.general] question about Fl_Double_Window

2012-02-08 Thread leowang
Dear All, In fltk1.3, there has Fl_Window and Fl_Double_Window class, the Fl_Window will malloc w*h*bpp/8 Bytes memory, but Fl_Double_Window will malloc double, which is same as fltk2.0. Then I want to ask in which case we need to use Fl_Double_Window class but can not use Fl_Window class Best

[fltk.general] Fl_Shared_Image issue

2012-02-08 Thread leowang
Dear All, Now I try to moving from fltk2.0 to fltk1.3. >From the point of memory consumption, fltk1.3 is more better than fltk2.0, I >think may be I will use fltk1.3 for my future development. But I have a question about Fl_Shared_Image, my code is like the following: int main(int argc, char **

[fltk.general] so I can bet on fltk3 ?

2012-02-08 Thread goodwood
Good day, all! Yeah, after being frustrated by those new features adding to fltk1 but cannot be used on fltk2, and being frightened by the new "declarations" on fltk2 as "never attained stability and is now generally dormant", i am glad to find fltk3. So fltk3 wrapped both fltk1 and fltk2, whi

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

2012-02-08 Thread Greg Ercolano
On 02/08/12 13:42, Ian MacArthur wrote: > Yes, I think so, +1 for adding to test folder, after folk have looked it > over. > Though fltk headers might be awkward given the provenance of the original > material? Mm, what's the original license? We should probably preserve it if p

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

2012-02-08 Thread Ian MacArthur
On 8 Feb 2012, at 20:23, Greg Ercolano wrote: > On 02/08/12 09:50, Greg Ercolano wrote: >> I'll take a stab at a cleanup. >> I /think/ I can take out all the glut stuff and make it use >> Fl::run(). > > Done; see below. > > Took out all the glut; pure FLTK app now. > Uses F

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

2012-02-08 Thread Greg Ercolano
On 02/08/12 09:50, Greg Ercolano wrote: >> Well, I guess the original code is in the public domain, so I imagine >> that'd be OK, though my "additions" might need a little tidying up as >> they might not be exhibiting the best fltk-way to do the things I >> added... > > I'll take a stab at a

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

2012-02-08 Thread Greg Ercolano
On 02/08/12 08:48, MacArthur, Ian (SELEX GALILEO, UK) wrote: >> If not in test/ then maybe in examples/ ? >> Opinions? I'd vote for 'test', since its probably a good opengl benchmark tool, considering it shows FPS. > Well, I guess the original code is in the public domain, so I im

Re: [fltk.general] Quick Screen Refresh

2012-02-08 Thread Greg Ercolano
> OK, I found my hacked-up gl_gears example - actually it's the glut one, > but anyway... converted to be fltk-ish. Wow, that's a fun demo. Think it'd be great for our test dir. I compiled + ran it on centos 5.6 with fltk 1.3.x current on an "old" intel Mac Mini with dual 1.8GHz,

Re: [fltk.general] why 0x0 not display black color

2012-02-08 Thread Greg Ercolano
On 02/08/12 01:34, MacArthur, Ian (SELEX GALILEO, UK) wrote: >> I use color(0x0) to set background color to black, but it display > white to me, > As you have been advised before, fltk-2 is deprecated, so support is > likely to be "fragmented" - you would do better converting to the > supported fl

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

2012-02-08 Thread MacArthur, Ian (SELEX GALILEO, UK)
> Great demo. Looks like we could add it somewhere to our demos. > If not in test/ then maybe in examples/ ? > Opinions? Well, I guess the original code is in the public domain, so I imagine that'd be OK, though my "additions" might need a little tidying up as they might not be exhibiting the bes

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

2012-02-08 Thread Albrecht Schlosser
On 08.02.2012 11:38, MacArthur, Ian (SELEX GALILEO, UK) wrote: > OK, I found my hacked-up gl_gears example - actually it's the glut one, > but anyway... converted to be fltk-ish. Great demo. Looks like we could add it somewhere to our demos. If not in test/ then maybe in examples/ ? Opinions? > I

Re: [fltk.general] Quick Screen Refresh

2012-02-08 Thread Shon Pritchett
> OK, I found my hacked-up gl_gears example - actually it's the glut one, > but anyway... converted to be fltk-ish. > > It was originally meant to run on the idle loop, and with this WIN32 box > that runs about 3,000 FPS. > > I've added an fl_timer aiming for 100 FPS, and on this box I get a > rock

Re: [fltk.general] Quick Screen Refresh

2012-02-08 Thread MacArthur, Ian (SELEX GALILEO, UK)
OK, I found my hacked-up gl_gears example - actually it's the glut one, but anyway... converted to be fltk-ish. It was originally meant to run on the idle loop, and with this WIN32 box that runs about 3,000 FPS. I've added an fl_timer aiming for 100 FPS, and on this box I get a rock-solid 64 FPS.

Re: [fltk.general] why 0x0 not display black color

2012-02-08 Thread Greg Ercolano
On 02/07/12 22:04, leowang wrote: > I have a question of set fltk color. > I use color(0x0) to set background color to black, but it display white to > me, and if I use color(0x01010100), the display is black, so why 0x > is not black in fltk? > my fltk version is 2.0, and my system's col

Re: [fltk.general] why 0x0 not display black color

2012-02-08 Thread MacArthur, Ian (SELEX GALILEO, UK)
> I have a question of set fltk color. > > I use color(0x0) to set background color to black, but it display white > to me, and if I use color(0x01010100), the display is black, so why > 0x is not black in fltk? > > my fltk version is 2.0, and my system's color bit 32bpp. As you have be