Matthias Melcher
c468a521b0
STR #1321 : Calling Fl_Window::show() will exit from the current Fl_Tooltip. Changing window order or creating a new window is a pretty major action, so temporarily disabeling Tooltips seems beneficial. This avoids Tooltips interfering with popup menus.
...
Of course, poping up a tooltip window does *not* disable further tooltips... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-14 10:48:36 +00:00
Matthias Melcher
fee47dba98
STR 1306: udated documentation to reflect limitation in Fl::delete_widget(). For a different bug, I was forced to implement an automated widget deletion system which seems to work well. I would like to reuse that for all cases that depend on 'delete_widget', making 'delete_widget' obsolete. I will change the STR accordingly.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-14 07:24:05 +00:00
Matthias Melcher
a0cbcf3d1d
STR #1227 : Thanks to Albrecht Schlosser for commiting this patch to fix Fl_Test_Display. The little I could check seemed fine, and he's certain that he fixed the bugs that he found himself.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5194 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-13 19:08:32 +00:00
Matthias Melcher
428a283f83
Added an event variable "Fl::event_original_key()" which returns the current key code (see Fl::event_key()) before it gets mangled through the NumLock keypad conversion. This way, an application can differentiate between an arrow key and a numeric keypad w/NumLock off.
...
On Win32, releasing a numeric keypad key w/NumLock off wiould return the wrong keycode (keypad instead of arrow key).
Documentation changed accordingly. X11 code is yet to be tested.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-09 07:48:08 +00:00
Matthias Melcher
30786c2ed3
STR #1310 : OS X Quartz support fixed. All test codes now work without complaints fro Quickdraw or CoreGraphics. If no more major bugs are reported for Quartz, I will make Quartz the default over Quickdraw in the next release of FLTK 1.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5178 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-06 08:00:56 +00:00
Matthias Melcher
987d9e05f2
Fixed shortcut and default focus for message dialogs (STR #1298 ).
...
Default focus is now on the button that also reacts to the 'Enter' key. This should avoid confusion about Enter triggering the button1 or button 0.
Also, I changed the shortcut call to the new convention which works on MSWindows. I don't have a Linux system right now for testing... .
Fixed focus issues (STR #1286 , STR #1289 , STR #1296 )
fl_xfocus was not always updated, making widgets or even whole windows loose focus when any focus changes were not accompanied by a click into the same window. Also, Fl_Tabs would not redraw correctly if focus returned to the active tab.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5165 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-30 09:38:19 +00:00
Matthias Melcher
bfd2801df2
Fixed resizing in OS X. The code was not only unneccesarily convoluted, but also forced some default sizes on user requests for specific window sizes. The new code also avoids two system calls and shortens a move/size combination into a single resize, which reduces some flicker on extreme resizes (but not all flickering - Apple, what's up with that?).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-30 07:35:58 +00:00
Matthias Melcher
d814fce94d
- In Fluid, declarations starting with the keyword
...
'typedef', 'class', or 'struct' are now treated
correctly if inside a class (STR #1283 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-28 15:59:29 +00:00
Matthias Melcher
b9e4886cfe
Tabs now show the correct tooltip (STR #1282 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-21 09:41:47 +00:00
Matthias Melcher
e35e2a27a2
Included fltk.spec in configure.in
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5137 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-21 08:50:25 +00:00
Matthias Melcher
b0c7fc3ab7
Fixed insufficiently invalidated cache in Fl_Browser (STR #1265 ). Fl_Browser::cahceline was set to 0, but Fl_Browser::cache was not which lead to confusion if the cache was usable or not.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5095 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-10 10:45:59 +00:00
Matthias Melcher
fc57e07cbf
STR #1153 : This is an attempt to fix the described issues when querying multiple monitors on defferntly set up Windows environments. Would the posters please test if the new version works. Thanks.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-10 10:37:32 +00:00
Matthias Melcher
22b1499904
STR #1152 : Fixed Cygwin compiler warnings
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 14:36:58 +00:00
Matthias Melcher
8e37fbafc8
STR #1187 : Fixed missing reset of flag in FLUID
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5083 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 13:50:44 +00:00
Matthias Melcher
37e05f9df2
Fixed maximizing in OS X (STR #1221 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5041 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 02:57:15 +00:00
Matthias Melcher
4e038ef82b
STR #1169 : Fixed 'make distclean' to remove binaries inside MacOS app packages
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 01:10:00 +00:00
Matthias Melcher
d90102f9d2
Fluid Code Viewer is now truly a viewer, not an editor. I would love to allow text editing in the Code Viewer and re-enter the code into the UI, but that is currently close to impossible to implement
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 01:00:41 +00:00
Matthias Melcher
f74a812003
STR #1158 : Fl_Spinner is now fully supported by Fluid. Previously, min, max, step and value could not be edited the usual way because spinner is derived from Fl_Group, not Fl_Valuator...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 22:47:59 +00:00
Matthias Melcher
ad0fc9ca23
STR #1162 : Fl_Menu_Button::popup was trying to access a previously deleted widget (itself). The delayed deleting mechanism in 'Fl::delete_widget' did not work in this case because the main loop is called before the callback returns. The fix implements a type of automatic pointer that will be cleared to NULL should the widget get deleted. This may not be a 'nice' solution, but it does fix the problem reliably. We could actually use this for all widget pointers and remove the delayed delete mechanism alltogether
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 21:40:47 +00:00
Matthias Melcher
cbbec03b5e
fl_font(0, 0) as a first call in Xft would try to access a member in fl_fontsize, which was still set to NULL. This fix is untersted as I don't have a Unix machine here. Please verify this fix!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 13:54:08 +00:00
Matthias Melcher
8ffe967089
STR 1161: Setting a new value in Fl_Input_ wil now actually move cursor to the end of the input field as documented
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 03:06:23 +00:00
Michael R Sweet
9b0ac3c1c7
Update changelog to show all of Matthias's fixes... :)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 10:37:19 +00:00
Matthias Melcher
0b98e816d8
Fixed crash in Fl_Preferences if 2nd or 3rd argument in the 'path' constructor were NULL
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 04:34:18 +00:00
Matthias Melcher
fe9b1fce28
STR 1195: caret key lookup entry was missing on Mac OS X
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-04 11:44:20 +00:00
Michael R Sweet
e976174d61
FLUID didn't handle loading .fl files with international
...
characters properly with all compilers (STR #1150 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 16:22:06 +00:00
Michael R Sweet
192e0ed3bd
Fl_Spinner's minimum() and maximum() "get" methods were
...
misspelled (STR #1146 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 16:06:45 +00:00
Michael R Sweet
bf7082f16c
Fix fl_filename_list() bug (STR #1159 ) caused by changing of the ABI
...
(dirent size is different for large file mode)
The default is now --disable-largefile; if you use --enable-largefile,
the large file support definitions are propagated to the fltk-config
script as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 15:50:06 +00:00
Michael R Sweet
826eb45715
Clicking outside a menu window dismisses it (STR #1144 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-17 15:02:36 +00:00
Michael R Sweet
2b293afe37
Pressing a Fl_Menu_Button widget now draws it pressed in (STR
...
#1140 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 02:21:19 +00:00
Michael R Sweet
741322a01a
The threads demo would display negative prime numbers
...
on MacOS X; this appears to be a MacOS X bug, but we
added a workaround to "fix" this (STR #1138 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-06 16:53:04 +00:00
Michael R Sweet
c4a0b7f056
Fl::dnd() now sets the content type of the drag to
...
"text/uri-list" when it sees the dragged text is composed of
URIs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-04 19:53:34 +00:00
Matthias Melcher
0ea6761db2
- Fixed keyboard shortcut handling in FLUID and shortcut
...
labeling in FLTK (STR #1129 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-30 14:11:04 +00:00
Matthias Melcher
10fae2dd8a
typo
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4722 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-29 13:10:15 +00:00
Matthias Melcher
a333f29b91
STR #1123 : Fixed include path in CMake build. I don't use CMake, but since this patch was contributed by the same company that *wrote* CMake, I have a good feeling that they know what they are doing.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-16 15:22:29 +00:00
Matthias Melcher
5552a0cce7
STR #1104 : WIN32 version would insist on running a full length timeout even if it knew already that the UI needed to be updated. This could cause a quite long delay when a timeout was used to trigger a redraw. Probably true for threads as well... .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4714 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-16 11:34:04 +00:00
Matthias Melcher
3cdd5a4c8d
STR #1122 : Fl_Text_Display would throw away all key events if the mouse pointer was outside of the Widget bounds.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-15 20:31:35 +00:00
Matthias Melcher
e3883f0384
STR $1099: The Quartz version of FLTK now draws a very nice resize
...
control in the lower right corner of top-level windows if that
window is resizable. The color of the control adapts to the
background color of the window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4711 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 13:51:51 +00:00
Michael R Sweet
7dd1ddbeef
FLTK now enables large file support when available (STR #1087 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 00:39:55 +00:00
Michael R Sweet
c97fcd9c65
Fl_Clock_Output depended on a time value that was the same as an
...
unsigned long, which is incorrect for WIN64 and VC++ 2005 (STR
#1079 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 00:34:34 +00:00
Michael R Sweet
258c3e81a4
Fl_Text_Display::wrap_mode() would crash if no buffer was
...
associated with the widget (STR #1069 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-09 21:34:04 +00:00
Michael R Sweet
067d1d8a61
Updated the default label and text colors of all widgets to use
...
FL_FOREGROUND_COLOR instead of FL_BLACK (STR #1052 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-30 17:42:21 +00:00
Michael R Sweet
57067a923d
Remove unnecessary includes ("flstring.h" is included by the parent
...
file and includes <string.h> and <ctype.h>...)
Add changelog entry.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-13 14:27:19 +00:00
Michael R Sweet
405b80784a
Fl_Value_Input now uses the screen-absolute position instead of
...
the window-relative position when dragging the value; this avoids
some jumping conditions (STR #1037 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4591 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-12 20:47:21 +00:00
Matthias Melcher
60812b2ecc
STR #973 : popup menus now pop up fully visible in the current screen if possible and useful. In detail, menus in a menubar will pop up above the title if they would cut into the screen bottom. Submenus will show the *last* item to the right of the parent instead of the first. Finally, Pulldowns with title will simply apppera over the title instead of under the title.
...
There are two exceptions:
Menus that have a selected item will not be modified, so the selected item is visible. Hence an Fl_Choice will never have a 'fixed' menu.
If putting the menu high would intersect the top frame of the screen, we leave the menu at the bottom.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-25 19:04:04 +00:00
Matthias Melcher
83d58a96b2
STR 1025: fixed illeagal acces to delted object. It was meant to set the dirty flag in the parent of course.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-19 21:10:48 +00:00
Matthias Melcher
02ab74fcee
Fixed x-offset problem in Help_Widget (STR #998 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-13 08:43:28 +00:00
Matthias Melcher
c526a7ad2f
Clipboard will persist if owner window is hidden (STR #1019 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-12 23:51:36 +00:00
Matthias Melcher
2b6586f64d
STR #1007 : Applied second patch by hand. OP: could you please check if all changes were made correctly? Thanks!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-12 23:03:34 +00:00
Matthias Melcher
8c479b5ea6
F2 and F3 (move up/down) would not set the "changed" flag
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 20:25:22 +00:00
Matthias Melcher
a2effb7c2b
Fixed C++ style comments in plain C files (STR #997 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 20:16:36 +00:00