Commit Graph

840 Commits

Author SHA1 Message Date
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
Matthias Melcher
d952d9b9d6 Fixed signedness of argument to sscanf
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 20:11:48 +00:00
Dejan Lekic
dc1b3aaf1a Update of "CHANGES" file with information about STR#995 .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-27 05:28:02 +00:00
Matthias Melcher
cd1de720b7 FLUID now knows if a static callback is already declared in a class and won't declare it 'extern' (STR #776)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-23 11:28:13 +00:00
Matthias Melcher
5856b3b9be Some actions in FLUID would not set the "changed" flag.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-21 21:55:22 +00:00
Matthias Melcher
eca40efb6e This change is controversial. It changes the behavior of fl_filename_list
slightly by adding a forward slash after every directory name on every
supported OS. Included in this patch is a change in the code that 
lists mounted volumes on OS X Mac.

Apple users, please check. Open FLUID, open the file dialog and
clear the current path. You shoudl see a list of mounted volumes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17 21:56:22 +00:00
Matthias Melcher
661c0ff41b Fixed redraw range in Multiline Input with wordwrapping for space characters and for undo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17 12:07:34 +00:00
Matthias Melcher
6bd434fe47 #959: outside labels in fluid moved, so that they refresh correctly even when previously clipped. Remove superfluous grouping. Using contrasting color for label of selected Tabs. MUST GET 1.1.7 OUT SOON! ;-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17 11:33:12 +00:00
Matthias Melcher
c9bfdc20fc FLUID now correctly redraw FL__Tabs if one of their children changes color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-16 21:05:52 +00:00
Matthias Melcher
78e4274963 Added support for Fl_Window::size_range() in FLUID. There are no UI elements for increment or aspect ratio.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15 23:07:20 +00:00
Matthias Melcher
41c089f3c1 Dottet label selection box and standard widget selection boxes would not always align when snapping was enabled. Also, the dragging indicators would not snap. (STR #964)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15 20:40:16 +00:00
Matthias Melcher
b5f14ff780 fl_filename_list now correctly handles path names like 'c:'
or 'c:/windows' by listing it contents instead of the filename itself.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15 20:03:36 +00:00
Matthias Melcher
379804873e Fixed Fl::event_text() for FL_DND_* events on Windows (STR 968)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15 19:18:49 +00:00
Matthias Melcher
af39242da6 Fl_Text_Display now auto-scrolls in all directions (STR #915). This is implemented using a timer event. The scroll speed is proportional to the distance of the cursor to the text area
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-10 23:11:51 +00:00
Michael R Sweet
7410f80a84 Revert changelog (Dejan, for future reference please place all non-
documentation changes BELOW the first change line - I group all
documentation changes in the single line and list the STRs to
keep things somewhat organized...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-10 13:55:24 +00:00
Dejan Lekic
d7ae9e9fbc Added information about change related to --prefix flag.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4497 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-10 12:39:45 +00:00
Matthias Melcher
fc8b075951 On X11, borderless windows will not show in the taskbar anymore (STR #933)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 23:31:41 +00:00
Matthias Melcher
6f6cab4d6e Moved some code around so that FLTK will figure out the
event_text for dnd text on the first FL_DND_ENTER event and then keep
if in a temporary buffer until FL_PASTE or the next DND event.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 19:30:09 +00:00
Michael R Sweet
87a8b2d9c7 Add --cc and --cxx options to fltk-config, which show the compilers that
were used to compile FLTK...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 15:08:06 +00:00
Michael R Sweet
ff88ea3ec5 Fl_Valuator-derived widgets could show more digits than were
necessary (STR #971)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 15:01:45 +00:00
Michael R Sweet
a4f428d82b Doco update for subwindows on OSX, and remove WIN32 note for cut/paste
buffer using \n and not \r\n since we now do \r\n.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 03:03:37 +00:00
Michael R Sweet
a78af9b2b8 Remove Fl_Group from Fl_File_Chooser docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 02:46:20 +00:00
Michael R Sweet
4d2333525e Doco fix (STR #960)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4481 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 02:41:59 +00:00
Michael R Sweet
4fa1a3edb4 Fl_GIF_Image did not handle images with an incorrect number of
data bits (STR #914)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4480 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 02:34:06 +00:00
Michael R Sweet
afbd833c04 Fixed some plastic drawing artifacts (STR #906)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 01:35:29 +00:00
Michael R Sweet
eaaae8b05e Fl_Help_View now draws the box outside the scrollbars, like the
other scrollable widgets (STR #871)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 01:31:03 +00:00
Michael R Sweet
3b659149e6 The fltk-config script now handles invocation via a symlink (STR
#869)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 01:09:39 +00:00
Michael R Sweet
28940a5c75 Updated WIN32 cut/paste code to consistently handle DOS text (STR
#961)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:57:00 +00:00
Michael R Sweet
6585e234ae Added shared library support for Cygwin and MingW (STR #893)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4474 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:54:30 +00:00
Michael R Sweet
c9f9b4faa0 Fl_File_Chooser did not implement the user_data() methods (STR
#970)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:50:02 +00:00
Michael R Sweet
b8dcdf4c64 Compilation could fail if a previous installation of FLTK was in
the same (non-standard) directory as an image library (STR #926)

configure.in:
    - Add LINKFLTKFORMS definition.
    - Change LINKFLTK* definitions to just reference the static
      libraries themselves.

makeinclude.in:
    - Use LINKFLTKFORMS and drop -L../lib stuff for static linking.

src/Makefile:
    - Move -L. in front of LDLIBS and IMGLIBS when linking shared
      libfltk_images.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:44:38 +00:00
Michael R Sweet
7da5a27b40 Add documentation for screen_count() and screen_xywh() (STR #931)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:00:41 +00:00
Michael R Sweet
2c8dce49b1 Fixed OSX compilation problems with non-HFS filesystems (STR
#972)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4470 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-07 14:03:42 +00:00
Dejan Lekic
1216232ebf New change report...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-06 05:07:49 +00:00
Dejan Lekic
289434a6e2 Added information about fixed STR #967.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-05 14:26:59 +00:00
Michael R Sweet
0a5b7239d4 Fix redraw problem with Fl_File_Input (STR #958)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-28 22:56:00 +00:00
Michael R Sweet
9d32c9a60f Fix bad include file in file chooser.
Remove unused variable in plastic box drawing code.

Fix spelling mistakes and wrapping in changelog.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-25 19:20:06 +00:00
Matthias Melcher
b6f2bc9250 STR #831: When moving an OpenGL window outside the screen and then back again lets fltk get stuck.
The problem seems to be an idefinite repeat of the WM_PAINT message. The driver sends an internale WM_PAINT (one that does not contain an update region). FLTK then creates a union with the still existin 'i->region' of the OpenGL window, causing yet another WM_PAINT message.

The fix is to not run through the WM_PAINT handler at all if there is no update region (as suggested by Microsoft). This change is definetly debatable, since it does modify some internal FLTK behavior. I will commit it anyways for now, but we should pay very close attention to redraw problems by those who use the svn releases.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4456 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-25 09:51:20 +00:00
Matthias Melcher
b1ad1a2f96 STR #848, missing xclass support implemented as suggested by Mike.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-24 19:08:31 +00:00
Matthias Melcher
96e45cb448 Added support for characters from the current 'locale' for the floating point input field, so that us poor Europeans can finally enter the "," character instead of that English decimal point.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4452 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-24 17:42:50 +00:00
Matthias Melcher
9688b0b1c3 Fluid was casting Fl_Input_Choice to Fl_Menu_ at two occasions which is wrong since Input_Choice is derived from Fl_Group. Fixed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-23 22:56:27 +00:00
Matthias Melcher
e9f7f4ce49 Silly typo would position new windows, that touched the right screen border, all the way to the left, instead of just left of the screen's right border.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-23 22:10:47 +00:00
Matthias Melcher
e2cc046d09 pie drawing in WIN32 differed from X11 pie drawing (w and h were 1 pixel too small)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-23 21:52:24 +00:00
Matthias Melcher
5226d5aa7e STR #602
OpenGL Windows inside Tabs that were inside of tabs were not drawn correctly. This was due to the fact that a first 'show' on a Tabs widget would show *all* groups inside the tab (unless the user called 'value(...)' on it first). This was only visible on OS X, because subwindow clipping would wrongfully clip even hidden subwindows.
 


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-23 12:21:58 +00:00
Matthias Melcher
35b28fafd1 last character in CodeEditor (Fluid) would disappear under certain circumstances. The problem is two consecutive calls to Fl_Text_Buffer::insert() which first insert a newline, then indent the text by two spaces. The first 'insert' marks the text all the way to the end for redraw. The second 'insert' adds two characters, however the last character for redraw remains the previously last character, hence the very last two characters are not redrawn.
This fix changes the CodeEditor to do a single 'insert'. It would be better to change Fl_Text_Display to increment the redraw range if more characters are inserted before the actual draw is called. Since this goes too close to core code for my taste, I leave that as an exercise for 2.0.




git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4446 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-22 20:18:56 +00:00
Matthias Melcher
394ab6af40 Declaration in Fluid now uses its own public/private setting unless the parent is a private declaration block, which sets contained declarations to private as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-20 13:20:14 +00:00
Matthias Melcher
580ecb0048 - Fluid overlay now shows a seperate bounding box of selected
items with correct handles and a dotted boundig box for all
          labels (STR #790)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-20 11:33:34 +00:00
Matthias Melcher
a15e974676 - I enlarged the 'minimal update' area in Fl_Input_, so that characters that overlap the font box will be correctly erased during minimal redraw. The original code assumes that character fin in a box from 0,0 to charcter width/height. However, many newer fonts overlap that box and leave traces when redrawn. See 'j' and 'W' in Helvetica on Mac and Windows.
- added textsize etc. support for Fluid Live Mode for Fl_Input type.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-20 11:11:51 +00:00
Matthias Melcher
069276646a Fixed button resizing issue in Fl_File_Chooser (STR #884)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4435 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-19 13:14:18 +00:00
Matthias Melcher
e8ea433222 Changing the 'private' flag would not reflect in the widget browser immediately.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 09:14:58 +00:00
Matthias Melcher
478950c3bc Documentation fixes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 08:50:05 +00:00
Matthias Melcher
5aa5abdff5 Added support for 32bit per pixel subformat, uncompressed, in BMP. Last 8 bit are used as Alpha channel.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4427 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 08:38:52 +00:00
Matthias Melcher
2d5130bef8 Value Sliders would not receive focus when clicked on (STR 911 (wrrooom))
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4426 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 08:31:19 +00:00
Matthias Melcher
b500645a5e Added redraw on focus vi FL_PUSH for roller, browser and slider
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 08:25:06 +00:00
Matthias Melcher
56933d2b80 Fl::set_font() did not clear 'pretty' name of existing font
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4424 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 08:13:20 +00:00