Manolo Gouy
1eb3664e7a
Don't draw the resize window corner under Mac OS X 10.7-Lion.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-16 08:29:23 +00:00
Manolo Gouy
d7a17442fd
Added the name of the type of the fl_gc global variable under Mac OS.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-14 15:19:20 +00:00
Manolo Gouy
1a9b72429e
Improved how the system-dependent global variable fl_gc is declared
...
with or without declaring the FL_INTERNALS preprocessor variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-14 15:17:32 +00:00
Manolo Gouy
58076d7a26
Mac OS: - Correct application hiding when modal or menu window is on.
...
- Removed useless FL_FOCUS events when unhiding application.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-13 13:03:07 +00:00
Manolo Gouy
28d33a29ad
Mac OS: print dialog uses only one window instead of two.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-08 10:56:51 +00:00
Manolo Gouy
8c6aad459d
Mac OS: center on page the "Print Front Window" application menu command.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-08 08:09:20 +00:00
Ian MacArthur
fef14a7a58
Fix trivial documentation discrepancy in Fl_Round_Button
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-07 12:18:14 +00:00
Manolo Gouy
19b3e33944
Keep filter attached to an Fl_Native-File_Chooser after it's closed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-05 16:52:16 +00:00
Manolo Gouy
bb9dd96ad3
Fixed Mac OS crash when using Fl_Native_File_Chooser with filter that does not end with \n.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-04 13:50:31 +00:00
Greg Ercolano
7d8c00cc09
Backing out r9025; the correct info is at the top of the document
...
(to use <FL/x.H> instead of define FL_INTERNALS).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-02 21:01:28 +00:00
Manolo Gouy
28c559aa3f
Added missing declaration of the fl_find() function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-02 14:42:02 +00:00
Manolo Gouy
21ddc8900c
Before deleting a window, it's better to check whether it contains the currently focused NSView,
...
and unlock focus there.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-02 12:15:43 +00:00
Greg Ercolano
e758e6aac2
Mention the need for #define FL_INTERNALS for fl_xid().
...
(STR #2696 , http://fltk.org/newsgroups.php?gfltk.development+v:12524 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-01 20:14:26 +00:00
Albrecht Schlosser
62b30f85cb
Fixed fl_pie() drawing too small on X11 (STR #2703 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-30 07:50:16 +00:00
Albrecht Schlosser
d75ad25e5e
Fixed typo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9016 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-26 17:54:01 +00:00
Albrecht Schlosser
6967e05cab
Updated documentation, removed customized html stylesheet, updated html footer.
...
Note: you need Doxygen 1.7.5 or later to generate proper documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-26 17:25:44 +00:00
Albrecht Schlosser
06ec8900f0
Fix window positioning on screen (Fl_X::fake_X_wm()) by testing the
...
entire window area instead of the top left corner only to find the
screen to put the window on (Windows only).
Note that this *should* be changed to use the work area instead of
the screen area, as discussed in fltk.development.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-19 14:11:30 +00:00
Ian MacArthur
ce3185a94f
Initial fixes for window position at or beyond (0,0) under win32.
...
This is not the whole story, but is better.
We were messing up the initialisation of num_screens on Win32 in that
it was being set to a non-zero value by a call to
GetSystemMetrics(SM_CMONITORS) but was then subsequently incremented
even higher by each iteration call to the screen_cb(...) function,
so what we were storing for the screen rectangles was a bit messed up.
Under fltk-1.1, the code used to explicitly reset num_screens to zero
before starting to iterate the screen_cb(...) function, so that worked OK.
I have sort-of restored that behaviour, and removed the (now redundant)
call to GetSystemMetrics(SM_CMONITORS) since we *always* enumerate the
monitors now to get the per-screen DPI values out.
I've also put in a commented out stub where we could store the per-screen
work-area, which it seems we do also need now, though I have not yet
contrived to actually implement that.
Volunteers welcomed...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-18 16:23:07 +00:00
Matthias Melcher
041a459814
Fluid -c would destroy the file history every time it was run.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-18 13:43:39 +00:00
Manolo Gouy
2beb43cf85
Fix STR #2695 (continued). Use of Fl::x() is appropriate only under Mac OS.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8935 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-08 15:24:19 +00:00
Manolo Gouy
59fdc24b16
Fix STR #2688 . fl_width(' ') was wrong under X11 without XFT.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8930 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-08 12:24:54 +00:00
Manolo Gouy
de0be01e23
Fix STR #2695 : to scroll menus properly, use Fl::x(),y(),w() and h() functions that return
...
the work area rather than the screen size.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-08 10:07:03 +00:00
Albrecht Schlosser
b9e2720061
Added missing svn properties to test/rotated_text.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-05 08:43:26 +00:00
Ian MacArthur
e3a53da439
Add a #warning to scandir.c with the intent of trying to flag up which,
...
if any, hosts actually use this code now.
Will only trigger on hosts using gcc though, so may not help at all...
This is part of trying to remove this (possibly) not fltk license
compliant code from the codebase.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-03 11:04:30 +00:00
Ian MacArthur
ec42758183
fix typo in debug output, as per #2690
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-03 08:17:34 +00:00
Greg Ercolano
0fbe0257ab
Fixed problem with Fl_Table::add() as per thread on fltk.general
...
entitled "Fl_Table::add() doesn't work properly?"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8868 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-23 01:10:26 +00:00
Manolo Gouy
0c0305865a
Fixed crash under Solaris if no printer is defined.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8867 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-20 16:06:02 +00:00
Albrecht Schlosser
2d52aebc6d
Fixed Fl_Menu issue with unusual menu flags (STR #2680 ).
...
Setting some flags in a terminating Fl_Menu_Item (one with
a NULL label/text/name) caused an endless loop.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-20 13:50:15 +00:00
Manolo Gouy
5b98e80a4f
Mac OS: Greatly simplified the open document handler.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8865 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19 13:26:52 +00:00
Greg Ercolano
4f4a8fc3c7
Modifications to all LGPL headers for STR #2685 .
...
(to clarify static exception LGPL by changing license references)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19 04:49:30 +00:00
Greg Ercolano
6fa9df7e90
Fixing STR #2679 ; Fl_Table makes use of FLTK's Fl::scrollbar_size() global.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-17 16:40:41 +00:00
Greg Ercolano
46d9c45536
Added Fl_Table to scrollbar resize unittests
...
as prep for resolving STR #2679 .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8862 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-16 03:50:58 +00:00
Manolo Gouy
ada26bff29
Under X11, allow to call printable_rect() before any start_page() call.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8858 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-13 14:15:50 +00:00
Albrecht Schlosser
67ca1ce41c
Fixed svn properties ($id$ tags)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-12 17:03:25 +00:00
Manolo Gouy
b2561363f7
Mac OS: fix STR #2666 allowing to display copyright info in the default About window.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-11 14:53:07 +00:00
Manolo Gouy
264c73c9ab
Mac OS: added missing lock/unlock pairs when running system menu items.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-11 13:52:16 +00:00
Manolo Gouy
20ab9c3c33
Mac OS: Added missing lock/unlock calls in Fl_Paged_Device::print_window().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-11 09:45:21 +00:00
Manolo Gouy
5faaebe373
Added initial value of _driver member in Fl_Printer constructor.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-04 15:57:30 +00:00
Manolo Gouy
3bc8713bac
Fl_Paged_Device::print_window() now works with any output surface on Mac platform.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-04 15:07:22 +00:00
Manolo Gouy
0b784cc90f
Arguments x_offset & y_offset of function Fl_Paged_Device::print_window() were partially
...
ignored by the Mac version.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-04 13:54:43 +00:00
Manolo Gouy
682a8fc062
Mac OS: use cmd-A and cmd-C to select all and copy (instead of ctrl-A and ctrl-C).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-26 07:42:07 +00:00
Manolo Gouy
77e393f9b6
Added %%PageBoundingBox clause in each PostScript page so Evince, the Gnome doc
...
viewer recognizes page formats.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-20 13:23:05 +00:00
Manolo Gouy
258949918c
Added reference to print_window() to the doc of the Fl_Printer class.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-20 07:53:06 +00:00
Albrecht Schlosser
6027f410ed
Fixed Windows DLL import of fl_xid() (STR #2670 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-18 12:29:49 +00:00
Manolo Gouy
c5784d139d
Fix STR #2671 : added missing object deallocation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-18 08:36:16 +00:00
Manolo Gouy
29d9c40dea
Removed Doxygen documentation of function Fl_File_Chooser::browser() that had been
...
removed at r. 8785.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8817 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-17 11:39:25 +00:00
Matthias Melcher
07cb1667ad
Formatting
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8815 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:11:18 +00:00
Matthias Melcher
2b6b6a6104
Fixed Copyright (I think I got it. Ya know, computers are not so much my thing...)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:08:35 +00:00
Albrecht Schlosser
b36b3dd155
fix svn properties
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:07:15 +00:00
Matthias Melcher
189a563ef0
Fixed Copyright (another try - sorry!)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8812 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:05:00 +00:00