Pierre Ossman
61e1b18f7b
Consolidate the Win32 init and cleanup code in to one place so
...
it's easier to keep track of it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-15 09:35:05 +00:00
Pierre Ossman
53888cf064
Get rid of the old IActiveIMMApp code as the newer code calls
...
fatal() if it cannot be loaded and is hence already required.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-15 09:31:46 +00:00
Pierre Ossman
e145df2165
Add methods to intercept low level system events.
...
This gives applications the means to handle some low level
integration with the system that might otherwise not be possible
without modifying FLTK itself.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10310 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-15 09:17:56 +00:00
Pierre Ossman
321fb4ed7a
Clean up Win32 message pump. The logic was a bit overly complex
...
with the double calls to PeekMessage() and the extra if clause.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10309 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-15 09:14:07 +00:00
Manolo Gouy
0356bd257c
Fixed compilation warning messages that Fl_PostScript_File_Device::start_job() hides an overloaded virtual function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10308 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-13 17:51:20 +00:00
Manolo Gouy
1b74551e9d
Removed ‘array subscript is of type char’ compilation warnings
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10307 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-13 17:04:20 +00:00
Manolo Gouy
eadd6e87f1
Removed several compilation warnings with OS X SDK 10.10
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-13 16:49:47 +00:00
Manolo Gouy
76418b352b
Allow compilation with SDK 10.10 and use new API to discover os version at runtime.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10305 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-13 14:29:53 +00:00
Manolo Gouy
6482acf15a
Allow compilation with SDK 10.10 and use new API to identify OS version at runtime.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10304 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-13 14:18:34 +00:00
Pierre Ossman
952369163f
Revert r3215. The original issue it "fixed" is no longer
...
reproduciable, and the change causes the wrong symbol to be
generated for Ctrl-minus. STR 264.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-12 12:38:07 +00:00
Albrecht Schlosser
8d2491544b
More documentation fixes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10302 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-12 09:51:55 +00:00
Albrecht Schlosser
7e6af270d0
Fix documentation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-12 09:12:15 +00:00
Albrecht Schlosser
21ae6c2903
Fix indentation and remove trailing white space.
...
This does not fully apply the FLTK coding standard, but makes it more
consistent in that indentation is done with tabs as much as possible.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10300 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-12 09:08:41 +00:00
Lauri Kasanen
2ac54f6aca
Fix Fl_Spinner never reporting changed().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-09 16:52:18 +00:00
Manolo Gouy
aecb3ac594
Fix for STR #3128
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10298 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-09 11:02:33 +00:00
Albrecht Schlosser
dd37bc2c12
Update dependencies
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 23:54:11 +00:00
Albrecht Schlosser
f459ecd82f
Fix documentaion typos and small errors.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 23:51:20 +00:00
Manolo Gouy
2af3261d51
Fixed typo ./FL/Fl_Plugin.H
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10295 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 16:55:46 +00:00
Manolo Gouy
9e8eba7818
Replaced Xutf8.H by Xutf8.h
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 16:48:53 +00:00
Manolo Gouy
c3d04a6c42
Added dependencies of Fl_PostScript.o
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10293 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 16:45:58 +00:00
Manolo Gouy
4f2790d793
Add Fl_PostScript.cxx to list of files compiled in libfltk for VisualC projects.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 16:16:58 +00:00
Manolo Gouy
11f55e80b3
Put Fl_PostScript.cxx in list of files compiled in libfltk rather than including it in Fl_Printer.cxx.
...
VisualC project files still need to be changed accordingly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 16:03:52 +00:00
Manolo Gouy
c7f0ee3bd0
Fix for STR #3130 where PostScript printing may fail when program modifies LC_NUMERIC of its locale.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 12:35:23 +00:00
Lauri Kasanen
3ce67eb594
Expose the INACTIVE flag in Fl_Widget similarly to other flags. STR #3122
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 08:55:49 +00:00
Manolo Gouy
3e0bb410f8
Handle deprecation with Mac OS 10.9 of SetFrontProcess(), GetCurrentProcess(), GetFrontProcess(), SameProcess().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-07 20:30:46 +00:00
Manolo Gouy
2031e30069
Added file src/Fl_sleep.cxx to list of files compiled in target fltk.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-07 16:52:44 +00:00
Albrecht Schlosser
267ba82aa5
Fix documentation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 23:42:18 +00:00
Albrecht Schlosser
23b6a36ff1
Remove doxygen note about changed interface in fltk 2.0
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10285 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 21:22:06 +00:00
Albrecht Schlosser
77d72b9ef8
Escape '%' in doxygen comment where needed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 20:57:30 +00:00
Greg Ercolano
1fefa174c9
Adding some parameter docs.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 20:27:39 +00:00
Albrecht Schlosser
6928a416e4
Enhance documentation of Fl_Menu_Item::value().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 19:03:43 +00:00
Lauri Kasanen
031a30a4b5
Bilinear div-by-zero fix
...
Probably temporary if this will be replaced with Roman's int version, but
better have it anyway.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10281 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 13:22:28 +00:00
Lauri Kasanen
8bc524ef27
Remove trailing comma in the last value of an enum, some compilers dislike it
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10280 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 09:31:53 +00:00
Lauri Kasanen
d3a8566cab
Move the ewmh_supported check into fl_fix_focus to avoid a double show() on new WMs
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10279 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 16:42:00 +00:00
Lauri Kasanen
523c657f2e
Robustness fix for the first window
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 13:14:16 +00:00
Lauri Kasanen
7ebbe0baf4
Add a two-window focus test
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 12:45:49 +00:00
Lauri Kasanen
005bfa4294
Fix cross-window focus throwing on X11, similar to the Mac case. STR #3129
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 12:33:35 +00:00
Lauri Kasanen
d1d203ca57
Add support for dragging to reorder in Fl_Tree, STR #2828 (I)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10275 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 12:04:28 +00:00
Albrecht Schlosser
d67f2e8e3e
Update dependencies.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 09:31:37 +00:00
Albrecht Schlosser
4cc2959be5
Fix a typo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10273 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 09:07:50 +00:00
Greg Ercolano
ce1ab7e1ce
Fixes to how new move() operations handle the concept
...
of 'above' and 'below' when referring to items instead
of index positions.
Small offsets needed due to how the arrays are scrolled
after a move operation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10272 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 02:59:00 +00:00
Greg Ercolano
107fc50e48
Solves STR #3127 .
...
Added to assist cand for his patch to solve RFE STR #2828 option (I).
o Add move() methods to Fl_Tree_Item.
o Add deparent()/reparent() methods
o Supporting methods added to Fl_Tree_Item_Array, and enhancement
to update_prev_next() to allow -1 option to create an orphan item
Added to Fl_Tree_Item:
* Fl_Tree_Item* deparent(int pos)
* int reparent(Fl_Tree_Item *newchild, int pos)
* int move(int to, int from)
* int move(Fl_Tree_Item *item, int op, int pos)
* int move_above(Fl_Tree_Item *item)
* int move_below(Fl_Tree_Item *item)
* int move_into(Fl_Tree_Item *item, int pos)
Added to Fl_Tree_Item_Array:
* int move(int to, int from)
* int deparent(int pos)
* int reparent(Fl_Tree_Item *item, Fl_Tree_Item* newparent, int pos)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-04 18:56:52 +00:00
Lauri Kasanen
0ed1e8e0f0
Small fix in the bilinear formula
...
After consulting Gimp again, the formula was missing a final divide. This
takes care of the 1:1 discrepancy.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-04 07:58:07 +00:00
Lauri Kasanen
e521c16ab3
Tweak the scaling() comment
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10269 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-03 19:24:42 +00:00
Lauri Kasanen
cce4cece01
Add bilinear scaling support. STRs #2869 and #3062 .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-03 11:00:56 +00:00
Albrecht Schlosser
105c2b466a
Update dependencies.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-03 10:24:11 +00:00
Albrecht Schlosser
3dbc495127
Remove 'register storage class deprecated' compiler warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-03 10:10:37 +00:00
Albrecht Schlosser
3f98f88156
Remove unused code and trailing white space.
...
The unused function was commented out about 6 months ago, see
svn r 10123. No changes other than comments and white space.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-03 10:07:33 +00:00
Manolo Gouy
8a675919fd
Removed file FL/Xutf8.h that moved to src/ and is X11-specific.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-02 09:28:36 +00:00
Manolo Gouy
1a7fcf0757
Fixed header/footer lines.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-02 09:15:08 +00:00