Commit Graph

5061 Commits

Author SHA1 Message Date
Manolo Gouy
c7b0467518 Remove compilation error under Mac OS 10.3
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9227 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-13 19:04:10 +00:00
Manolo Gouy
b8d34a254f Fixed the use of FL_SUBMENU_POINTER in Fl_Sys_Menu_Bar objects (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-12 16:00:07 +00:00
Manolo Gouy
2d4cf9e26b Some code simplifications.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9220 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-12 12:49:58 +00:00
Manolo Gouy
4be97ea19c Fixed the use of FL_SUBMENU_POINTER in Fl_Sys_Menu_Bar objects (Mac OS-specific).
Modified the menubar demo program to exercise the Fl_Sys_Menu_Bar class.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9218 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-11 16:16:31 +00:00
Greg Ercolano
aa0e4bb823 Small fix for vertical connectors between far away items, as noted by Christophe.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-25 17:51:50 +00:00
Greg Ercolano
fc135a498b Optimizations for very large Fl_Tree's
(Adding 60k items took forever, and drawing them
 caused wraparound drawing issues and scrolling slowness)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-25 01:10:45 +00:00
Greg Ercolano
a0be94eebe Fix comment typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-25 00:36:11 +00:00
Albrecht Schlosser
7788e3d699 Fixed fl_round_box regression causing drawing artifacts (STR #2709).
Regression was from svn r8630 (STR #2615), adding fl_line_style() settings
that turned out to cause side effects on fl_round_box drawing and others.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-21 12:01:50 +00:00
Ian MacArthur
c4e1e39f6b Per STR 2687, remove the old fltk-local scandir implementation which might
have been re-using "borrowed" code with inappropriate licensing.

NOTE: It is not expected that this makes any real difference, it
is assumed that all modern hosts actually provice their own
scandir implementation and that the code (now excised) was orpahned
a long, long time ago...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9210 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-21 10:42:14 +00:00
Albrecht Schlosser
3f94496191 Typos and formatting, again.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9208 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-10 15:35:00 +00:00
Albrecht Schlosser
b5a0625dcd Fixed typos, added Debian and Ubuntu installation notes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-10 15:28:13 +00:00
Greg Ercolano
15e00887fe Updates for Centos 5.5 builds
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-09 17:43:50 +00:00
Greg Ercolano
931f01a589 Cleaner example image for input_choice. Kept size the same.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-08 19:31:18 +00:00
Greg Ercolano
94563a2d33 Improved docs, added example image
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9203 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-08 18:18:51 +00:00
Greg Ercolano
759794dbdb Added docs to show how to walk the menu array.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9202 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-08 17:10:11 +00:00
Ian MacArthur
367f563334 Fix typo in includes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-08 09:58:51 +00:00
Manolo Gouy
900fe72b8a Fixed the Doxygen comments of the Fl_Overlay_Window class.
The description of Fl_Overlay_Window ::draw_overlay() didn't appear in Doxygen,
and Fl_Overlay_Window::can_do_overlay() wasn't commented.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-07 13:40:39 +00:00
Greg Ercolano
272475dde4 Fixing STR #2786; clipping problem with child FLTK widgets.
Replication: Run 'tree' demo, open '500 items' subtree, change 'connector width' to 100..
the "D2" and "ccc" buttons would overdraw the scrollbar. (Not the regular tree items)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-06 21:08:07 +00:00
Albrecht Schlosser
d250e21542 Fixed Fl_Input_::maximum_size() documentation and Fl_Input::replace()
to honor maximum_size() as number of allowed characters (STR #2747).
This was a hangover from FLTK 1.1, where the number of bytes was equal
to the number of characters.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-06 16:55:51 +00:00
Manolo Gouy
3edb5e5aba Fix STR #2782: allow early #include <FL/Fl_Native_File_Chooser.H>
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9193 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-02 09:24:59 +00:00
Manolo Gouy
67fdcb8fa3 Fix STR #2779: clang-detected error
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-29 14:41:33 +00:00
Manolo Gouy
eab4e1f2d5 Needed after r.9181 for the Gmsh program according to its author Christophe Geuzaine
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-29 11:50:18 +00:00
Albrecht Schlosser
05f669c9ce Fixed a potential crash if Fl_Double_Window::flush() was called before show().
Thanks to Mathieu Peyrega for the patch in fltk.general [1] on Nov 14, 2011,
although I implemented it differently.
[1] http://www.fltk.org/newsgroups.php?gfltk.general+v:33946


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-28 12:32:56 +00:00
Manolo Gouy
a1a9dbd961 Improved the windowShouldClose message processing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9185 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-23 09:19:39 +00:00
Manolo Gouy
c78bc79001 Fix STR #2770: menubar menus have problems near screen edges.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9183 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-22 16:58:19 +00:00
Manolo Gouy
d92f2d765b Mac OS: fix possible crash when closing window with a callback that deletes it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-22 14:48:47 +00:00
Manolo Gouy
1962c2b6ed Fix STR #2775. Under Mac OS, fixed some erroneous window move/resize.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9181 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-22 12:33:49 +00:00
Manolo Gouy
12a0cb308e Fix STR #2769: Mac OS crash during creation of non-modal window on secondary screen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-14 17:10:28 +00:00
Manolo Gouy
74720fd205 Mac OS: better window positioning on secondary displays at creation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-14 15:15:03 +00:00
Greg Ercolano
6b1db04a80 Small fix: typo affected string length calc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-13 09:13:26 +00:00
Greg Ercolano
7f556fde4a Solve STR #2733: MAX_PATH too small on Win32 (260 chars!)
Removed some hardcoded arrays in favor of dynamic,
and created a new macro with 32768 and used it for remaining pathname arrays.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-13 07:33:50 +00:00
Greg Ercolano
e0e04cc956 Solve STR #2768: WIN32 file filter pulldown menu was not showing wildcard patterns.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-13 07:25:36 +00:00
Greg Ercolano
baca25f902 Fix for problem with posting 'popup menus' during user callback
causing change in row/col selection of Fl_Table_Row.
As reported by David Lopez in fltk.general on 11/09/2011, Subject: Popup menu over Fl_Table.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-13 02:46:10 +00:00
yuri
3086c07eec fix STR #2764
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-12 19:41:13 +00:00
Manolo Gouy
409afd29cc Mac OS: more accurate definition of the Window system-specific type.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9170 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-12 13:06:54 +00:00
Manolo Gouy
4fbc766422 Fixes for STR 2600, 2695, 2697.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-11 11:58:28 +00:00
Manolo Gouy
e37006f259 Fix STR #2759: Fl_Window::hotspot() now positions a new window correctly on a secondary display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-31 19:44:55 +00:00
Manolo Gouy
0cf73d4603 Mac OS: simpler processing of window closing events.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-30 17:23:42 +00:00
Manolo Gouy
c9345e7d01 Added more paper sizes for Fl_PostScript_Printer.
Fixed saving of the paper size preference for the "Print to File" printer.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9158 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-29 14:50:04 +00:00
Manolo Gouy
1e88511efa Fixed use of "landscape" orientation with PostScript printing/output.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9156 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-28 20:55:17 +00:00
Manolo Gouy
8ff32e11d6 Mac OS: fixed the setting of the key window after a window is closed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9154 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-27 19:41:54 +00:00
Manolo Gouy
353f59a0ce Mac OS: restore the focus to the top FLTK window after closing the window opened by the
"About ..." item of the application menu. This issue appeared with OS X 10.7.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-26 12:42:41 +00:00
Manolo Gouy
a1d63bc158 Mac OS: removed unused type Fl_XMap and global variable fl_current_xmap.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-26 11:17:31 +00:00
Albrecht Schlosser
afd64de007 Fixed regression (in FLTK 1.3.0) that could clear a radio button by
using the keyboard (space or shortcut) (STR #2748).
This regression was introduced in svn r7826 and released with FLTK 1.3.0 (!)
to add visual feedback for Fl_Button's using the keyboard (STR #2372).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-26 10:29:13 +00:00
Manolo Gouy
8c552b377d Fl_cocoa.mm: removed useless fl_screen global variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9147 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-26 09:12:33 +00:00
Greg Ercolano
6d4c2a2e22 Introducing a FAQ to the FLTK docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-25 02:17:29 +00:00
Manolo Gouy
81fcaed456 Mac OS: the procedure used to restore visible focus to a window after using an Fl_Native_File_Chooser
window failed under OS X 10.7. It's replaced by a simpler, OS version-independent procedure.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9144 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-22 15:12:57 +00:00
Greg Ercolano
babac08474 1) Fix STR#2742.
2) Fix fl_eventnames[] debugging stuff.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-20 05:02:53 +00:00
Manolo Gouy
31489f1f0d Follow the declared type of the fl_window global variable: Window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-19 17:05:03 +00:00
Albrecht Schlosser
c90b78eb56 Typo correction (removed extraneous ";")
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9140 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-19 09:42:46 +00:00