Commit Graph

456 Commits

Author SHA1 Message Date
Michael R Sweet
f9ded8959a Fix shared libraries on OSX (STR #51)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 05:37:32 +00:00
Michael R Sweet
17abd7136d Several widgets defined their own size() method but didn't
provide an inline method that mapped to the Fl_Widget::size()
method (STR #62)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 04:47:28 +00:00
Michael R Sweet
aa88761194 Add clear() method to Fl_Scroll so that the scrollbars don't get deleted.
(STR #75)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 04:41:16 +00:00
Michael R Sweet
7f15f8d97f Make sure Fl::event_text() is not NULL. (STR #70)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 04:27:35 +00:00
Michael R Sweet
1bde669d75 Fix @@ drawing (STR #84)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 04:13:17 +00:00
Michael R Sweet
f438ffa087 Added documentation for all forms of Fl_Widget::damage() (STR
#61)

Fl_Double_Window now has a type() value of FL_DOUBLE_WINDOW, to
allow double-buffered windows to process redraws properly on
WIN32 (STR #46)

Added FL_DAMAGE_USER1 and FL_DAMAGE_USER2 damage bits for use by
widget developers (STR #57)

Fl_Help_View didn't support numeric character entities (STR #66)

Menu shortcuts didn't use the Mac key names under MacOS X (STR
#71)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-12 01:36:18 +00:00
Matthias Melcher
dd6c9535ef Updated Mac OS X CodeWarrior project to work with OS X 10.2 and
CodeWarrior 8.3 . Versions below 8.3 are buggy and need to be upgraded
(free upgrades on the MetroWerks web pages).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-09 18:53:06 +00:00
Michael R Sweet
101fa5b640 Fix mapping of Apple keys to CTRL keys on OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-05 21:14:19 +00:00
Michael R Sweet
0aa85c540c Add preliminary support for Apple Open Documents event callback interface
on OSX (to allow FLUID and other apps to register a callback to open files)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3016 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-30 07:03:09 +00:00
Michael R Sweet
47426f0b3f Drop undocumented and non-working --prefix and --exec-prefix options to
fltk-config script (STR #56)

Fix configure tests that had bogus whitespace in them (STR #60)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-29 19:43:06 +00:00
Matthias Melcher
0753014e30 fl_filename_list returns -1 now (Win32) if it was called with
a non-existing directory.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3014 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-28 16:38:09 +00:00
Matthias Melcher
5ccb6afda8 STR #39: FL_text_Buffer search backward would not allow searching from 1
after the last character. this is fixed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-28 16:09:12 +00:00
Michael R Sweet
f2f1e0b232 Update changelog to show reference to new STR I created for Matthias's
bug fix.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-28 14:41:20 +00:00
Matthias Melcher
1d4edf5fb9 Mac OS X's version of Fl::get_key(int) would mixup ctrl and meta.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-28 05:10:05 +00:00
Michael R Sweet
9636dd13c1 Fix OSX shared library command. (STR #51)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-27 20:22:50 +00:00
Michael R Sweet
3bad53ae79 Fix STR #52 - Fl_Text_Editor didn't set changed() nor did it call callbacks
for composed characters.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-27 20:20:20 +00:00
Michael R Sweet
a5cb29da1c Check syntax of callback only on release, not on change.
Update announcement for 1.1.4rc1.

Add 1.1.4rc1 to version list in STR form.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 16:12:39 +00:00
Michael R Sweet
83df87d710 Update to 1.1.4rc1 for testing...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 01:45:18 +00:00
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