Manolo Gouy
0831d31b03
GTK file chooser: set correct current directory when selecting for a folder.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10203 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-20 15:40:50 +00:00
Manolo Gouy
37f77a271c
GTK file chooser: honor request of current directory for the file chooser.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10202 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-20 13:43:17 +00:00
Manolo Gouy
703045f5b1
Fixed a possible crash of the GTK file chooser.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-19 17:02:36 +00:00
Manolo Gouy
da5dff32ea
Sets the return type of Fl_Image_Surface::image() to its real value, Fl_RGB_Image.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-18 01:22:16 +00:00
Pierre Ossman
06ee4b9b14
Fix inverted logic. It's the even depth values that include alpha.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10199 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-17 11:13:55 +00:00
Pierre Ossman
776fd2a107
Make sure the XPM files define const char arrays to avoid
...
compiler warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16 13:58:42 +00:00
Pierre Ossman
f58b1a91b3
Add ability to set custom icons for windows. STR #2816 .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16 11:39:32 +00:00
Pierre Ossman
332dc1b7ac
Add method to set any custom cursor, based on a Fl_RGB_Image object.
...
Also change our fallback cursors to use this method, so that fallback
cursors are handled in a platform independent manner. STR #2660 .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16 11:17:57 +00:00
Pierre Ossman
b4013ef602
Make sure that modal and non-modal windows are at a higher level
...
than "normal" windows. This is mostly necessary when full screen
windows are present as those are raised to a higher level in order
to obscure the dock and main menu.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16 10:59:46 +00:00
Manolo Gouy
d55fac2243
After r.10119 calling Fl_Window::make_current() within a widget's draw function created errors.
...
This patch fixes that.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10194 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-15 18:45:32 +00:00
Manolo Gouy
700435ee0a
Fixed problem of upside-down text when compiling with SDK OS X 10.4
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10193 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-14 11:06:42 +00:00
Pierre Ossman
ed7983f5b5
Add ability to convert a Fl_Pixmap into a Fl_RGB_Image.
...
This is very convenient as a lot of other functions only accept
a Fl_RGB_Image. Adding this functionality also required a bit
of spring cleaning in the the drawing routines. STR #2659 .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-12 13:28:04 +00:00
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