[fltk.development] Linux distros distributing pre-release code?

2009-05-07 Thread Greg Ercolano
I just noticed this in fltk.bugs: Devid Antonio Filoni wrote: The fltk2 license is May 2001 but the fltk1.1 license is December 2001. The May 2001 license cannot be approved in Debian and so the fltk2 Debian package cannot be uploaded. Please change the license to December 2001

Re: [fltk.general] Double free or corruption error using fltk-1.1.9

2009-05-07 Thread Yuriy Shevchuk
Which fltk variant? Can you please be more specific? What does it mean fltk variant? I use FLTK 1.1.9. The use of lock() and unlock() imply that this is threaded code. Is it? Yep. My code is threaded. And I've compiled fltk with --enable-threads option

Re: [fltk.general] Fl_Table 3.13 new release

2009-05-07 Thread Greg Ercolano
Just added a document describing how to compile + link with Fl_Table: http://seriss.com/people/erco/fltk/Fl_Table/documentation/how-to-use.html I just snuck that into the 3.13 tar file today. My other projects have similar docs, but I guess I never got around to making one for

Re: [fltk.general] Double free or corruption error using fltk-1.1.9

2009-05-07 Thread MacArthur, Ian (SELEX GALILEO, UK)
Which fltk variant? Can you please be more specific? What does it mean fltk variant? I use FLTK 1.1.9. That is the answer to the question. Other valid answers might be fltk-1.3.x, fltk-1.1.6, fltk-2, etc... There are parts of my code below. Unfortunately you haven't really shown us

Re: [fltk.general] Double free or corruption error using fltk-1.1.9

2009-05-07 Thread Yuriy Shevchuk
main function program entry point - main.cpp This is inside the function int main(int argc, char **argv) ? If so, then it is the main thread. Yep. It is inside int main(int argc, char **argv). So I should assume my fltk thread as main thread.

Re: [fltk.general] Double free or corruption error using fltk-1.1.9

2009-05-07 Thread MacArthur, Ian (SELEX GALILEO, UK)
So I assume that my code should be: Fl::lock(); char str[32]; //do smth time2end-value(str); Fl::unlock(); Fl::awake(); if this code is in a subsidiary thread? Yes. Thanks for the help. I've launched new version of the project. I've changed Fl::flush() to Fl::redraw(). Why

[fltk.general] having the same colors in win/mac/linux (1.1.9)?

2009-05-07 Thread Jane
hola, the colors for my cross platform app are not cross-platform consistent because i the color palette in fluid is kinda different (at least for the grey shades) on all platforms. how can i make sure to have the exact same colors on all three platforms? i tried to put ...

Re: [fltk.general] having the same colors in win/mac/linux (1.1.9)?

2009-05-07 Thread Kai-Uwe Behrmann
Am 07.05.09, 11:08 -0700 schrieb Jane: how can i make sure to have the exact same colors on all three platforms? If you mean exact, you would have to take the output device specific ICC colour profile into account. So far I do not know of a toolkit delivering this abstraction. Most are

[fltk.general] Drawing contents of Fl_Scroll into a Image file

2009-05-07 Thread Alvin
Hello all, Anyone know how to draw the widgets contained in a Fl_Scroll into an image file? I have searched the fltk.general and found this thread: http://www.fltk.org/newsgroups.php?s1+gfltk.general+v39+T+Qcapture+widget+image; I've tried manipulating the example for my needs, but it's not

Re: [fltk.general] having the same colors in win/mac/linux (1.1.9)?

2009-05-07 Thread Jane
On 2009-05-07, Kai-Uwe Behrmann k...@gmx.de wrote: Am 07.05.09, 11:08 -0700 schrieb Jane: how can i make sure to have the exact same colors on all three platforms? If you mean exact, you would have to take the output device specific ICC colour profile into account. So far I do not know of a

Re: [fltk.general] Drawing contents of Fl_Scroll into a Image file

2009-05-07 Thread imm
That was a long (as in lng) thread about this, and several folk (but mainly me, to be honest) posted examples using Fl_Offscreen and similar - an example capturing the contents of a Fl_Group derived widget was here: http://www.fltk.org/newsgroups.php?gfltk.general+v:27400 Another, grabbing

Re: [fltk.general] having the same colors in win/mac/linux (1.1.9)?

2009-05-07 Thread Greg Ercolano
Jane wrote: i tried to put ... Fl::set_color(FL_BACKGROUND_COLOR, 192, 192, 192); Fl::set_color(FL_BACKGROUND2_COLOR, 255, 255, 255); Fl::set_color(FL_FOREGROUND_COLOR, 0, 0, 0); Fl::set_color(FL_SELECTION_COLOR, 191, 218, 255); Fl::redraw(); ... into the constructor of my main window

Re: [fltk.general] having the same colors in win/mac/linux (1.1.9)?

2009-05-07 Thread Greg Ercolano
Greg Ercolano wrote: If you DONT call Fl::args() or instead of win.show(argc,argv) use just win.show(), that will prevent the alternate colormap stuff I think. ..and if you are/were using eg. win.show(argc,argv), that might have been overriding your color settings.

Re: [fltk.general] having the same colors in win/mac/linux (1.1.9)?

2009-05-07 Thread Jane
On 2009-05-07, Greg Ercolano e...@seriss.com wrote: Greg Ercolano wrote: If you DONT call Fl::args() or instead of win.show(argc,argv) use just win.show(), that will prevent the alternate colormap stuff I think. ..and if you are/were using eg. win.show(argc,argv),

[fltk.general] vartical slider minimum maximum reversed?

2009-05-07 Thread Jane
(1.1.9) i use vertical sliders like volume faders. if i want the fader to range from -96db (bottom) to +10db (top) i have to set minimum to 10 and maximum to -96 in fluid. why is minimum the value for the sliders upper position and maximum for the lower? just curious :)

[fltk.general] XPM Window Icon not working in JWM (TinyCore Linux)

2009-05-07 Thread Michael Losh
Hello. I'm working on a small FLTK image viewer application for TinyCore Linux. I want to define a unique window icon, but the call to XpmCreatePixmapFromData() is failing. Here is the code I tried: Pixmap p, mask; p = 0; XpmAttributes xpm_attributes; int rc =

Re: [fltk.general] vartical slider minimum maximum reversed?

2009-05-07 Thread Greg Ercolano
Jane wrote: (1.1.9) i use vertical sliders like volume faders. if i want the fader to range from -96db (bottom) to +10db (top) i have to set minimum to 10 and maximum to -96 in fluid. why is minimum the value for the sliders upper position and maximum for the lower? Actually I