Commit Graph

1344 Commits

Author SHA1 Message Date
Michael R Sweet
7e8ec10e6d Add missing docos for Fl_Progress.
Add Fl_File_Chooser::directory_label, filename_label, and filter_label
static string pointers for labels (allows for I18N of the file chooser).

Fix typos in other docos.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2098 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-18 20:37:29 +00:00
Michael R Sweet
9ca9171e7a Fl_Text_Buffer docos.
Reformat function reference (still need to add rest of drawing
functions...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2096 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-18 19:10:56 +00:00
Michael R Sweet
c2521c01da Bump version info to 1.1.0rc1.
Force full redraw in Fl_Input when using Xft or OSX anti-aliased text.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-16 17:11:11 +00:00
Michael R Sweet
8964212393 OSX threading support - a little buggy right now, but hopefully we'll be
able to work out the kinks without too much effort.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2093 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-16 15:49:06 +00:00
Michael R Sweet
dca53e213a Implement file system list for file chooser on OS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-16 14:50:10 +00:00
Michael R Sweet
989b0cd372 Update changelog.
Add missing methods to Fl_Valuator docos.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2091 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-16 12:14:27 +00:00
Bill Spitzak
772b36810d Win32 version stores all the info passed to WndProc into fl_msg so an
add_hander method can see it.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2089 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-16 07:47:31 +00:00
Michael R Sweet
20adf5e2c6 Add credits file for 1.1.x branch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-15 20:52:26 +00:00
Michael R Sweet
60a1ae1786 Make sure that hotspotted windows stay on the screen under MacOS X.
Hide any tooltip when showing a window under MacOS (window manager
strangeness...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-15 20:30:06 +00:00
Michael R Sweet
bcb2033a96 Fix transparency stuff for MacOS X; currently it appears that CopyDeepMask
does not work with an 8-bit mask image, so we can't provide true alpha
blending just yet... (just the screen-door transparency provided on X11
and WIN32...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-15 17:18:48 +00:00
Michael R Sweet
e1828d045f Change fl_create_deepmask() to fl_create_alphamask().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-15 12:19:01 +00:00
Michael R Sweet
0c396a615b Added fl_create_deepmask() method for creating alpha blend masks.
Implemented Fl_RGB_Image alpha blending for MacOS X - others still
get 1-bit screen-door transparency...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2083 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-14 21:26:06 +00:00
Michael R Sweet
0f61132a75 Remove unnecessary tooltip handle code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2082 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-14 20:49:06 +00:00
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