Commit Graph

438 Commits

Author SHA1 Message Date
Michael R Sweet
a841de469c Fix STR 27 - double-click in file chooser followed by single click was
treated as another double-click (actually triple click, but the effect
was the same...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 01:39:53 +00:00
Michael R Sweet
4d67a0a00b Fix outline color when drawing inactive.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-21 16:52:42 +00:00
Michael R Sweet
ba892d2652 Add find() method to help widget and search box to help dialog.
Default to blue for the selection color on OSX; otherwise links and
other visual elements are not the correct color.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-21 16:12:14 +00:00
Michael R Sweet
2549a4ad62 Map ISO-8859-1 to MacRoman encoding on OSX (temporary until 2.0's UTF-8
support...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-21 13:23:40 +00:00
Michael R Sweet
340e84839e Fix menu item fonts (STR #30)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-21 01:50:14 +00:00
Michael R Sweet
2c6367a0e6 Fix menu scrolling (STR #33)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-21 01:37:17 +00:00
Michael R Sweet
358816af75 Update documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-20 19:16:26 +00:00
Michael R Sweet
c0e40ac55e Potential fixes for double-buffered subwindows on WIN32 (STR #1)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2988 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-20 19:09:33 +00:00
Michael R Sweet
9a7fb54d46 Fix show of subwindow causing crash (STR #23)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-20 17:53:26 +00:00
Michael R Sweet
b31a225083 Fix compose bug on OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-20 15:29:42 +00:00
Michael R Sweet
1cbbf7f53f Fix OSX subwindow hide (STR #22)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-20 15:17:12 +00:00
Michael R Sweet
8a2aa0a0d1 Add thin up box with plastic style.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-18 22:12:24 +00:00
Michael R Sweet
180e298537 Fl_Pack ignored box() and cleared unused areas to color().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-16 18:43:40 +00:00
Michael R Sweet
dece8522f0 Tweek tabs widget and plastic boxtype.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-16 18:33:03 +00:00
Michael R Sweet
4d705c92a8 Updated the default background color on OSX to provide better contrast.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-16 02:19:46 +00:00
Michael R Sweet
ea324d25c4 Fl_Text_Display and friends now look for the next
non-punctuation/space character for word boundaries (STR #26)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-04 22:29:01 +00:00
Michael R Sweet
e2baef33cd gl_font() didn't work properly for X11 when Xft was used (STR #12)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-04 21:58:59 +00:00
Michael R Sweet
13005b2a3f Fl_File_Browser incorrectly included "." on WIN32 (STR #9)
Include shellapi.h instead of ShellAPI.h in the WIN32
drag-n-drop code in order to work with the MingW cross compiler
(STR #6)

The cursor was not properly restored when doing drag-n-drop on
X11 (STR #4)

Fl::remove_fd() didn't recalculate the highest file descriptor
properly (STR #20)

Fl_Preferences::deleteGroup() didn't work properly (STR #13)

Fixed the fl_show_file_selector() function - it was copying
using the wrong string size (STR #14)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-04 21:45:46 +00:00
Michael R Sweet
67af078c9c Fix fl_font/fl_size on MacOS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2968 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-06 12:54:57 +00:00
Matthias Melcher
7903799bf2 - sorted fluid menu bar
- fixed some minor Valgrind memory checker complaints
- added conditional compile flag for OS X w/ MetroWerks compiler


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2967 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-03 04:28:15 +00:00
Michael R Sweet
f5dd08a9b3 Fix cursor appearance and scrolling of Fl_Text_Editor (patches from Erco)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2964 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-01 20:14:16 +00:00
Michael R Sweet
cd339710f0 FLUID shell command patch from Erco.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2963 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-01 19:58:08 +00:00
Michael R Sweet
7b52b48c9d Possible fix for OpenGL bus errors on OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2959 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-03-31 17:27:35 +00:00
Michael R Sweet
216453a981 Fix widget callback code error check and assignment.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-03-26 01:16:41 +00:00
Michael R Sweet
52f7cb86a0 fltk-config fix.
Fl_Text_Display fix (SF bug #706921)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-03-26 00:47:14 +00:00
Michael R Sweet
99981602d1 Fix Fl_Text_Display box drawing bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2951 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-03-17 18:31:16 +00:00
Michael R Sweet
eca1c6cc4c Fix help dialog link color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-02-25 18:58:58 +00:00
Michael R Sweet
d602263b78 FL_KEYUP patch for X11 - don't send KEYUP event for repeating keys.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2937 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-31 15:50:28 +00:00
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
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
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
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
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
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
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
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
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
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
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