Michael R Sweet
1f39ef0323
Fixed menu problem - FL_MOVE/DRAG processing stopped before sending the
...
events when pushed() was set...
Also allow FL_MOVE and FL_DRAG in menu handler()...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2230 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-15 23:12:30 +00:00
Michael R Sweet
8b6acd43eb
Fix tooltip documentation (too much & quoting... :)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2229 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-15 21:05:14 +00:00
Michael R Sweet
cc89f57ccf
Use access() instead of stat() to determine if the directory exists.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2228 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-15 19:45:38 +00:00
Michael R Sweet
33f05fa72a
Fix loading of old BMP files.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2227 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-15 19:42:34 +00:00
Michael R Sweet
e217ac0564
Optimize redraw of focus stuff in radio/check buttons and tabs.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2226 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-15 16:50:27 +00:00
Bill Spitzak
786e3ed0a8
More fixes for tooltips blinking.
...
Tooltips do not appear unless you move the mouse across the border of
a widget (previous version would pop up the tooltip after the timeout
after any movement).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2224 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-15 16:37:06 +00:00
Michael R Sweet
6f84fa1caa
Changelog update...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-15 01:49:23 +00:00
Bill Spitzak
d07b6f0ecb
Another change to tooltips noticed when making the 2.0 version.
...
It appears that Fl::remove_timeout() may be broken in 1.1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2221 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-14 15:55:20 +00:00
Bill Spitzak
76b185b33e
Clicking on tooltips makes them go away and they don't reappear.
...
Tooltips do not appear when widgets are entered for reasons other
than the mouse moving (ie like when an overlaying window disappears)
Possible fix for WIN32 titlebar color when tooltip is instantly
displayed for a new widget (untested).
Recursion problem in DnD fixed (caused a drag inside the same program
to paste many times into where you dropped). Tested only on X but
this bug may be X-only.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2220 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-14 15:24:03 +00:00
Michael R Sweet
7a455a05c6
WIN32 compile fixes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2218 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-13 20:54:49 +00:00
Michael R Sweet
fe1d700e5c
Fix click-on-tooltip bug.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-13 17:23:10 +00:00
Michael R Sweet
7ea7823c82
Expand menu item fix for all menu widgets (menu bar, menu button, choice,
...
submenu, etc.)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-13 15:51:47 +00:00
Michael R Sweet
f953ffc27d
Change _WIN32 to WIN32 for 1.1.x tree.
...
Cleanup recent tooltip changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-13 15:43:10 +00:00
Bill Spitzak
80d05eb962
Updated tooltip documentation
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-13 14:01:38 +00:00
Bill Spitzak
2e7f053e2b
Removed 2.0 destroy() call from WIN32 code
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-13 14:00:46 +00:00
Bill Spitzak
80465e4bff
Backported the fltk2.0 tooltips. This may be somewhat binary incompatable
...
as Fl_Widget::tooltip(x) is no longer an inline (though the previous version
will work if there is at least one call to the new one). It may be better
to just enable tooltips all the time. Also Fl_Tooltip::enable() is changed,
but few programs call that.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2210 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-13 05:05:11 +00:00
Michael R Sweet
a35c5a6a2e
Fix tooltips on some of the valuators...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2209 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-12 11:12:56 +00:00
Michael R Sweet
a34e8e40f6
Fix FLUID menu drawing bug reported by Paul Sydney (didn't rebuild the
...
menu after reading the last attribute in a menu item...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2208 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-12 02:19:18 +00:00
Michael R Sweet
a04c2e28e7
Default argument patch from Fabien Constantini.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2207 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-12 01:02:17 +00:00
Michael R Sweet
e2084610ad
Fix link errors.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-10 15:42:44 +00:00
Michael R Sweet
ad9546204c
Use 16x16 KDE icon images by default.
...
Tweek plastic boxtypes (didn't draw to the edge of the bounding box)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-10 00:18:37 +00:00
Michael R Sweet
c56bb65a97
Add documentation for readonly() and input_type().
...
Fix "make distclean" so that it removes all of the library files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-08 12:44:52 +00:00
Michael R Sweet
84bccaf8e7
Add #include <X11/Xlib.h> to Xdbe check...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2202 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-07 00:55:48 +00:00
Michael R Sweet
bde72ca8ce
Change "typedef enum {} type" to "enum type {}"...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-07 00:43:20 +00:00
Michael R Sweet
d37c6483ab
Get rid of a potential divide-by-zero in new arc code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-07 00:17:07 +00:00
Michael R Sweet
c2aa513a5a
Merge WIN32 ValidateRgn() fixes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2199 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-06 21:15:48 +00:00
Michael R Sweet
78569947b0
Don't insert text in an Fl_Multiline_Output widget.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-06 04:15:21 +00:00
Michael R Sweet
070a4044eb
Clip text in file list properly.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-06 04:11:50 +00:00
Michael R Sweet
10351f0254
Make dirent.h include only in non-WIN32 or Cygwin modes...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-04 18:41:55 +00:00
Michael R Sweet
251ec79d40
Restore window label (title) after drawing the group.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2194 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-04 12:49:31 +00:00
Michael R Sweet
e1c5328477
Fix scandir dirent stuff under WIN32.
...
Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2193 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-04 12:37:41 +00:00
Michael R Sweet
dc1155a116
Add FL_EXPORT as a declaration-only prefix like extern.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-04 05:28:11 +00:00
Michael R Sweet
fbf099f11e
Fix portability problems with Solaris Forte C++ compiler.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-03 20:30:19 +00:00
Michael R Sweet
35d50f14a9
Add Jim to the credits file.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-03 19:34:06 +00:00
Michael R Sweet
c20f422141
Use new arc drawing code from Jim Wilson that we are also using in
...
2.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-03 19:33:39 +00:00
Michael R Sweet
9cc064677c
Add Albrecht's radio circle drawing fixes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-03 14:59:31 +00:00
Michael R Sweet
2f9a58d608
Don't open the display to load a .fl file.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-03 14:33:00 +00:00
Michael R Sweet
5122f3b6f3
Removed extra definition of file chooser functions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-03 14:21:32 +00:00
Michael R Sweet
e2f9b55715
Remove debug statement in arc code..
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2185 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-03 12:49:36 +00:00
Michael R Sweet
c3dd2a48ad
Fix teeth on wide arcs.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-03 01:18:15 +00:00
Michael R Sweet
6298f9a0d8
Fix include for preferences example.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 19:57:24 +00:00
Michael R Sweet
a532c2689d
Update source distribution script (shouldn't use ssh1)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 15:40:24 +00:00
Michael R Sweet
b010bc55c4
Add sort function to file chooser.
...
Document sort function and label strings for chooser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 15:24:34 +00:00
Michael R Sweet
e80eb3ebeb
Tooltip fix from Albrecht.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2178 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 15:02:31 +00:00
Michael R Sweet
ae0a956f2e
Add sort function as optional argument to Fl_File_Browser::load().
...
Add docos for sort functions and changes to fl_filename_list() and
Fl_File_Browser::load().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 14:31:10 +00:00
Michael R Sweet
47e7de17bc
Fix new filename stuff for WIN32.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 14:15:46 +00:00
Michael R Sweet
a237472c70
Update fl_filename_list() to accept a sort function to use, and export
...
fl_alphasort, fl_casealphasort, fl_casenumericsort, and fl_numericsort.
Still need to document this and provide hooks in the file chooser and
browsers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 11:11:01 +00:00
Michael R Sweet
540739e6d7
Fix filename handling; this should take care of every scenario...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 10:08:44 +00:00
Matthias Melcher
508a9abbc8
Update some FLUID documentation, no snapshots though.
...
Tiny bug in fluid.cxx that would still show the wrong
message if it was unable to load a file from the history.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 04:23:33 +00:00
Michael R Sweet
4b82930e04
DND conditional stuff.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-01 23:45:52 +00:00