Commit Graph

5487 Commits

Author SHA1 Message Date
Ian MacArthur
2e5c45aec7 Test of repo access - non-changing in terms of functionality!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9900 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-26 16:00:36 +00:00
Michael R Sweet
61e257d57c Mike was here.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9899 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-26 15:14:28 +00:00
Manolo Gouy
076eb8679f Changed © (copyright) date to 2013.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-26 14:15:25 +00:00
Greg Ercolano
6d79809e7d Verifying I can remove Albrecht's test addition
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-26 12:17:42 +00:00
Albrecht Schlosser
3f3b2c2ad0 Added test file for server outage info and testing.
-- Diese und die folgenden Zeilen werden ignoriert --

AM   README.server_outage


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-26 11:55:44 +00:00
Greg Ercolano
830f8abec5 Removed small change -- testing commits on seriss.com
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9895 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-26 11:47:05 +00:00
Greg Ercolano
6c11f5fdd8 Testing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-26 11:42:04 +00:00
Manolo Gouy
c4494a94a7 Cosmetic improvement of image used when dragging non-text data.
Minimum OS version has been verified.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9892 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-19 09:20:56 +00:00
Manolo Gouy
53e2e603d0 Cosmetic improvement of image used when dragging non-text data.
Minimum OS version still has to be verified.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9891 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-18 16:15:59 +00:00
Manolo Gouy
a758910517 Removed some unnecessary data duplication.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-17 12:06:04 +00:00
Manolo Gouy
1c51c5c055 Have file src/Fl_Sys_Menu_Bar.mm processed by Doxygen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-17 07:50:23 +00:00
Manolo Gouy
702dd3b9ba Updated describing comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-17 07:45:31 +00:00
Manolo Gouy
5c513270f9 Renamed src/Fl_Sys_Menu_Bar.cxx to src/Fl_Sys_Menu_Bar.mm because objective-c code is used (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9886 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-16 14:11:21 +00:00
Manolo Gouy
6b69461ea9 Renamed src/Fl_Sys_Menu_Bar.cxx to src/Fl_Sys_Menu_Bar.mm because objective-c code is used.
Some code is transferred from Fl_cocoa.mm thus reducing somewhat this very large source file.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-16 14:02:42 +00:00
Ian MacArthur
b176f4d3f6 Apply the *nix file-chooser patches from STR #2935.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9884 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-16 12:02:23 +00:00
Manolo Gouy
850bda435b Removed processing of obsolete deadkey flag.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9882 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-15 13:34:46 +00:00
Manolo Gouy
4c97f14e88 Reduced the usage of global variables.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9878 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-15 11:00:24 +00:00
Albrecht Schlosser
62ae23272b Add different selection_color()'s and tooltips to scheme test buttons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9877 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-12 23:30:55 +00:00
Greg Ercolano
5fda885c03 Switched to const_cast<> for calling as_window().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9876 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-12 18:40:00 +00:00
Greg Ercolano
f04ff44f8c Small fixes to new top_window_offset() method as per discussion in STR #2948.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-12 16:46:35 +00:00
Ian MacArthur
55af432c2c fl_set_fonts_xft had a lower case, rather than upper case "S" in the switch so would not detect the SuperBold font style correctly.
Also, do a bit of defensive clipping of the generated font name, in case we run off the end of the name buffer (if the input font name is infeasibly long...!)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9874 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-12 09:52:31 +00:00
Greg Ercolano
322d82f7e7 Mods to CHANGES file for recent additions/fixes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9873 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10 21:19:10 +00:00
Greg Ercolano
9fc45db999 As per notes from STR#2948:
Moved top_window_offset() to being a member of Fl_Widget (was Fl_Window)
    and moved its code near implementations of top_window() and window().



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9872 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10 21:16:16 +00:00
Greg Ercolano
3fe3f24427 Solve STR#2948: Add new method Fl_Widget::top_window() to return the widget's top-level window.
Docs for existing Fl_Widget::window() revised to clarify the difference between these two methods.

Docs for window() also moved from .H -> .cxx as per CMP (docs should be where code implementation is).



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9871 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10 20:51:24 +00:00
Greg Ercolano
936f01be5c While suggesting a new top_window() method for STR#2948,
it's realized that for consistency, the recently added window_offset() method
(a few days ago) should be renamed to top_window_offset().



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9870 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10 20:13:12 +00:00
Greg Ercolano
386b12b770 Fix STR# 2772: remove dead code in fl_measure()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-09 20:11:28 +00:00
Manolo Gouy
2c5b268859 Fix for STR #2947: A couple of minor glitches in the 1.3.2 docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9868 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-09 15:10:25 +00:00
Greg Ercolano
6bcd9390f8 Solves STR #2939; adding when() support to Fl_Tabs.
Also added a general Fl_Tabs code example to the docs.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9867 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-08 20:18:40 +00:00
Greg Ercolano
d5404dea25 Fix for STR #2944 [2]: Fix Apple-specifc nested window problem for Fl_Gl_Window's.
Added new method Fl_Widget::window_offset(x,y)
		       to access the top-level window offset of the current widget.

		       Open to alternative names for the new method.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-08 18:24:17 +00:00
Greg Ercolano
2a5d5aab30 Fix STR# 2944 [1]: When an app uses overlays and gl_draw(),
gl_draw() would mess up the raster position
		   affecting the Mac overlay emulation in swapbuffer code.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9865 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-08 16:49:55 +00:00
Greg Ercolano
c3a84e475f Small comment mods regarding Fl_mac.cxx -> Fl_cocoa.mm
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-06 16:35:05 +00:00
Greg Ercolano
a1672828b5 Removing Fl_mac.cxx -- this code is no longer used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-06 16:31:35 +00:00
Manolo Gouy
225da118c3 Added back the </dict> erroneously removed at r.9861
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9862 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-06 16:15:17 +00:00
Manolo Gouy
e44018c1d2 Added the NSHighResolutionCapable item to fltk-config --post for fltk apps to be high-resolution ready.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9861 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-05 15:28:43 +00:00
Manolo Gouy
da07dcd6be Added the NSHighResolutionCapable item to all .plist files for fltk apps to be high-resolution ready.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9860 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-05 15:09:50 +00:00
Manolo Gouy
3c47de0b28 Added the NSHighResolutionCapable item to all .plist files for fltk apps to be high-resolution ready.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9859 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-05 14:53:26 +00:00
Manolo Gouy
a5ee07c420 File config.h is included with #include <config.h> in scandir.c as everywhere else.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9858 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-05 14:14:08 +00:00
Greg Ercolano
5e2bdbdeef Followup: small color docs mod
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9857 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-02 16:51:56 +00:00
Greg Ercolano
ba0c61b961 Small color documentation clarification/improvements:
o Added some references to the FLTK colormap diagram in obvious places (Fl_Color docs)
    o Added info regarding the 'reserved' colors
    o Added quotes to clarify RGBI description: "RGB" and "I"



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9856 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-02 16:47:57 +00:00
Greg Ercolano
bbbde512e8 Code readability -- No logic was changed.
o Adjusted /*FALLTHROUGH*/ comments for clarity
    o Added /* NOTREACHED */ comment for clarity
    o Brace cosmetics



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9855 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-29 18:26:36 +00:00
Greg Ercolano
57df8e1b1a Document Fl_Tabs::value()'s integer return value.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9854 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-29 04:36:51 +00:00
Greg Ercolano
ee0af8c6a7 Documenting the public methods Fl_Tabs::push()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-29 03:37:04 +00:00
Greg Ercolano
85c1464715 Added some extra @@ tests for boundary conditions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-27 19:21:22 +00:00
Greg Ercolano
fa75731c94 Fix for fl_measure() missing drawsymbol flag
Added comments
Added 3 line test.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-27 19:16:48 +00:00
Greg Ercolano
ceb12d51ab Added unittest for checking symbol rendering and fl_measure() with symbols.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-27 18:32:41 +00:00
Greg Ercolano
2aefc1f60c Added docs for undocumented public 'which()' method.
Added a \todo marker for undocumented public 'push()' method.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-26 01:55:01 +00:00
Greg Ercolano
b2a54c3679 o Fixed tab navigation problem with this demo
o Prevent Fl_Output from erasing if value unchanged (allows text selection
  and keyboard nav of the Fl_Output widget..)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-25 23:20:29 +00:00
Greg Ercolano
449f36b6f8 Added Fl_Choice to browser test program to let one
change the browser type(), allowing testing of the
different browser modes..



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-23 21:32:34 +00:00
Greg Ercolano
65aefad242 Expanded docs for Fl_Browser_ to define the supported
keyboard navigation behavior.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-23 21:24:18 +00:00
Greg Ercolano
5979afb5bf Adding an example to demonstrate how to create an Fl_Browser with icons on the items.
Based on an example I'd added to STR#1739 to demo someone's patch.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-23 18:40:53 +00:00