Re: [fltk.bugs] [MOD] STR #2873: Fl_JPEG_Image: when file not found, d() returns 3 instead of 0

2012-10-19 Thread Albrecht Schlosser
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2873 Version: 1.3-current Hmm, I believe this is not a bug. As you cited from the docs, If the image has loaded correctly, w(), h(), and d() should return values greater

Re: [fltk.bugs] [MOD] STR #2873: Fl_JPEG_Image: when file not found, d() returns 3 instead of 0

2012-10-19 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Active] Link: http://www.fltk.org/str.php?L2873 Version: 1.3-current OK: assigning this to myself and will solve in docs. A small bit of example code should remove any ambiguity: if ( img-w() = 0 ||

Re: [fltk.bugs] [MOD] STR #2873: Fl_JPEG_Image: when file not found, d() returns 3 instead of 0

2012-10-19 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2873 Version: 1.3-current It looks like /only/ Fl_JPEG_Image documents this behavior; the others (Fl_BMP_Image, Fl_Shared_Image, etc) don't. I'm going to try to

[fltk.commit] [Library] r9702 - in branches/branch-1.3: FL documentation/src src

2012-10-19 Thread fltk-dev
Author: manolo Date: 2012-10-19 02:23:05 -0700 (Fri, 19 Oct 2012) New Revision: 9702 Log: Documented the fl_fopen() utility function. Modified: branches/branch-1.3/FL/Fl_Native_File_Chooser.H branches/branch-1.3/documentation/src/osissues.dox branches/branch-1.3/src/Fl_File_Chooser2.cxx

[fltk.commit] [Library] r9703 - in branches/branch-3.0: documentation/src include/fltk3 src/fltk3

2012-10-19 Thread fltk-dev
Author: manolo Date: 2012-10-19 02:38:24 -0700 (Fri, 19 Oct 2012) New Revision: 9703 Log: Documented the fltk3::fopen() utility function. Modified: branches/branch-3.0/documentation/src/osissues.dox branches/branch-3.0/include/fltk3/NativeFileChooser.h

[fltk.commit] [Library] r9704 - in branches/branch-1.3: FL documentation/src src

2012-10-19 Thread fltk-dev
Author: manolo Date: 2012-10-19 04:23:51 -0700 (Fri, 19 Oct 2012) New Revision: 9704 Log: Documented the fl_open() utility function. Modified: branches/branch-1.3/FL/Fl_Native_File_Chooser.H branches/branch-1.3/FL/filename.H branches/branch-1.3/documentation/src/osissues.dox

[fltk.commit] [Library] r9705 - in branches/branch-3.0: documentation/src include/fltk3 src/fltk3

2012-10-19 Thread fltk-dev
Author: manolo Date: 2012-10-19 04:40:56 -0700 (Fri, 19 Oct 2012) New Revision: 9705 Log: Documented the fltk3::open() utility function. Modified: branches/branch-3.0/documentation/src/osissues.dox branches/branch-3.0/include/fltk3/NativeFileChooser.h

Re: [fltk.development] [RFE] STR #2874: Allow turning off Xft support without recompiling FLTK

2012-10-19 Thread Albrecht Schlosser
[STR Closed w/o Resolution] Link: http://www.fltk.org/str.php?L2874 Version: 1.3-feature Fix Version: 1.3-current RFE withdrawn by OP. Closed. Link: http://www.fltk.org/str.php?L2874 Version: 1.3-feature Fix Version: 1.3-current ___ fltk-dev

Re: [fltk.general] UTF8 filenames

2012-10-19 Thread Manolo Gouy
I am having a problem with drag and drop filenames in fltk2. Basically, it seems the strings I get are utf8 as they contain Spanish accents (and they show fine in any fltk window like fltk::alert). However, when I pass the string to fopen(), it fails to open the file. I'm wondering what is

Re: [fltk.general] UTF8 filenames

2012-10-19 Thread Gonzalo Garramuno
I presume you are using the MSWindows platform. I'm dealing with in Windows and Linux. I am using the boost::filesystem to check the existence of paths and in that it also fails so fltk_open only solves the issue partially. ___ fltk mailing list

Re: [fltk.general] UTF8 filenames

2012-10-19 Thread Manolo Gouy
I presume you are using the MSWindows platform. I'm dealing with in Windows and Linux. I am using the boost::filesystem to check the existence of paths and in that it also fails so fltk_open only solves the issue partially. There are also fl_access() and fl_stat() functions in FLTK 1.3

Re: [fltk.general] add or insert a widget

2012-10-19 Thread w . szukalski
Ian, I have found the solution. I have made some tests. One of these tests was the following program: int main(void) { Window *win = new Window(200,200); win-begin(); win-end(); win-show(); CheckButton *check = new CheckButton(50, 20, 25, 25); win-add(check); Input