Manolo Gouy
850bda435b
Removed processing of obsolete deadkey flag.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9882 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-15 13:34:46 +00:00
Manolo Gouy
4c97f14e88
Reduced the usage of global variables.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9878 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-15 11:00:24 +00:00
Greg Ercolano
5fda885c03
Switched to const_cast<> for calling as_window().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9876 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-12 18:40:00 +00:00
Greg Ercolano
f04ff44f8c
Small fixes to new top_window_offset() method as per discussion in STR #2948 .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-12 16:46:35 +00:00
Ian MacArthur
55af432c2c
fl_set_fonts_xft had a lower case, rather than upper case "S" in the switch so would not detect the SuperBold font style correctly.
...
Also, do a bit of defensive clipping of the generated font name, in case we run off the end of the name buffer (if the input font name is infeasibly long...!)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9874 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-12 09:52:31 +00:00
Greg Ercolano
9fc45db999
As per notes from STR#2948:
...
Moved top_window_offset() to being a member of Fl_Widget (was Fl_Window)
and moved its code near implementations of top_window() and window().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9872 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10 21:16:16 +00:00
Greg Ercolano
3fe3f24427
Solve STR#2948: Add new method Fl_Widget::top_window() to return the widget's top-level window.
...
Docs for existing Fl_Widget::window() revised to clarify the difference between these two methods.
Docs for window() also moved from .H -> .cxx as per CMP (docs should be where code implementation is).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9871 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10 20:51:24 +00:00
Greg Ercolano
936f01be5c
While suggesting a new top_window() method for STR#2948,
...
it's realized that for consistency, the recently added window_offset() method
(a few days ago) should be renamed to top_window_offset().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9870 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10 20:13:12 +00:00
Greg Ercolano
386b12b770
Fix STR# 2772: remove dead code in fl_measure()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-09 20:11:28 +00:00
Greg Ercolano
6bcd9390f8
Solves STR #2939 ; adding when() support to Fl_Tabs.
...
Also added a general Fl_Tabs code example to the docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9867 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-08 20:18:40 +00:00
Greg Ercolano
d5404dea25
Fix for STR #2944 [2]: Fix Apple-specifc nested window problem for Fl_Gl_Window's.
...
Added new method Fl_Widget::window_offset(x,y)
to access the top-level window offset of the current widget.
Open to alternative names for the new method.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-08 18:24:17 +00:00
Greg Ercolano
2a5d5aab30
Fix STR# 2944 [1]: When an app uses overlays and gl_draw(),
...
gl_draw() would mess up the raster position
affecting the Mac overlay emulation in swapbuffer code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9865 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-08 16:49:55 +00:00
Greg Ercolano
c3a84e475f
Small comment mods regarding Fl_mac.cxx -> Fl_cocoa.mm
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-06 16:35:05 +00:00
Greg Ercolano
a1672828b5
Removing Fl_mac.cxx -- this code is no longer used.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-06 16:31:35 +00:00
Manolo Gouy
a5ee07c420
File config.h is included with #include <config.h> in scandir.c as everywhere else.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9858 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-05 14:14:08 +00:00
Greg Ercolano
bbbde512e8
Code readability -- No logic was changed.
...
o Adjusted /*FALLTHROUGH*/ comments for clarity
o Added /* NOTREACHED */ comment for clarity
o Brace cosmetics
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9855 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-29 18:26:36 +00:00
Greg Ercolano
57df8e1b1a
Document Fl_Tabs::value()'s integer return value.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9854 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-29 04:36:51 +00:00
Greg Ercolano
ee0af8c6a7
Documenting the public methods Fl_Tabs::push()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-29 03:37:04 +00:00
Greg Ercolano
2aefc1f60c
Added docs for undocumented public 'which()' method.
...
Added a \todo marker for undocumented public 'push()' method.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-26 01:55:01 +00:00
Greg Ercolano
4f24b4cc65
Default behavior of table /without/ ABI mods is to follow strict rule
...
where Tab and Shift-Tab navigate off the table widget.
This enables the Tab key to work properly with:
o The test/table program; Tab can move focus to other input fields
o With the foo_v2.cxx example code in STR#2862, Tab can navigate
to/from the Fl_Input field
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-23 09:25:27 +00:00
Greg Ercolano
81c20e30a4
o Added tab_cell_nav() method to control Tab/Shift-Tab navigation of table cells.
...
o Added move_cursor(R,C,shiftflag). Needed allow Shift-Tab not to create a reverse selection.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-23 07:55:09 +00:00
Greg Ercolano
6ab7797f63
Added examples for Fl::option() methods
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-17 05:24:58 +00:00
Ian MacArthur
97916ba84a
Oops! Forgot to update the copyright date.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-06 22:17:44 +00:00
Ian MacArthur
8e789d61a3
This check-in brings in the simplified version of
...
Michael Baeuerle's patch to restore scandir like
operation on *nix like hosts that do not provide a
native scandir implementation, notably SunOS and
some others.
STR #2931 refers...
These changes are tested to have no effect on OSX,
Win32 or Linux systems, and indeed on any system that
has a working scandir implementation that configure
can detect.
Michael has released these changes to the fltk project,
and they are licensed under our usual conditons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-06 22:15:01 +00:00
Albrecht Schlosser
618eb31b20
Update version number in src/Makefile (STR #2932 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-28 23:16:27 +00:00
Manolo Gouy
dbae4f68c7
Introduced new Fl_Native_File_Chooser option USE_FILTER_EXT.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-19 15:25:17 +00:00
Manolo Gouy
3e7386137e
Introduced new Fl_Native_File_Chooser option USE_FILTER_EXT.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-19 15:19:58 +00:00
Greg Ercolano
8f8c52939e
Fixes STR#2930:
...
Applying Chris's patch to fix d+d of text selections from Firefox/Thunderbird -> FLTK.
Also applied Greg's fix for d+d of utf8 text in same use case.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-14 18:40:04 +00:00
Manolo Gouy
9ba6dd4a59
Mac OS Fl_Native_File_Chooser: when saving with multiple filters, changing the file type changes
...
the output file extension in the dialog window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-12 13:20:11 +00:00
Manolo Gouy
7f9e6ae829
Mac OS save file dialog: display extension of preset file.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-11 12:11:30 +00:00
Manolo Gouy
42cc953b0b
Mac OS text input: fixed processing of dead key followed by non-text key.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9817 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-09 13:54:58 +00:00
Manolo Gouy
914e7f9b09
Mac OS text input: removed the Fl::marked_text_length() function that's not necessary.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-08 11:58:19 +00:00
Manolo Gouy
b22744aac0
Mac OS text input: a single FL_KEYBOARD event is now sent when processing dead keys.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9812 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-02 15:46:00 +00:00
Manolo Gouy
49f8a3cfc9
Fix STR#2928: alt+e on US keyboard not processed correctly as shortcut on Mac OS.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-28 21:05:29 +00:00
Manolo Gouy
834c714f26
Mac OS: added support for internationalization of the application menu.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-25 16:28:49 +00:00
Manolo Gouy
9dc0f6016c
Fixed STR#2921 by adding 2 missing colons.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-21 09:25:25 +00:00
Manolo Gouy
b5a9c5218a
Mac OS: changed memory allocation style of static NSBitmapImageRep* rect_to_NSBitmapImageRep().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-20 16:54:23 +00:00
Manolo Gouy
161bdb8973
Mac OS: fixed a crash when printing window with OS 10.5
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-19 14:07:34 +00:00
Manolo Gouy
511c14e47d
Mac OS: fixed processing of system menu shortcuts that had been partly damaged in r.9799,
...
and fixed application menu with OS <= 10.3 that was duplicated.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-19 09:49:33 +00:00
Manolo Gouy
b08f91e529
r.9800 was a bad move; going back.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-18 17:12:39 +00:00
Manolo Gouy
a0ef82b7dc
Simplification of the - (BOOL)[FLView performKeyEquivalent:(NSEvent*)theEvent] method.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-18 16:34:58 +00:00
Manolo Gouy
81da29ff12
Mac OS: reorganized the text input handling code. Added a detailed description of what the code does
...
for this rather complex issue in comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-17 17:40:53 +00:00
Manolo Gouy
e1ddb7952a
Removed compilation warnings with old Mac OS SDKs
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9798 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-16 15:25:39 +00:00
Manolo Gouy
6e880cee6a
Allow compilation with early Mac OS versions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9795 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-16 08:45:35 +00:00
Manolo Gouy
9e67096dbb
Mac OS: added support for the text input feature introduced in OS 10.7 "Lion" where pressing and holding
...
some key opens a window with possible accented characters: added [NSView windowLevel] useful for
fullscreen windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-14 09:07:34 +00:00
Manolo Gouy
482c4a5e0a
Mac OS: added support for the text input feature introduced in OS 10.7 "Lion" where pressing and holding
...
some key opens a window with possible accented characters. This feature is used by the Fl_Input_ and
Fl_Text_Editor widgets. User-defined text input widgets can optionally use this feature, but the default
behavior is to not use it. Fl_Secret_Input turns it off, for example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-13 15:25:37 +00:00
Manolo Gouy
e042966ae7
About the fix for a problem apparent with the "cube" test program:
...
if the cube window is moved around rapidly, the GL pixels leak away from where they should be.
This problem no longer occurs with Mac OS 10.7 and above. The fix is thus made effective
only when OS < 10.7.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9790 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-10 08:57:19 +00:00
Manolo Gouy
57771e16fd
Fix STR#2915 where subwindow stayed hidden after hide() and then show().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-08 21:06:29 +00:00
Manolo Gouy
31e49fcf12
Mac OS: divided the FLDelegate object in two objects, FLWindowDelegate and FLAppDelegate.
...
This might help mixing FLTK and other window-creating systems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-07 15:56:14 +00:00
Manolo Gouy
0c6ad247dd
Display the moving insertion point when doing drag&drop to an Fl_Text_Display widget from the widget itself.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-29 11:58:49 +00:00
Manolo Gouy
d879e4b2e8
Added support for JIS (Japanese) keyboards under Mac OS X.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-26 19:44:56 +00:00
Manolo Gouy
28a85d27e9
Mac OS text input: corrected processing of arrow keys during character composition.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-26 14:02:59 +00:00
Manolo Gouy
a4c021e595
Repaired Fl_PostScript_Printer::start_job() that didn't work well when its 1st argument was 0
...
to indicate unknown number of pages.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9775 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-25 21:18:12 +00:00
Manolo Gouy
cf672dba0d
Mac OS text input: defined a small API that user-defined text editing widgets can use to signal marked text.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-24 11:45:07 +00:00
Manolo Gouy
3c72b20458
Handle special case for multiline input with 'old tab behavior' where tab is entered as a character:
...
didn't work when selection had been done with ctrl-A.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-24 04:06:46 +00:00
Manolo Gouy
d7a5f3f04a
Mac OS text input: corrected minor issue when text widget is in a subwindow (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-20 16:00:04 +00:00
Manolo Gouy
4ab7e91c61
Mac OS text input: corrected minor issue when text widget is in a subwindow.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9770 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-20 15:12:32 +00:00
Manolo Gouy
7ab1a8b204
Mac OS text input: marked text is now underlined.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-19 08:50:34 +00:00
Manolo Gouy
81c98f228b
Removed compilation warning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-18 16:06:56 +00:00
Manolo Gouy
fd2cc45334
Mac OS text input support: Last change in Fl_Text_Display useless because HIGHLIGHT_MASK
...
is not used anymore for marked text..
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-18 14:54:08 +00:00
Manolo Gouy
a59ec3744d
Mac OS text input support: use primary selection for marked text in Fl_Text_Display + some reformatting.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-18 14:24:07 +00:00
Manolo Gouy
46abc078b4
Mac OS: improved text input support with visible display of marked text in text widgets.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-17 17:44:15 +00:00
Manolo Gouy
3eb27ccf3e
Mac OS text input: set marked text as selected in text widgets so user is aware of it.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-16 16:04:02 +00:00
Manolo Gouy
558812966c
Mac OS text input: handle modifier keys after dead key.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9758 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-16 10:19:49 +00:00
Manolo Gouy
05d20db147
Mac OS text input: Fl::compose_state is a number of bytes (not of characters).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9757 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-15 22:03:55 +00:00
Manolo Gouy
22b4198e45
Mac OS: fixed [FLView keyDown:] for OS 10.3
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-15 14:19:42 +00:00
Manolo Gouy
5a054cd1b3
Mac OS: fixed [FLView keyDown:] for OS ≤ 10.5
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9754 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-14 23:36:59 +00:00
Manolo Gouy
9a2467ebc5
MacOS: towards implementing the NSTextInput protocol to support the text input management system (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9753 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-14 21:29:45 +00:00
Manolo Gouy
1e4165ee7b
MacOS: towards implementing the NSTextInput protocol to support the text input management system.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9752 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-14 08:36:13 +00:00
Albrecht Schlosser
da9c3af38a
Fixed access of protected member (STR #2903 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-12 17:27:23 +00:00
Manolo Gouy
466cf80f6f
Properly Doxygen-comment fl_beep() and the associated enumeration.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-11 17:06:41 +00:00
Manolo Gouy
dc65e2f3fa
Fixed warnings with Doxygen 1.8
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-09 17:45:24 +00:00
Albrecht Schlosser
3b8e4b9e9c
Removed unnecessary drawing calls (STR #2898 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-07 16:29:49 +00:00
Greg Ercolano
384532c5c2
Fixes for Manolo's reopen of STR#2886.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-05 17:17:31 +00:00
Manolo Gouy
4b6613cbd2
Fix STR #2890 : MacOS unbundled applications don't appear in dock nor menu bar (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9734 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-30 18:20:36 +00:00
Manolo Gouy
4b3855f8c5
Fix STR #2890 : MacOS 10.8 unbundled applications don't appear in dock nor menu bar
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-21 11:37:57 +00:00
Manolo Gouy
c5baa8dac3
Removed useless tests of whether unsigned Fl_Color is < 0
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-20 12:29:46 +00:00
Manolo Gouy
98d5dd690d
Mac OS: make clear that image capture from screen returns an image in premultiplied RGBA format (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-17 14:57:55 +00:00
Manolo Gouy
9adccd6df6
Mac OS: make clear that image capture from screen returns an image in premultiplied RGBA format.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-15 12:28:29 +00:00
Manolo Gouy
302200668b
Fixes STR #2887 : Fl_Scroll widget fails under Mac OS X 10.8 on MacBook Pro with retina display.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9721 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-15 08:30:44 +00:00
Greg Ercolano
272514cebf
Fixes STR#2886: prevents scrollbars from drawing
...
when widget is sized too small to be visible.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-13 21:29:12 +00:00
Manolo Gouy
674b2475b9
Documentation: repair some instances of documented functions that did not appear in the index.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9719 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-13 14:45:42 +00:00
Manolo Gouy
82878a7225
Fix a Mac OS bug appeared with OS X 10.8: when a file is dragged on the application icon,
...
a delay of several seconds occur until the first application window opens (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-13 09:34:54 +00:00
Manolo Gouy
e8f8434054
Fix a Mac OS bug appeared with OS X 10.8: when a file is dragged on the application icon,
...
a delay of several seconds occur until the first application window opens.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-12 15:57:39 +00:00
Manolo Gouy
73069f9fdb
Fix STR#2884: Fl_PNG_Image made from static memory will forget share name (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-10 09:01:16 +00:00
Manolo Gouy
54d5327958
Fix STR#2884: Fl_PNG_Image made from static memory will forget share name
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-10 08:31:35 +00:00
Manolo Gouy
cff8941836
Fix STR#2881: the new static function Fl_RGB_Image::max_size(size) allows to control the maximum
...
memory size allowed when creating an Fl_RGB_Image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9709 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-09 16:02:08 +00:00
Matthias Melcher
8701434312
Upgrade version number to 1.3.1
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06 21:13:54 +00:00
Matthias Melcher
78039ecb55
Replaced 10302 with 10301 for FLTK_ABI_VERSION
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06 20:46:14 +00:00
Manolo Gouy
00ed897277
Documented the fl_open() utility function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9704 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-19 11:23:51 +00:00
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
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
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
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