Commit Graph

1798 Commits

Author SHA1 Message Date
Michael R Sweet
fc22bc93a0 Support type qualifiers before a class name; this allows for things like
"FL_EXPORT Fl_File_Chooser"...

Update Fl_File_Chooser and Fl_Help_Dialog to use the new interface so
that we don't have to add FL_EXPORT every time we make a change...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-28 20:51:17 +00:00
Michael R Sweet
226715d978 Bug fixes from Howard.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-28 20:42:14 +00:00
Michael R Sweet
c25988a756 Use PM_REMOVE, not "1".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2932 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-28 13:56:06 +00:00
Michael R Sweet
abcc8d6d89 Position 1 is the first element in a chart, not 0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2931 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-27 21:08:41 +00:00
Michael R Sweet
66529aa044 Update browser docos; value(0) doesn't do anything, only deselect() clears
the current selection.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2930 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-27 21:05:22 +00:00
Michael R Sweet
65e732d189 Add FL_EXPORT to nested classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2924 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-21 14:51:54 +00:00
Michael R Sweet
a2463df999 Add Fl::event_clicks(int i) docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-16 20:07:01 +00:00
Michael R Sweet
119a574b3d Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-15 19:55:51 +00:00
Michael R Sweet
4fb89e2571 Fix build problems on Windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-15 19:41:58 +00:00
Michael R Sweet
e695187237 Possible fix for nested Fl_Double_Window bug on WIN32.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2908 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-15 00:14:46 +00:00
Michael R Sweet
7fe8eeafb2 Fix Fl_Slider callback bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2907 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-14 23:52:12 +00:00
Michael R Sweet
717aa7ec8f Fix line/polygon drawing bug when the number of unique vertices is too
small.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-14 23:48:01 +00:00
Michael R Sweet
9f67d66c3a Fix size_range() bug under OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2905 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-14 21:30:55 +00:00
Michael R Sweet
0df204ff51 Fix OpenGL resize bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2904 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-14 20:17:00 +00:00
Michael R Sweet
3b59708838 Fixed menu overlay bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-14 17:32:25 +00:00
Michael R Sweet
04175702d8 More tweeking.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2900 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-13 19:24:08 +00:00
Michael R Sweet
a123dba5db Need <FL/Fl.H>
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2899 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-12 15:19:44 +00:00
Michael R Sweet
24455b9be5 Fix use of free() for memory allocated using new.
Fix error messages to use Fl::error() instead of fprintf().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-12 14:49:33 +00:00
Michael R Sweet
d43b146df3 Fix header file again.
Fix dependency generation for the libraries...

Update dependencies.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-12 01:22:21 +00:00
Michael R Sweet
c089f9b264 Need to include Fl_Export.H for FL_EXPORT definition.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-11 19:47:30 +00:00
Michael R Sweet
6e4cdc0978 Tweek colors for plastic scheme so they better match OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2895 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-11 14:19:17 +00:00
Michael R Sweet
56b465073b Update dependencies and the change log.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-10 19:54:44 +00:00
Michael R Sweet
4bf5385fb1 Update Fl_Image and friends so that we don't need to include the
system headers (which unfortunately are not too friendly with other
code...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2893 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-10 19:29:09 +00:00
Michael R Sweet
24f57a7aea Make sure that the GUI tab shows first.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-04 00:34:44 +00:00
Michael R Sweet
7c32cfaee9 Sort widgets in the widget panel.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-04 00:24:19 +00:00
Michael R Sweet
85c952004a Remove the obsolete browserop.cxx test program, which wasn't being built
anyways and is causing confusion.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-02 21:39:58 +00:00
Matthias Melcher
fcb49a7b13 Fl_Text_Display/Editor would not receive FL_FOCUS events on mouse clicks
which resulted in not showing the insertion cursor.
Fluid would not register changes to Fl_Text_Editor widgets unless Enter
was pressed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-26 01:15:32 +00:00
Michael R Sweet
a81ea6a412 Use DSOLINK in the LINKSHARED definition.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2883 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-19 22:07:13 +00:00
Michael R Sweet
d64d3a55a8 Fix Fl_Scroll handling of widgets whose labels are to the right or below.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2882 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-19 21:42:22 +00:00
Michael R Sweet
74d47ce80c Doco updates.
Added filename_setext() macro for FLTK_1_0_COMPAT.

Fixed copy() methods so they don't overflow the source image buffer.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-19 21:34:26 +00:00
Michael R Sweet
11a7b522c1 Double/triple click selection fix in Fl_Input.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2862 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-08 06:31:48 +00:00
Michael R Sweet
cbdf39916f Eliminate compiler warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2861 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-04 18:14:30 +00:00
Michael R Sweet
b40f9264f7 Change depth bits to 24 - Matthias, can you verify that this still works
on your systems?  I'll double-check with my iBook and iMac...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2860 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-04 05:34:39 +00:00
Michael R Sweet
cd5c9b8743 OSX fixes for GLUT/GL window classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2859 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-04 04:44:54 +00:00
Michael R Sweet
4842030537 Bump version number in CVS...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2857 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-25 18:19:46 +00:00
Michael R Sweet
eed1609514 WIN32 cleanup for 1.1.2 release.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2855 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-25 16:31:20 +00:00
Michael R Sweet
81147753d1 Only set the callback when the text is changed; otherwise when you set
the properties of multiple widgets, the callbacks will be changed for
all of the widgets...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2854 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-23 06:47:36 +00:00
Michael R Sweet
f0b0e4c00a Fix type in WIN32 source...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-20 20:55:24 +00:00
Michael R Sweet
2670b41589 Fix one last focus bug in Fl_Tabs - now clicks should update the focus
as expected...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-20 17:42:09 +00:00
Michael R Sweet
5f5d68561f Fl_File_Input::value("") didn't work.
The window close callback also needed to set the filename to "".


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-20 15:49:24 +00:00
Michael R Sweet
4bf99bdfc6 Add space for icons to item_width(), otherwise the horizontal scrollbar
won't scroll far enough...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 18:41:15 +00:00
Michael R Sweet
7a636272e2 Support vertical dividers in menu bars.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 18:34:48 +00:00
Michael R Sweet
6318705512 Fix fl_dir_chooser()/Fl_File_Chooser:value() bug - cancel didn't return
NULL since the filename field wasn't cleared, too...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 17:26:10 +00:00
Michael R Sweet
b553a34418 Increase label buffer size and bounds-check all writes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 16:59:22 +00:00
Michael R Sweet
1e4a969337 Range check the visLineNum argument...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 16:45:32 +00:00
Michael R Sweet
a74795bbb8 Get rid of some valid compiler warnings with CodeWarrior that were reported
by Paul Chambers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 16:37:36 +00:00
Michael R Sweet
2921ca57a0 Update Fl::get_color() docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-18 20:51:46 +00:00
Michael R Sweet
2baf50eb16 Fix OpenGL resize bug under OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2843 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-15 16:17:41 +00:00
Michael R Sweet
b579acc9b3 Fix fl_show_colormap() documentation.
Show color chooser window before grabbing it.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-15 02:06:57 +00:00
Michael R Sweet
9c557a3b87 Make check browser check boxes consistent with other widgets...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-14 21:25:13 +00:00