Commit Graph

657 Commits

Author SHA1 Message Date
Michael R Sweet
a3d0905c9e Copyright updates and prep for 1.1.5rc1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 04:39:01 +00:00
Michael R Sweet
26dcd2e085 Fix fl_scroll() on WIN32 (STR #315)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 01:40:12 +00:00
Michael R Sweet
77aca2728f Fix drive letter entry for file chooser (STR #339)
Fix linker warnings with VC++


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3385 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-10 21:35:45 +00:00
Michael R Sweet
76d03987d5 Fl_Menu now uses the boxtype to redraw the menu background (STR
#204)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3382 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-10 00:54:51 +00:00
Michael R Sweet
616c919d37 Fl_Scroll now shows the background image when a framed box type
is used and the Fl_Scroll is a direct decendent of a window (STR
#205)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3380 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-10 00:37:03 +00:00
Michael R Sweet
b4b95029e8 Added a new_directory_tooltip string pointer to allow
localization of the file chooser's new directory button (STR
#340)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 19:33:11 +00:00
Michael R Sweet
9202d0798e The Fl_Widget copy operator definitions were not conditionally
compiled properly (STR #329)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 18:37:20 +00:00
Michael R Sweet
aa00aba5c1 FLUID's Layout functionality did not move child widgets when
laying out group widgets (STR #319)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 18:32:52 +00:00
Michael R Sweet
7fdbfc61be More doco updates.
FLUID's Layout->Center In Group functionality did not properly
handle widgets that were children of a Fl_Window widget (STR
#318)

The Fl_Text_Display destructor did not remove the predelete
callback associated with the current buffer (STR #332)

Fixed several bugs in the MacOS X Fl::add_fd() handling (STR
#333, STR #337)

The Fl_Text_Display widget did not display selections set by the
application (STR #322)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 17:38:36 +00:00
Michael R Sweet
4e0450ea36 FLUID crashed if you did layout with a window widget (STR #317)
Fl_Scroll::clear() didn't remove the child widget from the
Fl_Scroll widget (STR #327)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 02:47:26 +00:00
Michael R Sweet
70ca1d156b Fl_Value_Slider::draw_bg() didn't always apply the clipping
rectangle (STR #235)

fl_filename_relative() returned the wrong string if the absolute
pathname was equal to the current working directory (STR #224)

Fl_Help_Dialog didn't correctly restore the scroll position when
going forward/back in the link history if the file changed (STR
#218)

glutGetModifiers() did not mask off extra state bits, confusing
some GLUT-based applications (STR #213)

Fixed mouse capture problems on MacOS X (STR #209, STR #229)

Fl_Sys_Menu_Bar is now built into the library for MacOS X (STR
#229)

Fl_Menu_ now provides item_pathname() methods to get the
"pathname" of a menu item, e.g. "File/Quit" (STR #283)

Fl_Text_Display now provides cursor_color() methods to get and
set the cursor color (STR #271)

Fl_Scroll didn't honor FL_NO_BOX (STR #305)

FLUID declaration blocks didn't support public/private
definitions (STR #301)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-03-11 05:17:12 +00:00
Michael R Sweet
c5d30baf60 Documentation updates (STR #245, STR #250, STR #277, STR #281)
Fl_Preferences incorrectly created the preferences directory
before necessary (STR #247)

The WIN32 project files still defined the (obsolete) FL_STATIC
constant (STR #279)

Fl_Text_Display::buffer() did not support NULL values, making it
impossible to clean up text buffers from a subclass (STR #295)

Fl_Text_Display did not support a NULL unfinishedStyleCB
function (STR #241)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-03-01 02:05:02 +00:00
Michael R Sweet
2cbbe8180d Fix Fl::background2() (STR #255)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-02-29 22:39:52 +00:00
Michael R Sweet
6d84fa98b7 Fix CTRL+something "-" - wasn't tracking the proper CTRL key
state (STR #264)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-02-29 22:16:11 +00:00
Michael R Sweet
61f63af5ed Support KDE 3.x icons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-02-29 12:47:36 +00:00
Michael R Sweet
1b84038345 WIN32's scandir() emulation did not allocate enough memory for
directory names (STR #263)

Fl::compose() did not handle special keys like backspace
properly (STR #293)

Fl_Choice did not clip its text when drawing using the plastic
scheme (STR #287)

Fl_Group incorrectly mapped the emacs CTRL keys to keyboard
navigation (STR #228)

Fl_File_Browser::load() didn't handle a NULL directory name (STR
#266)

64-bit library fixes (STR #261, )

The Fl_Valuator::format() function did not limit the size of the
number buffer (STR #268)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-02-26 03:06:41 +00:00
Michael R Sweet
7615da84bb Another bunch of OS/2 changes (STR #197)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3125 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-03 00:36:50 +00:00
Michael R Sweet
5d135b3928 The keypad Enter key works as the normal Enter/Return key in
common widgets (STR #191)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-01 01:49:35 +00:00
Michael R Sweet
c8c675fb4b Doco fix (STR #186)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3116 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-01 01:46:55 +00:00
Michael R Sweet
71d7776392 Fixed some OS/2-specific build problems (STR #185)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-01 01:44:23 +00:00
Michael R Sweet
e582a3e26b Calling Fl_Text_Display::buffer() with the same buffer would
cause an application to lockup (STR #196)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-01 01:32:40 +00:00
Michael R Sweet
037fd7bf94 Fix cursor crash bug (STR #181)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-01 01:07:07 +00:00
Michael R Sweet
01ceac46e9 Pixel format selection change (STR #175)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-20 18:45:55 +00:00
Michael R Sweet
182acd8618 Fix configure script (STR #174)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-20 18:40:36 +00:00
Michael R Sweet
db0939a599 Add error handlers to JPEG and PNG image classes so the corresponding
libraries don't exit the app with a bad file (STR #168)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3105 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-15 23:52:38 +00:00
Michael R Sweet
aed1a91613 Add --with-links configure option.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-14 14:28:22 +00:00
Michael R Sweet
f6769cebc6 Add Fl_Tooltip::hoverdelay() method and code (STR #126)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-14 14:11:06 +00:00
Michael R Sweet
8c56fa75c7 Fix new FLUID window grid bug (STR #166)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-14 13:42:04 +00:00
Michael R Sweet
4e6a41e2cd Bump to 1.1.5rc1...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-09 15:15:18 +00:00
Michael R Sweet
c704b6ad8e Add implementation for fl_read_image() on OSX (STR #161)
Update changelog and announcement.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3096 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-08 17:30:06 +00:00
Michael R Sweet
5495630684 Provide inline code for copy operators in Fl_Widget; this works around
a VC++ 7.1 regression without causing problems. (STR #156)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-04 19:07:58 +00:00
Michael R Sweet
8bfa7d8579 Need <time.h> on IRIX (STR #157)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3089 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-03 19:58:08 +00:00
Michael R Sweet
cd807ffcdf Use symbolic names whenever possible, otherwise cast ints to Fl_Color.
(STR #146)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-03 19:50:54 +00:00
Michael R Sweet
cf40467b5b Fix performance issues with large file chooser selections. (STR #140)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-03 19:38:01 +00:00
Michael R Sweet
daccac9672 Fl_Text_Display/Editor did not disable the current
selection when focus was shifted to another widget
(STR #131)

Fl_Choice didn't use the normal focus box when the
plastic scheme was in use (STR #129)

Fl_Text_Editor didn't use selection_color()
consistently (STR #130)

The fltk_forms, fltk_gl, and fltk_images DSO's and
HP-UX shared libraries are now linked against the fltk
shared library to provide complete dependency
resolution (STR #118)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3081 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-24 13:09:06 +00:00
Michael R Sweet
6eef9839bb Fix configure.in for autoconf 2.57.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-05 22:40:45 +00:00
Michael R Sweet
c99d122b45 Fix FLUID redraw bug when changing X,Y,W,H in the widget panel (STR #120)
Fix copyrights on some files that still showed -2002...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3070 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-02 21:17:30 +00:00
Michael R Sweet
2fc4d518cc Fix Fl_Window::show(argc, argv) so that it calls Fl::get_system_colors(),
and Fl::get_system_colors() so that it doesn't override user/program colors
(STR #119)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3069 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-02 13:49:17 +00:00
Michael R Sweet
afbeea5714 Bump to 1.1.4 and fix changelog.
#ifdef in fluid was wrong - didn't use piping on OSX when not compiling
against Metroworks compiler.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3068 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-02 12:38:10 +00:00
Matthias Melcher
c2e8891693 OS X: some changes to support Apples ProjectBuilder.
OS X: FLTK now queries the true windows position from the
window manager after creating a new window. This fixes the
problem with popup menues showing up at the wrong position.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3067 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-02 05:54:43 +00:00
Michael R Sweet
111cbdb0b0 Fix STR #111 (display opened too soon)
Prep for 1.1.4rc2.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-29 15:12:36 +00:00
Michael R Sweet
520d44ebf6 Fix scheme and image drawing bugs.
Bump to 1.1.4rc2.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-29 02:12:36 +00:00
Matthias Melcher
89a7b606d1 Made 'enter' keyboard event return 'char 13' in e_text.
Matthias


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3053 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-21 05:38:16 +00:00
Matthias Melcher
b70c9661a0 STR #88: changed fluid behaviour to always paste into a selected
group instead of appending (see paste_cb, force_parent). Mike,
could you please check if this has any side effects somewhere?


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-19 06:10:20 +00:00
Matthias Melcher
9cdf63cc40 Changes in menuitem font's would only be recognized if the
fontheight was != 0. Fixed to change fonts, but keep height.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3051 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-18 22:36:00 +00:00
Matthias Melcher
c0bb3a7465 STR #86: Swapped menu shortcut labels for OS X
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3050 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-18 17:43:30 +00:00
Matthias Melcher
4042047358 updated documentation and Fl_Dial. STR #101, 94, 99
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-18 05:53:21 +00:00
Matthias Melcher
9172106189 STR #106: collapse triangle in fluid hrc list would not receive events
when view is scrolled horizontally.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-18 03:49:58 +00:00
Matthias Melcher
8aa95bcd96 OS X QuitAppleEvent now correctly exits Fl::run() instead of just
exiting.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3047 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-18 03:12:05 +00:00
Michael R Sweet
1251b42130 Fix Xft2 usage (still need to do a final fix that loads the proper X
font...)

Fix Fl_Window/Fl_Double_Window in FLUID.

Fix background tile coloring for plastic scheme.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-12 04:20:48 +00:00
Michael R Sweet
0341822a56 Fix resize bug on OSX (STR #64)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 06:10:54 +00:00
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
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
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
Michael R Sweet
7a89877eee Add const char * add methods to Fl_Check_Browser.
Fix cursor code in text widgets.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2840 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-14 21:05:22 +00:00
Michael R Sweet
7327b74032 Don't popup menus or activate buttons when (SHIFT/CTRL/ALT/META) + space
is pressed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-11 20:22:21 +00:00
Michael R Sweet
bf9a09d387 Patch from Steve Davies for Xft 2.x.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-09 22:59:06 +00:00
Michael R Sweet
6a4c701e8f Don't use built-in snprintf/vsnprintf functions on Tru64 4.0, since there
are no prototypes and not all patch levels provide them.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-08 19:50:35 +00:00
Michael R Sweet
f095d5e3f7 Fix keyboard composition for X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-08 16:05:33 +00:00
Michael R Sweet
4f15037e8e Tab moves forward in menu, Shift-Tab moves backward.
CTRL-V no longer segfaults Fl_Text_Editor when the clipboard is empty.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-08 15:57:10 +00:00
Michael R Sweet
e5cdd193b2 Fix label redraw bug.
Remove unused variable.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-08 15:45:33 +00:00
Michael R Sweet
ee58dd2f62 Add draw_children() method to Fl_Group.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-08 15:22:15 +00:00
Michael R Sweet
f3078e51e0 Fix widget construction code for custom/named widget classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-01 14:17:36 +00:00
Michael R Sweet
299ebf295a Update tile documentation to be explicit about widgets touching and doing
their own borders.

Support CMD+[cxv] for copy/cut/paste on OSX.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30 14:23:16 +00:00
Matthias Melcher
36656517e6 Unswapped MacOS modifier keys. event_key and event_text should return
the expected values now.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30 01:01:53 +00:00
Michael R Sweet
a5131e1959 Fix focus hogging by the Fl_Tabs widget.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 20:44:22 +00:00
Michael R Sweet
263f2ed1e6 Fix OK button when doing directory selection.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2708 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 20:12:36 +00:00
Michael R Sweet
521ab78b9a Fix file chooser absolute path bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 20:07:34 +00:00
Michael R Sweet
7d0d281fb4 2.0 tooltip changes into 1.1.x.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2704 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 19:45:10 +00:00
Matthias Melcher
314a351940 MacOS windows were rsizable even if size_range would not allow a resize.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 19:23:55 +00:00
Michael R Sweet
7e128e13da Fix cursor problems and add Shift-Delete, Ctrl-Insert, and Shift-Insert
to the default key mapping.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2700 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 17:34:47 +00:00
Michael R Sweet
b20688cfbf Ignore OSX -psn_N_NNNNN option.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-28 19:43:24 +00:00
Michael R Sweet
7a8ba8be1a Changelog update.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2696 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-28 15:18:09 +00:00
Michael R Sweet
913561c630 Fix handling of directories with \ in them.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2694 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-28 15:00:56 +00:00
Michael R Sweet
4f75130870 Limit resizes to 1 line minimum.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-24 17:26:03 +00:00
Michael R Sweet
9e0efc1e88 First fixes for 1.1.2 - Fl_Scrollbar shouldn't take keyboard focus,
move Fl_Slider focus stuff to main handle() method, use Fl_Light_Button
in scroll demo.

Bump version numbers to 1.1.2.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-24 12:53:41 +00:00
Michael R Sweet
c300426e4c Fix Fl_Text_Display cursor drawing bug...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-23 13:21:14 +00:00
Michael R Sweet
a79e377dc7 Changelog.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-22 17:47:23 +00:00
Michael R Sweet
3939b6cde5 Dammit, the NEdit code update before 1.1.0 introduced "bool" back into
Fl_Text_*.  Rather than breaking binary compatibility, add the necessary
configure check and code in config.h.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-22 13:45:23 +00:00
Michael R Sweet
82eeab48e6 Initialize backbuffer_bad under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-20 06:06:31 +00:00
Michael R Sweet
8276f8b307 Implement Fl_Shared_Image::uncache().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-20 03:13:56 +00:00
Michael R Sweet
65c019830b Make sure that font names are zeroed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-16 23:02:49 +00:00
Michael R Sweet
7db8fe569d Preliminary OpenGL single-buffering fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-15 20:45:58 +00:00
Michael R Sweet
1d42e4784b BC++ workaround...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 20:48:14 +00:00
Michael R Sweet
9282371cb5 Use 2.0 drawing code for check marks...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2674 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 17:03:47 +00:00
Michael R Sweet
be58513af7 Use memmove() instead of memcpy() in several key places.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 14:17:24 +00:00
Michael R Sweet
fddb73a5f2 Bug #621737: Add range checking for the width and height arguments to the
::copy() methods.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 13:54:10 +00:00
Michael R Sweet
fe8518f37c Fix bug #621740 - tooltips stay up in WIN32 when USE_TRACK_MOUSE is not
defined.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2670 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 13:46:56 +00:00
Michael R Sweet
1907ad9473 Set flag so that destructor will free memory used by PNM images.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 02:30:20 +00:00
Michael R Sweet
5d4b4d571b fl_filename_match() was not doing a case-insensitive comparison on UNIX
(only OSX and Windows...)  This makes cross-platform patterns complicated...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2667 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 02:12:15 +00:00
Michael R Sweet
3a1b6495c4 Fix focus box redraw bug for buttons with FL_NO_BOX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2666 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 20:08:16 +00:00
Michael R Sweet
0d2a4632bb Fix SF bug #620633 - crash on redisplay in Fl_Text_Display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 20:02:58 +00:00
Michael R Sweet
8b7b26b7bf Take focus when the user presses a shortcut.
Call the callback when the user clicks or drags in a readonly input
field.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 19:39:49 +00:00
Michael R Sweet
77c3efad19 Matthias's fl_filename_relative() fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 19:33:22 +00:00
Michael R Sweet
8e0ec8482e Matthias's BMP file loader updates (16-bit + transparency support)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2662 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 19:26:33 +00:00
Michael R Sweet
b40f5fb69e Documentation updates.
Bump version to 1.1.1.

Fix "no change" button in FLUID.

Set dirty flag when changing nodes in Fl_Preferences.

Add the extra include dir options when doing "fltk-config --compile foo.cxx".


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-07 13:19:22 +00:00
Michael R Sweet
5c8ccb8289 Vertical scrollbars didn't draw inactive arrows...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-06 18:37:14 +00:00
Michael R Sweet
8d552439c7 New Fl_Widget::redraw_label() method to cleanly redraw the label of a
widget (this should eliminate the extra flicker some users have complained
about...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-04 15:59:29 +00:00
Michael R Sweet
add787dcf7 Update changelog...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-04 02:31:58 +00:00
Michael R Sweet
14f4321330 Fix "create" handling of new-directory button.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-03 15:46:30 +00:00
Michael R Sweet
b6e2aceb4a Fix the filename pattern in FLUID for images.
Better KDE installation directory detection at run-time.

Fix Fl_Preferences::entryExists().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-03 15:23:46 +00:00
Michael R Sweet
68a510da5d If a submenu won't fit to the right of the parent menu, then display it
to the left (instead of on top of the parent...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-02 20:09:12 +00:00
Michael R Sweet
5fe1f6c1ec Fix handling of a trailing "\" in Fl_Menu_::add()...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-01 18:37:27 +00:00
Michael R Sweet
fcd05e51c5 Middle mouse click/drag moves scrollbar directly to the mouse position.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-28 12:04:12 +00:00
Michael R Sweet
7ef44a5266 Fix editor syntax highlighting (bug #613089)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-26 20:43:03 +00:00
Michael R Sweet
0c0035904c Fix bug #613088 - Fl_Text_Display crash.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-26 20:27:16 +00:00
Michael R Sweet
e04a3734e7 Apply patch from George Garvey to make Fl_Text_Display/Buffer based on
NEdit 5.3...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-20 19:59:45 +00:00
Michael R Sweet
f9f28ad12a Fix MacOS X 10.2 idle handling.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-20 17:56:56 +00:00
Michael R Sweet
e27f09e5ec Fix keyboard handling in Fl_Glut_Window::handle().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-19 02:53:00 +00:00
Michael R Sweet
0792860a57 Add support for XV/GIMP thumbnail format (P7)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-17 20:27:19 +00:00
Matthias Melcher
f97b388e38 Added entry to CHANGES
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-05 20:47:30 +00:00
Michael R Sweet
32b9640e1c Fixes from Matthew Morrise.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-04 20:33:18 +00:00
Michael R Sweet
b700c8c088 Fix Fl_Menu_Button focus problems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-01 22:39:33 +00:00
Michael R Sweet
ec494401c1 Make sure all strings can be localized in the dialogs.
Move the "preview" button over so there is room for localization.

Fix the order of buttons in convenience dialogs.

Update "ask" to use the fl_input function.

Fix 4-bit BMP file loading.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-30 16:58:16 +00:00
Michael R Sweet
0d3d763eab DLL fix from Robin Hakanson.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2602 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-20 19:42:14 +00:00
Michael R Sweet
36e719a0b2 Fix infinite loop bug in Fl_Text_Display::resize()...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2599 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-20 17:12:19 +00:00
Michael R Sweet
a166e84e6f Fix FL_RELEASE handling in Fl::handle() - didn't allow grab() to override
pushed(), which caused problems for menus...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2597 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-20 16:14:04 +00:00
Michael R Sweet
323ae2238e Albrecht's DND under WIN32 bug fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-20 15:29:25 +00:00
Michael R Sweet
43519f1264 Add Cygwin check for scandir(); fix from Ken Yarnall.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-19 18:11:24 +00:00
Michael R Sweet
dff050d64f Changelog update...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-17 21:34:25 +00:00
Michael R Sweet
ab53ef9a44 Fix FLUID image problems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2591 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-16 20:10:21 +00:00
Michael R Sweet
a2c193c777 One more browser redraw fix from Ken.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-16 19:51:31 +00:00
Michael R Sweet
f9a0613202 Fl_Help_View didn't support HTML comments.
Fl_Help_View didn't add the cellpadding when doing colspan's...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-15 19:38:53 +00:00
Michael R Sweet
6c3f9a03d1 Resize the text display widget when the buffer is changed.
Don't stop a resize if we are not visible (holdover from 2.0 code...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-15 17:26:46 +00:00
Michael R Sweet
f0ea022d0e Use box function to redraw Fl_Browser_, Fl_Input_, and Fl_Slider.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-13 15:42:44 +00:00
Michael R Sweet
5ecf5cde98 Fix modal() handling of FL_RELEASE events.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2578 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-12 20:45:28 +00:00
Michael R Sweet
1860641362 Fix more compile errors.
Redraw Fl_Input_ background using the box() function + clipping.

Bump to 1.1.0rc6.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-12 19:42:55 +00:00
Michael R Sweet
a6b935289e Move the rest of the image file formats (except for XBM and XPM) to
the fltk_images library; saves about 16k in the FLTK core library on my
Intel system.

Fix a memory leak bug in most of the fl_set_fonts*.cxx implementations;
as a result, the Fl_Fontdesc structure now has a fontname member to old
the human-readable font name.

Lots of fixes for shadowed variables, etc.

Use snprintf, strlcpy, and strlcat in more places.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-09 01:09:49 +00:00
Michael R Sweet
27a54dc22b Fl_Text_Display::resize() should be public...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2564 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-05 18:03:58 +00:00
Michael R Sweet
a11a31ff78 Range check Fl_Text_Buffer::search_forward().
Don't use png_read_destroy() - it doesn't free all memory.

Add uncache() method to image classes.

Memory/initialization bugs in Fl_File_Chooser (valgrind)

Make sure both Fl_Window constructors have default cursor initialization
code...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-05 17:50:25 +00:00
Michael R Sweet
685100b122 Add default cursor as data the Fl_Window tracks individually (with the
default being the original global default...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-01 02:15:43 +00:00
Michael R Sweet
7038a9eeae Send FL_LEAVE events before FL_ENTER events.
Only change the cursor when the widget is activated.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 18:40:50 +00:00
Michael R Sweet
9456baab50 Fix some problems with the filename field and handling selections in the
root directory (Fl_File_Chooser).

Add documentation for the fl_cursor() function.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 18:33:49 +00:00
Michael R Sweet
1cea00ad00 Don't paste if there is no data to paste.
Change the cursor in Fl_File_Input based on the location in the field.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 18:10:03 +00:00