Pierre Ossman
5e9624286a
canBecomeMainWindow() is not absolutely necessary, but it makes
...
the window decorations behave better by properly graying out windows
that will have their input stolen by a modal one.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-11 14:12:29 +00:00
Pierre Ossman
7057e56c28
Behave better when it comes to modal windows. Primarily this
...
makes sure that windows are decorated better when a modal window
is active. STR #2802 .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-11 14:09:28 +00:00
Pierre Ossman
0cfc2554c6
Support for full screen over multiple monitors.
...
The API follows that of EWMH, which gives you a good control
over which monitors to use.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-11 09:10:53 +00:00
Pierre Ossman
f27bde8316
Windows' clipboard chain is a very fragile thing that can
...
easily break if an application misbehaves and/or crashes.
So to minimise risk, don't register ourselves unless we
really need to.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-10 14:23:46 +00:00
Pierre Ossman
6944612e56
We are required to pass along WM_CHANGECBCHAIN messages to the
...
next window in order for the chain to properly update.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-10 14:21:26 +00:00
Manolo Gouy
baebff2227
STR #3088 : make Fl_Native_File_Chooser use the standard GTK file dialog when available.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-07 12:01:59 +00:00
Ian MacArthur
460544455d
Another stab at STR #3090 .
...
Now, instead of just ignoring the scrollwheel
events, I try to make the scene zoom in/out
in response to the wheel instead.
Seems to be working; not sure I have the
zoom sensitivity set to a sensible avlue, though!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10185 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-06 21:46:42 +00:00
Ian MacArthur
63b5ee9ef1
Tweak fracviewer.cxx to ignore mousewheel inputs,
...
which were confusing it and making it sometimes
unresponsive to mouse left or middle button drag
inputs...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-06 12:30:38 +00:00
Greg Ercolano
547570fca6
Fixes STR#3089; some UI fonts too large on linux.
...
See image attachment included with the STR.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10183 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-05 05:05:19 +00:00
Greg Ercolano
0c085703f6
Clarification for need to return 1 from FL_FOCUS et al
...
to receive keyboard events.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-04 23:21:10 +00:00
Manolo Gouy
e3959bbaff
Fixed D&D to FLTK broken by recent commits.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10181 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-01 17:21:37 +00:00
Manolo Gouy
9b79cb89f7
Fixed source formatting error.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-01 07:20:03 +00:00
Manolo Gouy
50405942b5
Restore D&D of filenames that was broken in recent commits.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-01 07:17:15 +00:00
Manolo Gouy
44a1407ba2
Improved documentation of enum Fl_Native_File_Chooser::Option.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10178 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-31 08:22:34 +00:00
Manolo Gouy
95b8282edb
Removed -Wuninitialized compilation warning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-30 05:57:00 +00:00
Manolo Gouy
44c2ca6521
Fl::clipboard_contains(): handle now properly the case when there's nothing in the clipboard.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-29 15:28:04 +00:00
Manolo Gouy
67f3c4cc82
Avoid crash when XftFontOpenPattern() returns NULL.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-29 13:28:55 +00:00
Manolo Gouy
1cd5e78946
Reflects changes in the list of test programs.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-26 09:05:57 +00:00
Manolo Gouy
90ba43b16c
Reset file header and footer.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 16:29:39 +00:00
Manolo Gouy
b8cc8eb48d
Reset file header and footer.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 16:21:46 +00:00
Manolo Gouy
454fb25fa5
Reset file header and footer.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 16:19:30 +00:00
Manolo Gouy
7d6f41728a
Reset file header and footer.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10170 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 16:13:06 +00:00
Manolo Gouy
cb23b06729
Added new source files Fl_Copy_Surface.cxx & Fl_Image_Surface.cxx to visualC2010
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 14:28:58 +00:00
Manolo Gouy
9c6006ac6f
Added new source files Fl_Copy_Surface.cxx & Fl_Image_Surface.cxx to visualC2008
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 14:28:06 +00:00
Manolo Gouy
c92b953db2
Added new source files Fl_Copy_Surface.cxx & Fl_Image_Surface.cxx to visual c 6
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10167 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 14:11:22 +00:00
Manolo Gouy
9648a51d67
Added new source files Fl_Copy_Surface.cxx & Fl_Image_Surface.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10166 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 06:17:12 +00:00
Greg Ercolano
e0c747ee0b
1) Add descriptive tooltips to widgets in 'scheme' test.
...
2) Changed Fl_Scrollbar to show a 50% tab, so that the
"///" scrollbar tab decorations are visible when the
gtk+ scheme is enabled.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10165 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 02:59:19 +00:00
Greg Ercolano
b04ec356b3
Added as per RFC on fltk.coredev 05/23/2014.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10164 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 23:32:27 +00:00
Manolo Gouy
ecb31ba5e8
Removed compilation warning about signed/unsigned comparison.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 21:19:29 +00:00
Manolo Gouy
2b2f0c43eb
Updated after addition of Fl_Copy_Surface and Fl_Image_Surface classes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10162 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 21:12:38 +00:00
Manolo Gouy
8b62acc266
Added required #include <time.h>
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 18:27:55 +00:00
Manolo Gouy
423ef813f0
Removed compilation warning of signed/unsigned comparison.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10160 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 17:03:08 +00:00
Manolo Gouy
07dd8ba328
Added copy/paste from/to FLTK applications of graphical data.
...
Added Fl_Image_Surface class to draw into an Fl_Image object.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 16:47:21 +00:00
Manolo Gouy
85af2efe09
Simpler definition of the fl_create_offscreen() macro on the X11 platform.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10158 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 16:00:25 +00:00
Greg Ercolano
1b1f02a365
Fix STR #3086 , missing virtual dtor when ABI >= 10303.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-22 15:38:27 +00:00
Manolo Gouy
dd2b095f87
Fix STR#2995: make FLTK robust to bad .xpm files
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10156 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-22 12:11:17 +00:00
Manolo Gouy
94d86bba5c
Removed compilation warning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 14:12:04 +00:00
Ian MacArthur
3cccaf83c1
Attempt pt fix keywords property on Fabien's
...
new Fl_sleep file, it seems to have been missed
of from the intial commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10154 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 11:00:37 +00:00
Greg Ercolano
d828af06fe
Adding editor screenshot with line# feature enabled.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10153 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 06:59:56 +00:00
Greg Ercolano
46521bf437
Implements STR #2621 : Add line numbers to Fl_Text_Display.
...
Applied LZA's patch and included some mods to address TODO items and ABI issues.
Also update CREDITS with LZA and a few other notably absent names.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 06:56:59 +00:00
Fabien Costantini
cb0f80cde7
Updated XCode 3+4 project files with new Fl_sleep.cxx file.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 04:24:05 +00:00
Fabien Costantini
54b0123eab
Added a new portable sleep API(ABI compatible). Now features a flexible multi-usage sleep() api accepting decimals, msleep() for millisecs only, usleep() for microsecs. Updated Makefiles, cmakefiles, vs2008, vs2010 with the new Fl_sleep add-on. Documented new API. still needs to be added in Xcode.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 04:10:12 +00:00
Greg Ercolano
2c820fd53d
Fixes for STR#3085; fluid UI layout clipping issues.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-17 20:46:25 +00:00
Greg Ercolano
4c301eb6f9
Small template panel widget positioning/sizes
...
to prevent labels clipping (on linux).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10148 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-17 18:43:11 +00:00
Greg Ercolano
17b3cb59cd
Removed stale easysw.com info (easysw.com is apparently now a spam site)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10147 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-12 17:42:41 +00:00
Manolo Gouy
b6703eb58f
Fix for STR#3079 (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-04 14:04:52 +00:00
Manolo Gouy
1882f90a94
Removed compilation warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10145 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-04 13:46:09 +00:00
Manolo Gouy
f8852ab51d
Fix for STR#3079 (WIN32 only).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10144 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-03 12:19:39 +00:00
Ian MacArthur
315fcfa57a
Remove use of the macro min() from fl_gleam code, since it triggers redefinition warnings on some build hosts.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10143 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-02 09:13:29 +00:00
Manolo Gouy
b6049a3ef4
Fix STR#3039.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-02 06:41:01 +00:00