Michael R Sweet
b530634804
Add Cygwin drive code.
...
Fix typos.
Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2081 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-14 12:51:56 +00:00
Michael R Sweet
8e3cdc0ac1
Propagate events from the tooltip window to the widget we are tooltipping
...
for...
Add "tooltips" resource for default state of tooltips.
Fix another tooltip cycling problem.
Fix default help and argument processing (didn't have the right min
chars for matching, and didn't list new options)
Update docos to list new tooltip resource and list of standard arguments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-14 02:43:48 +00:00
Michael R Sweet
dc355ebb54
Add Fl::dnd_text_ops() methods.
...
Fl_Input now conditionally supports DND out via run-time option.
Fl_Input now clears selection if you click inside the selection when
DND is turned on.
Added support for scheme, dndTextOps, and visibleFocus resources under
X11.
Documented all X resources supported under X11...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2078 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-13 22:17:46 +00:00
Michael R Sweet
7f0c218c1c
Fix case problems in include filenames...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2077 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-13 20:28:51 +00:00
Michael R Sweet
9e2f362016
Move ENTER/LEAVE handling to Fl_Box so that the default event handler
...
in Fl_Widget doesn't interfere with existing widgets.
Remove unnecessary strcasecmp defines.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2076 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-12 20:16:07 +00:00
Michael R Sweet
aab290b503
Remove Fl_Output.cxx from VC++ project files...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2075 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-12 18:17:35 +00:00
Michael R Sweet
7482426735
Make Fl_Output a subclass of Fl_Input, and add input_type and readonly
...
methods/constants to support Fl_Output as a special case of Fl_Input
(you can do everything but change the text in Fl_Output...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2073 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-11 11:52:43 +00:00
Michael R Sweet
ef36be385e
Redefine FL_ color values to use the color cube.
...
Add FL_BACKGROUND_COLOR, FL_BACKGROUND2_COLOR, and FL_FOREGROUND_COLOR,
and use them instead of FL_GRAY, FL_WHITE, and FL_BLACK, respectively.
(FL_GRAY defined to FL_BACKGROUND_COLOR for back-compatibility)
Add fl_rgb_color(uchar g) inline method to map 8-bit grayscale to
24-bit RGB color.
Doco updates for all of this...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2072 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-11 10:46:19 +00:00
Michael R Sweet
a9b5c825a4
Do not use false and true in 1.1.x code...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2070 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-10 19:22:45 +00:00
Michael R Sweet
9a1728905c
Remove yet another use of "true" in 1.1.x code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2069 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-10 18:51:22 +00:00
Michael R Sweet
f574287616
Update dependencies...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2067 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-10 16:27:16 +00:00
Michael R Sweet
126def8800
Update docos for all configure options.
...
Bump version numbers to 1.1.0b13.
Need to include <config.h> (via "flstring.h") in src/Fl.cxx to
get Fl_Window::hide() to call fl_destroy_xft_draw()...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2066 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-10 16:26:33 +00:00
Michael R Sweet
06a23813f8
Wrap remaining DnD includes and code for WIN32 (Cygwin with GCC 2.x
...
won't work)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-10 15:01:22 +00:00
Michael R Sweet
a84320659b
Fix enter/leave on windows to properly handle tooltip focus...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-10 01:32:03 +00:00
Michael R Sweet
bab08d8347
Hopefully fix the WIN32 resize on move bug.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 21:17:01 +00:00
Michael R Sweet
77a3b80dff
OK, back out -fvtable-thunks and add conditional compile for WIN32
...
DnD code for Cygwin...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 20:36:28 +00:00
Michael R Sweet
921f66e3e6
Add "-fvtable-thunks" to OPTIM when compiling with Cygwin.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2061 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 18:18:25 +00:00
Michael R Sweet
4586bf0fcc
Tooltip fixes: ignore keyboard events, immediately disable new tooltips,
...
show tooltips for box widgets.
Add docos for Fl_Widget::tooltip() methods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 17:20:24 +00:00
Michael R Sweet
17374b20bb
Update fl_beep() to use the PC speaker for FL_BEEP_DEFAULT.
...
Add docos for fl_beep...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 09:38:15 +00:00
Michael R Sweet
d7b371bfe6
Move -mwindows and -DWIN32 back to C*FLAGS and LDFLAGS for Cygwin builds.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2058 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 09:22:15 +00:00
Michael R Sweet
84950c0af7
Fl_Output didn't grab input focus, and so was unable to handle CTRL-C
...
to copy selected text, and wouldn't know when to redraw itself when
it lost focus...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2057 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-08 18:32:16 +00:00
Michael R Sweet
6fa4abfe54
Fix NULL argument to fl_filename_name()...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2056 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-07 18:31:55 +00:00
Michael R Sweet
ed45695bf5
Add Fl_BMP_Image.html to list of HTML files.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2055 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-03 22:46:04 +00:00
Michael R Sweet
d5c04e175f
Fix minimum width of input field to 340 pixels...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2054 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-02 19:30:52 +00:00
Michael R Sweet
c747d63cff
FLUID code that uses snprintf() needs to include src/flstring.h...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-01 16:19:32 +00:00
Michael R Sweet
82f5d08fd6
Add cast for WIN32 font enumeration calls...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2051 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-01 15:42:17 +00:00
Michael R Sweet
b083119f50
Fix handling of filename matching - wasn't checking the basename of
...
the filename for a match.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-29 14:16:03 +00:00
Michael R Sweet
2deb2fdfc9
Add image handler to Fl_Shared_Image class to support additional file
...
formats.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-29 11:59:56 +00:00
Michael R Sweet
ed47c6972b
Change C++ comments in flstring.h to C comments...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2047 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-28 16:57:41 +00:00
Michael R Sweet
97f4474339
Add fltk_forms library stuff to MingW makeinclude file...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2046 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-28 13:32:22 +00:00
Michael R Sweet
9fcec7788d
Test makefile didn't include makedepend file...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-28 13:20:11 +00:00
Michael R Sweet
14e6251b80
More HTML fixed from Alexander.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2044 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-27 12:40:59 +00:00
Michael R Sweet
ba95cce4a8
Fix HTML errors...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2042 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 18:51:07 +00:00
Michael R Sweet
ae36f91c3b
Fix line endings on OS/2 files...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2041 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 18:47:02 +00:00
Michael R Sweet
d09063e317
Remove old bc5 files which don't work...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 17:38:17 +00:00
Michael R Sweet
fdf2e2e690
Make all implementations of cut/paste/dnd consistent with global
...
fl_selection_xyz state vars...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 17:37:42 +00:00
Michael R Sweet
e178550fb5
Fix MacOS cut/paste (fl_selection_requestor not defined, and some
...
mixup between selection_ and fl_selection_...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 17:35:18 +00:00
Michael R Sweet
44b28b56ef
Improve appearance of Fl_Choice when scheme is set to plastic.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 00:50:16 +00:00
Michael R Sweet
96d4075b52
OS/2 update from Alexander Mai.
...
Add $(EXEEXT) to test program makefile dependencies on FLUID...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 00:05:18 +00:00
Michael R Sweet
887fe14a2b
Fix Fl_Choice drawing bugs.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 22:11:52 +00:00
Michael R Sweet
b6c5ed9c33
Define USE_XDBE to HAVE_XDBE value...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:56:41 +00:00
Michael R Sweet
c33486c904
Fix spelling error in spelling check message...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:55:41 +00:00
Michael R Sweet
a36605449a
Don't use the snprintf() and vsnprintf() names; instead, use fl_snprintf()
...
and fl_vsnprintf() and define snprintf and vsnprintf to fl_...
(Some compilers treat snprintf() and vsnprintf() differently, and we
also don't want to collide with other libraries that might provide their
own implementation...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:55:05 +00:00
Michael R Sweet
915d0a748b
Fixup the VC++ project files for fltkforms.lib.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:52:07 +00:00
Michael R Sweet
2454c390a9
Split out forms stuff in MSVC++ project.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:41:50 +00:00
Michael R Sweet
5c360947ee
Move forms code to fltk_forms library, a la 2.0.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:39:01 +00:00
Michael R Sweet
6c796f88c7
Rename all remaining functions that don't start with fl_ to
...
fl_foo. (filename_xyz becomes fl_filename_xyz, down becomes
fl_down, define_FL_PLASTIC_BOX becomes fl_define_FL_PLASTIC_BOX,
etc.)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:08:42 +00:00
Michael R Sweet
d7f353ddd1
Add the BC++ project file for the FLTK library.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 20:44:37 +00:00
Michael R Sweet
4fb400528e
Maybe get FLUID project working for BC++.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 20:22:15 +00:00
Michael R Sweet
158ca81620
Remove old GIF reading code that isn't used anymore...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 20:09:12 +00:00