Manolo Gouy
406bafecc6
Documented the fl_fopen() utility function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-19 09:23:05 +00:00
Manolo Gouy
702b452540
Fix STR#2857: screen_xywh() mouse pointer functions may initially return wrong data.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-18 12:56:31 +00:00
Manolo Gouy
9788ee6709
Fix STR #2859 : after a window resize refused by the window manager, the window becomes freezed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-16 15:35:34 +00:00
Manolo Gouy
d277fa4a2f
Use the function Fl_Menu_Item::argument(long) where it's useful.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-08 10:32:05 +00:00
Manolo Gouy
5e5fb530a2
Fix for STR#2877: try to load libXrandr.so.2
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-04 17:08:23 +00:00
Manolo Gouy
91a300f6b6
Added missing use of NSAutoreleasePool object in calc_mac_os_version().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-28 08:07:47 +00:00
Manolo Gouy
74496aa2cc
Removed several deprecation warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-27 12:49:39 +00:00
Manolo Gouy
6ec40d3676
Removed deprecation warning for FSCompareFSRefs().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-26 14:34:02 +00:00
Manolo Gouy
e59cab29d3
More accurate documentation of when the PostScript graphics driver uses vectorial fonts.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9683 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-20 11:23:38 +00:00
Greg Ercolano
9ddc9f70a8
Changed example code to make widths[] array static, as per
...
problems reported in fltk.general thread on or around 09/12/12 ("Subject: Fl_Browser columns")..
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-17 22:44:54 +00:00
Manolo Gouy
7ee7973040
Fix for bug described in fltk.development "fl_scroll not copying all channels on OS X"
...
http://www.fltk.org/newsgroups.php?s13117+gfltk.development+v13134+T0
Sending the CGImage message to an NSBitmapImageRep object seems to be the solution
when Mac OS X >=10.5.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-17 09:00:22 +00:00
Manolo Gouy
703d78c4b0
Fixed CMake use for Mac OS and the scandir() function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-13 14:19:01 +00:00
Manolo Gouy
660a9ac0aa
Fix STR #2868 : removed file cmap.cxx from list of components of the fltk target
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-30 16:07:22 +00:00
Albrecht Schlosser
9f350c654f
Remove more (Windows only) compiler warnings, similar to:
...
... deleting object of polymorphic class type 'FLDropTarget' which has
... non-virtual destructor might cause undefined behaviour
... [-Wdelete-non-virtual-dtor]
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-18 11:32:50 +00:00
Albrecht Schlosser
228e5a0dc2
Silence compiler warning: "... may be used uninitialized ..."
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-18 10:47:48 +00:00
Manolo Gouy
5fab123cd1
Corrected typo in doc.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-17 09:18:06 +00:00
Matthias Melcher
4a198a941c
STR 2858: include statements were wrong
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9670 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-16 21:48:25 +00:00
Matthias Melcher
d751db12ff
STR 2711: another try at fixing the text position in Menu_Button. The label does move a little bit to the left, so it may be necessary to make these buttons larger for long text. It does reduce the risk of overlapping text though.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-16 21:35:14 +00:00
Matthias Melcher
590c315081
STR 2730: avoid putting widgets into the delete list twice
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9666 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-16 20:59:36 +00:00
Manolo Gouy
fdb8fdfb2a
Mac OS X: don't use the HAVE_SCANDIR_POSIX preprocessor variable because it has an
...
OS version-dependent value.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-14 09:23:22 +00:00
Matthias Melcher
4c11d57da7
OS X: fixed compilation on Xcode 4.4. Removed SDKROOT dependency on 10.6
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-06 08:16:37 +00:00
Manolo Gouy
bf6024175d
Fixed compilation under Mac OS X 10.8 "Mountain Lion".
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-01 08:43:20 +00:00
Greg Ercolano
71a2e6dd32
Doc fixes for resize() and fullscreen_off():
...
added variable names to prototypes so doxygen will doc them properly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-26 00:40:37 +00:00
Greg Ercolano
dd966cb135
Doc fixes for Fl_Window::size_range().
...
Fixes STR#2863.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-26 00:30:25 +00:00
Matthias Melcher
4e0bc49713
Fixed fl_utf_strncasecmp etc.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-24 19:49:37 +00:00
Matthias Melcher
398acd9c2a
STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-24 04:37:22 +00:00
Greg Ercolano
e607c90877
Added docs to Fl_Sys_Menu_Bar to refer to fl_mac_set_about().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-23 15:31:38 +00:00
Albrecht Schlosser
ba8fd78d6b
Fix cast using both (unsigned char) and (int) to make sure that
...
char values > 127 are *positive* int's. (STR #2726 )
--This line, and those below, will be ignored--
M fluid/Fl_Type.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-14 18:31:43 +00:00
Manolo Gouy
88793e46cb
Correct a dead URL in code comments.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-28 08:38:14 +00:00
Greg Ercolano
4b80dde748
Imported Walter Garms' comments re:BIF_SHAREABLE from the
...
./TODO file that came with the original version of FNFC.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-26 07:03:46 +00:00
Manolo Gouy
cbcf0c9312
Fixed STR #2644 : support horizontal wheel movement under X11 and MSWindows.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-21 08:52:29 +00:00
Manolo Gouy
27e406f751
Mac OS: some optimization of timer objects + code reordering.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-16 08:49:52 +00:00
Manolo Gouy
51ca904eb3
Mac OS: improved Fl::repeat_timeout() so the next scheduled timeout is counted from the previous one.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-15 15:08:17 +00:00
Manolo Gouy
a413dd4340
Fix STR#2856: extend the fullscreen demo to show screen and work area sizes (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-14 15:09:46 +00:00
Manolo Gouy
483d064559
Fix STR#2856: extend the fullscreen demo to show screen and work area sizes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9604 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-14 14:36:11 +00:00
Manolo Gouy
c0e01b24da
Mac OS: added necessary fl_open_display() in Fl::y() and Fl_X::screen_work_area() functions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9602 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-14 12:41:19 +00:00
Manolo Gouy
25bfd177ef
Fix STR#2855: improved detection of screen configuration changes under X11
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9600 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-14 08:36:43 +00:00
Greg Ercolano
adf9aff218
Removed errant D=0 docs that were not relevant to Fl_RGB_Image (thanks manolo).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-13 17:47:03 +00:00
Greg Ercolano
8116b1d6cb
Improved docs for Fl_RGB_Image() ctor.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-13 13:13:40 +00:00
Manolo Gouy
f656c0627c
Mac OS: improved behavior when unhiding an application with minimized windows.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9592 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-13 10:46:53 +00:00
Greg Ercolano
1e9a7ae21d
Removed unused argument..
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-12 18:32:36 +00:00
Manolo Gouy
3ce92f408f
Fixed STR#2848: Mac OS: close putative memory leak when detaching child threads.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-12 15:36:33 +00:00
Manolo Gouy
25b66914d5
Document that the dropping of filenames under X11 produces a URL-encoded, UTF_8 string.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-10 12:33:04 +00:00
Manolo Gouy
2e2e637c2f
Added declaration of fl_decode_uri(char*) to filename.H.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-10 09:38:29 +00:00
Manolo Gouy
3c87a80279
Added function fl_decode_uri(char*) to support the drag-and-drop of files to FLTK widgets
...
on the X11 platform (see STR#2849).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-10 09:24:33 +00:00
Fabien Costantini
145b44110b
Minor comments formatting discrepancies fix.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9573 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-06 03:38:02 +00:00
Manolo Gouy
0cfd9a1a23
button demo program: use fl_beep() function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9570 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-02 08:59:45 +00:00
Manolo Gouy
7fadd473af
Fix STR#2846: revert CMakeLists.txt as before libpng upgrade
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-29 14:08:40 +00:00
Greg Ercolano
df5c8cc76f
Fixed some keynav problems:
...
No focus, hitting down would skip first item
Enter key to toggle was falling through to other widgets
Removing an item that has focus clears item focus (to prevent wild ptr)
Added new methods:
Fl_Tree::get_item_focus()
Fl_Tree::first_visible()
Fl_Tree::last_visible()
Fl_Tree::is_vscroll_visible()
Simplified + fixed Fl_Tree_Item::next_displayed()
Fixed Fl_Tree_Item::visible_r(), was skipping item if it was a closed branch.
tree demo: fixed button ordering for "Test Suggestions" button
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-29 13:34:39 +00:00
Greg Ercolano
3bcc267052
Mac only: centered down arrow for mac.
...
This helps user's clicking accuracy;
clicks on lower part of the down arrow's geoemtry was being missed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-28 19:13:07 +00:00