Manolo Gouy
0f4fa1633d
Changes brought in at r. 10046 make fluid crash when open or saving files with Fl_Native_File_Chooser
...
on the WIN32 platform.
The filter used by fluid "FLUID files \t*.f[ld]/n" makes Fl_Native_File_Chooser::parse_filter() crash.
The present changes TEMPORARILY avoid this crash, but r. 10046 changes should be closely reviewed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-30 13:39:09 +00:00
Pierre Ossman
e64a8e90e3
Follow up to earlier commit. Missed one reference to fixcursor.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-30 10:30:58 +00:00
Pierre Ossman
de2e11d743
Stop declaring fl_default_cursor as it no longer exists.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-30 09:40:33 +00:00
Pierre Ossman
0f75e7fdb2
The SGI 320 is obsolete since many many years, so remove this code
...
rather than try to port it to the new fancy cursor handling.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-30 09:39:57 +00:00
Manolo Gouy
a59a3d29ff
Fixed a menu-positioning problem where a menu window could appear on another screen
...
than where expected. Occurred when one screen has negative x coordinates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-28 12:29:51 +00:00
Manolo Gouy
a8d1251aaa
Mac OS: a borderless, non-modal window was not created properly.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10210 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-26 19:31:38 +00:00
Manolo Gouy
6ade2fde82
svn property changes.
...
-tThis line, and those below, will be ignored--
_M Fl_Copy_Surface.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10209 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-26 16:14:42 +00:00
Manolo Gouy
87fe066c29
It's probably better to also change SendMessage into SendMessageW
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10208 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-24 15:23:51 +00:00
Manolo Gouy
10caca062a
Fixed error when browsing for a directory and using a non-ascii starting directory.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10207 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-24 15:06:24 +00:00
Manolo Gouy
f7f820ed4c
Added const qualifier to remove compiler warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-23 17:17:05 +00:00
Manolo Gouy
5bc8825509
Since fl_cursor_wait.xpm is used only on Mac OS, draw it the Mac way.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-23 17:14:57 +00:00
Manolo Gouy
f60b8778f7
Removed non-standard allocation of variable-sized array on the stack.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-21 17:47:50 +00:00
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