Michael R Sweet
fe1e8a37ee
Fl_Browser_ and friends now support FL_WHEN_ENTER_KEY for both Enter/Return
...
and double-clicks (STR #1818 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 16:20:16 +00:00
Michael R Sweet
a9ee420fbf
Fl_Help_View did not release the images it used (STR #1817 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 16:08:23 +00:00
Michael R Sweet
034a26be41
Update scrollbars when showing or hiding items (STR #1724 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20 21:57:17 +00:00
Michael R Sweet
d76c1e8cd0
Remove unused variables.
...
Fix fltk-config --libs and fltk-config --ldstaticflags (STR #1799 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20 21:15:08 +00:00
Michael R Sweet
ac3ab91ca2
Fix window hide bug on WIN32 (STR #1748 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20 17:00:56 +00:00
Matthias Melcher
d2242d59ef
STR 1745: in fl_ask, if the rightmost button has a shortcut in its label, the default 'Escape' is overridden.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-19 16:21:19 +00:00
Matthias Melcher
2217ab964b
STR #1767 : Adding "remove" function for the Fl_Check_Browser
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-19 15:46:03 +00:00
Matthias Melcher
faf6126897
STR #1805 : removed hard-coded scroll bar widths.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-19 15:13:45 +00:00
Matthias Melcher
a965dff175
STR #1742 : Updated documentation to reflect the true nature of "selection()" and "value()" for Fl_Multi_Browser which can be quite surprisin for unsuspecting customers.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 18:39:23 +00:00
Matthias Melcher
25bae9b383
STR #1715 : Added empty "awake" function for non-threaded dll's
...
in Linux
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5950 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 10:44:28 +00:00
Matthias Melcher
c6e6092657
STR #1761 : fixed fl_filename_isdir for '/'-path in Unix
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5948 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 10:12:32 +00:00
Matthias Melcher
705780a301
Fixed Fl_Chart drawing (STR #1756 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5942 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-06 17:33:17 +00:00
Matthias Melcher
4261960ba4
STR #1714 : fixed bad deallocation (NULL pointer issue) in Fl_Preferences.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-20 13:07:23 +00:00
Matthias Melcher
413d9295ac
#1706 : on WIN32, the attempt to map a subwindow when the parent window was not mapped yet would result in the subwindow never being mapped. This change will defer mapping until the parent window is shown.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 13:08:57 +00:00
Matthias Melcher
933ce8bf07
Fixed wrong array size.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 13:03:39 +00:00
Matthias Melcher
18dbfc8a57
STR #1706 : mapping a subwindow with an unmapped parent window would crash under X11.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 08:43:37 +00:00
Matthias Melcher
38cc8c2f4d
Fixed rendering of grayscale images with alpha channel on unaccelerated machines. Thanks, Sanel (STR #1703 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-07 17:23:41 +00:00
Matthias Melcher
688c47020f
Typo HAVE_LONg_LONG instead of HAVE_LONG_LONG
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-21 15:56:17 +00:00
Michael R Sweet
d8c288df3e
Fix compiler warnings/errors.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:18:31 +00:00
Michael R Sweet
73d01dd659
Fix all compiler warnings from various build systems.
...
Fix vsnprintf() implementation to properly handle long and long long ints.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 00:01:06 +00:00
Matthias Melcher
04ced5396e
STR #1681 : On WIN32 WM_PAINT messages, FLTK would first render the damaged area and then set the area as valid again. While this is mostly fine on single CPU machines, multi-CPU machines may re-invalidate areas that are currently drawn, resulting in unrendered strips when another window was moved quickly across an FLTK window during its redraw phase.
...
The new implementation validates the damaged area as quickly as possible, allowing new damage requests to be handled correctly, even while we are still redrawing the same damaged area.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 12:47:49 +00:00
Matthias Melcher
849efb47ae
STR #1625 : yet another slight change in the "fl_contrast" cut-off value that hopefully now delivers best results for all color schemes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5835 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 11:46:07 +00:00
Matthias Melcher
cd0defc000
Removed warning about unused variable.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 15:51:00 +00:00
Matthias Melcher
08c5fb6ff4
- Fixed calculation of stride for image scaling and color manipulation (STR #1673 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 13:18:44 +00:00
Matthias Melcher
8f8882a084
Reverted my changes in the message dialog boxes. Reapplied the static size icon, fixing it to 50x50 pixels and avoiding the superlarge bang on long texts.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-09 12:42:39 +00:00
Matthias Melcher
01d6c3b3fc
STR #1670 : Fixed gcc warning in Mac source code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-06 15:54:07 +00:00
Matthias Melcher
b2ca1b9918
Fixed for Linux, based on my previous checkins
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5795 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-02 08:50:21 +00:00
Matthias Melcher
b4b6776d8f
Added static icon, text selection, and HTML formatting to fl_message etc. (STR #1626 )
...
Fixed selection of first word in Fl_Help_View
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 23:20:39 +00:00
Matthias Melcher
47e802218d
Fixed endless loop in Fl_Text_Display (STR #1655 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 21:09:39 +00:00
Matthias Melcher
488f27d1eb
STR #1652 : allowing shortcuts in tabs
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5791 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 20:20:21 +00:00
Matthias Melcher
18f2016b1f
Removed the Fl::set_awake_cb API and documented the Fl::awake(function, data) API.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-20 10:41:14 +00:00
Matthias Melcher
27568cfa1c
Better contrast ( #1625 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-20 09:52:51 +00:00
Matthias Melcher
cae6dd02b2
Fixed missing (and empty) unlock_ring and lock_ring for Unix builds without multithreading.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-20 09:42:36 +00:00
Matthias Melcher
4102380d65
Some improvements as discussed. Not a final feature! May be removed without notice!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5732 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 19:48:45 +00:00
Matthias Melcher
c4ad147d5f
Fixed previous Fl::awake() commit for UNix and OS X.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 19:21:41 +00:00
Matthias Melcher
11a15d83a2
This is a suggested change. It is complete except for documentation.
...
I did not like the awake_cb system at all. These changes implement Fl::awake(Fl_Awake_Handler, void*) which is called from a thread and tells the main loop to call the specified handler (rather a callback I guess) as soon as possible from within the main thread. It is implemented as Fifo (currently 1024 entry ring buffer), so handlers are called in the order that they are generated in.
"test/threads" was modified to change the label color as soon as a thread reaches 10000 - pretty boring, but it show the wonderful simplicity of this approach: you can write libraries that don't need to add to the main loop or register a handler at all... .
I will do some more stress testing tonight.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 17:15:03 +00:00
Matthias Melcher
a1f5426a97
STR #1617 : fltkgl.vcproj in the vnet directory had missing closing brackets in the XML code. The question remains: who ate the slashes?
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5721 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-27 19:23:24 +00:00
Matthias Melcher
d18f2b26b5
Removed warning about unused variable.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5714 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-25 00:00:49 +00:00
Matthias Melcher
3be4efbd8a
First attempt at fixing all WIN32 scrolling issues. This code uses some (legal) trickery and should take multi-monitors and partially obscured windows into account. Albrecht, I do not have a multi-monitor setup. Please verify this fix on your machine. Thanks. (STR #1601 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-24 23:57:49 +00:00
Matthias Melcher
c47b4c91ae
Avoiding to wait forever under Cygwin. (STR #1608 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-23 19:27:43 +00:00
Matthias Melcher
7696c64a46
Setting pointers in Fl_Preferences-destructor to zero. This should not be needed, but may help Cygwin figure it out correctly. I re-tested in Valgrind, and no members of deleted groups are ever accessed, just as I said. There is a slight p[ossibility of such false access if a C++ compiler does not conform to the standard and calls destructors in the fasle order.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5710 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-23 15:37:53 +00:00
Matthias Melcher
e954c5d433
Fixed file chooser to behave transparently to the current group setting
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5704 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-21 20:23:03 +00:00
Matthias Melcher
d1f1f1f26f
Flushing file chooser preferences after every change to avoid data loss due to application crash
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-21 20:08:07 +00:00
Michael R Sweet
00c66abc0e
Update copyright years and use "#ifndef" instead of "#if !defined".
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-20 18:43:10 +00:00
Matthias Melcher
8ea59b412e
Fixed Watcom compiler setup without verification using a patch by mnieuw
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-20 17:02:41 +00:00
Matthias Melcher
658162c509
Fixed WIN32 version of prevois change (undefined variable)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-13 14:38:43 +00:00
Matthias Melcher
1b6f493c55
Updated 'hotspot' positioning of windows in OS X and WIN32 to keep the hotspotted window entirely on the screen that contaings the mouse pointer (STR #1599 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5696 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-13 14:36:08 +00:00
Matthias Melcher
474fa58939
Fixed clipping in OS X Quartz offscreen buffers (STR #1595 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-12 16:41:41 +00:00
Michael R Sweet
1dd28f6e4b
Update dependencies.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-10 14:31:12 +00:00
Michael R Sweet
72ca38cdd9
Fix WIN32 builds.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-09 21:57:06 +00:00