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
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 ||
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
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
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
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
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
[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
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
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
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
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
12 matches
Mail list logo