Albrecht Schlosser
8e19bc8c6d
CMake: fix a few typos.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-06 16:01:14 +00:00
Ian MacArthur
e402a64457
Add some doxygen descriptions for the (previously undocumented) Fl_Multi_Label struct, and make some minor related adjustments to the docs for Fl_Label and Fl_Labeltype.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-04 13:12:43 +00:00
Albrecht Schlosser
84f87addfc
Add method Fl_Widget::is_label_copied() as discussed in fltk.general.
...
Thread was: "How get X,Y,W,H for current clip region ?" on Feb 2-3, 2015.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-03 12:19:01 +00:00
Manolo Gouy
f3cd33bb91
Fixed crash when resizing a not yet shown() Fl_Gl_Window.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-03 07:48:42 +00:00
Albrecht Schlosser
eebda637fa
Fix Linux/Unix potential program hang when dialog pops up while a menu is open (STR #3179 ).
...
This patch does not fix all issues though. The hang does not happen
anymore, but with some WM's the dialog can show up underneath the menu.
This needs more investigation, but this fixes the more important issue.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-02 17:55:22 +00:00
Manolo Gouy
62ed929ea5
Removed small memory leak.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-02 14:09:04 +00:00
Manolo Gouy
5017171db8
Replace gl_xxx() function names by new member functions of the Fl_X class to avoid
...
collisions with user-defined symbols.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-02 13:08:51 +00:00
Manolo Gouy
f8ee30ef74
Restores the Doxygen doc of the Fl_PostScript_Graphics_Driver class that had been hidden by r.9980 by mistake.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-02 09:46:32 +00:00
Albrecht Schlosser
a02e892b01
Improve test/boxtype demo program to help boxtype debugging.
...
(1) Set window title to reflect current scheme.
(2) Add class BoxGroup to show a red frame around each box
and/or a white box background.
Both features are disabled though. Edit the source file to enable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-31 15:43:53 +00:00
Manolo Gouy
8887600f5f
Improved Mac OS X Fl_Gl_Window resizing: the GL scene was drawn twice at each resize operation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-31 15:08:31 +00:00
Albrecht Schlosser
22b4288c23
Fix potential buffer overflow (Windows: BEX64 error) and home dir (STR 3166).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-31 12:09:24 +00:00
Albrecht Schlosser
b7be893f38
Fix gleam boxtypes (STR #3183 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10543 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-31 01:22:09 +00:00
Albrecht Schlosser
a26f08bb61
Use Fl::is_scheme() where appropriate.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-29 16:56:12 +00:00
Albrecht Schlosser
01296095a6
Remove superfluous #include <string.h> - strcmp() is not used anymore.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10541 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-29 16:07:05 +00:00
Albrecht Schlosser
fdec4f65d6
Use Fl::is_scheme() in src/Fl_Tree_Prefs.cxx.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-29 15:56:56 +00:00
Albrecht Schlosser
c57ce6d909
Add missing gleam boxtype definitions from Dmitrij's oxy patch (STR #2675 ).
...
I don't know if there's a better source, but this does at least fill the gap.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-29 13:37:13 +00:00
Albrecht Schlosser
f5e9bf5087
Fix comments, trailing white space, and trailing commas in comments.
...
Note: there are no code changes in this commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10538 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-29 13:14:59 +00:00
Manolo Gouy
51edb7c9dd
Back to previous statement that FLTK does not use RTTI.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10537 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-28 17:10:43 +00:00
Manolo Gouy
64ffd414d6
Stop using dynamic_cast when performing text drag (Mac OS only).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-28 17:05:29 +00:00
Manolo Gouy
b8b89178da
Clarified that RTTI is used on the Mac OS X platform to perform text dragging better.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10535 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-27 17:49:17 +00:00
Manolo Gouy
00f66de2cd
Restore compilability with Mac OS X SDK 10.4u
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-24 17:37:58 +00:00
Manolo Gouy
ed547c6c63
Simpler coding of the half-pixel offset necessary when clipping to a rectangle.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-24 12:54:21 +00:00
Manolo Gouy
6f022c4d95
It is necessary to call fl_cgrectmake_cocoa() when building the clipping rectangle for a sub-window,
...
as for any clipping rectangle.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10532 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-23 10:14:09 +00:00
Manolo Gouy
2d264fa8d5
A few comment changes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-22 17:45:09 +00:00
Manolo Gouy
1b00cc8e21
Make sure subwindows don't leak out of their parent windows.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-22 12:32:11 +00:00
Manolo Gouy
bbd7d9cb59
Have Fl_Paged_Device::print_window() print window title bars with rounded angles under Yosemite also.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-21 12:09:50 +00:00
Manolo Gouy
18f5d4e309
Removed erroneous statement from Doxygen doc of class Fl_Copy_Surface.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-20 09:05:10 +00:00
Manolo Gouy
eb33a418d5
Avoid potential crash if Fl::focus() returns NULL.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-19 14:41:32 +00:00
Manolo Gouy
4e53b4f616
Documented how it is possible to change the default paper size for a printer on the Unix/Linux platform.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-19 14:16:18 +00:00
Manolo Gouy
07eaf2810a
Added version information to Doxygen comments.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-19 13:14:15 +00:00
Manolo Gouy
b079e52ada
Mention that class Fl_Gl_Window now uses cocoa rather than the deprecated AGL on the Mac OS X platform.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10524 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-19 13:00:53 +00:00
Manolo Gouy
c9782669c0
Ignore text input methods when the focus is to an Fl_Gl_Window.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-19 12:27:37 +00:00
Manolo Gouy
365c1524c0
Fix possible crash when calling Fl_Window::resize() on a non-mapped sub-window.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-16 10:28:36 +00:00
Manolo Gouy
7ad5091dbc
Corrected one comment and added one.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-16 07:24:11 +00:00
Manolo Gouy
af42e3cd5f
Fixed Fl_Window::resize() on Mac OS because program-generated resize did not work
...
with new true subwindows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-15 21:57:27 +00:00
Manolo Gouy
790fc0ce02
Some indentation cleaning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-14 15:10:16 +00:00
Manolo Gouy
ae9ea6b51f
When CGBitmapContextCreate() is used with null 5th argument, it is necessary
...
to use CGBitmapContextGetBytesPerRow().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10518 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-14 14:21:01 +00:00
Manolo Gouy
bc8a7037eb
Avoid compilation warnings appearing with SDK 10.5
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-14 13:29:05 +00:00
Manolo Gouy
d7e4831dbe
A public header file must not use a preprocessor variable such as MAC_OS_X_VERSION_10_7
...
because it is only defined internally to FLTK.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-14 10:23:24 +00:00
Manolo Gouy
56fd2fc9f9
Fl_Paged_Device::print_window() now uses the CALayer class to print in one step
...
all of the window title bar, when the program is linked with OS X 10.10.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-13 16:36:04 +00:00
Greg Ercolano
25aa484f5e
Prevent tooltips from opening if window recently iconized.
...
Fixes STR #3157 .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-11 04:21:08 +00:00
Greg Ercolano
c732a4d635
Documentation clarification for all menu oriented widgets
...
regarding callbacks.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-10 22:05:15 +00:00
Greg Ercolano
8fe94273ff
Small doc mods to Fl_Menu_Bar to clarify how callbacks
...
are invoked. (STR #3172 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-10 17:58:54 +00:00
Greg Ercolano
5cfa1ac706
Improvements to Fl_Menu_ docs regarding how callbacks are invoked.
...
In response to misinterpretation raised in STR #3172 .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-10 17:46:10 +00:00
Manolo Gouy
335212dacb
Better implementation of Fl_Paged_Device::print_window() for Mac OS X Yosemite:
...
title bar buttons are drawn by the system instead of emulated by FLTK.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10510 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-09 17:28:19 +00:00
Manolo Gouy
4ba65cb993
Don not assume that Fl_X::resolution_scaling_factor() returns either 1 or 2.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10509 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-06 10:22:41 +00:00
Greg Ercolano
e14b04e6cb
Docs only: fixed example code indenting.
...
(Firefox doesn't properly display tabs in preformatted html)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10508 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-04 18:41:37 +00:00
Manolo Gouy
7f7e84b696
Simplified Fl_X::flush() for GL windows.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10507 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-04 14:41:50 +00:00
Greg Ercolano
8862df4950
Added docs to Fl_Event referencing use of fl_eventnames[] and FL/names.h
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-28 21:09:30 +00:00
Ian MacArthur
b2462e9adb
Fix typo in Fl_cocoa.mm if the ABI was set to 10304 or greater.
...
Seems ot be compiling OK again now.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-21 18:03:03 +00:00