Commit Graph

2515 Commits

Author SHA1 Message Date
Michael R Sweet
d4713f59c5 Add OSX application stuff for FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4758 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 19:14:04 +00:00
Michael R Sweet
6607a6b436 Update OSX icons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4757 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 19:12:08 +00:00
Michael R Sweet
115d539691 More packaging fun.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4756 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:36:16 +00:00
Michael R Sweet
61b86ce0e5 More packaging fun (games package to "advertise" FLTK...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:02:44 +00:00
Michael R Sweet
464c2f4a5e Separate the desktop install/uninstall stuff so that users that don't
want desktop integration (or don't have root access) will be able to
install/uninstall.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4752 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 15:15:34 +00:00
Michael R Sweet
45ff3267cd Fix installation of Linux desktop files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:25:44 +00:00
Michael R Sweet
887a458227 Work on Linux and OSX desktop integration stuff via make install and
packaging via EPM.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:16:09 +00:00
Michael R Sweet
93e158df5f Another copyright notice update.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 02:27:48 +00:00
Michael R Sweet
f7305675c4 More copyright updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 02:26:54 +00:00
Michael R Sweet
a10e58204c Update copyright.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 02:22:54 +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
31700097b3 Fix resizing of Windows (STR #1139)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4745 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-14 23:12:27 +00:00
Michael R Sweet
c78a31ce34 Fix compile error.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4744 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-13 22:46:30 +00:00
Michael R Sweet
21a8aed499 Fix bugs in Sudoku demo:
1. "Check Game" now flags subgrids with duplicate numbers.
    2. "Restart Game" now starts a new game if the current game
       has been solved.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4743 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-13 18:53:38 +00:00
Michael R Sweet
328d25219d Make sure that threads.o depends on threads.h - it wasn't included in the
dependencies since threading was not enabled when "make depend" was last
run...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4742 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-08 15:50:01 +00:00
Michael R Sweet
3cda5da0b8 Oops...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4741 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-08 01:31:26 +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
e0a8bd61e7 Add ipp, ldap, mailto, news, and smb schemes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-05 00:14:17 +00:00
Michael R Sweet
11040f3094 Add comment block for new DND code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-05 00:10:00 +00:00
Michael R Sweet
3af3148a06 Check for CR LF and no spaces in addition to starting with a URI prefix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-04 23:59:30 +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
f5a571fc83 Fixed "Pixmap" demo to not pop up a dialog if an image (or other file or even directory) is not readable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4735 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-02 20:18:23 +00:00
Michael R Sweet
0321627691 Use "512" in place of kWindowNoTitleBarAttribute, as that constant was
only introduced in MacOS X 10.4!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4734 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-02 13:37:56 +00:00
Michael R Sweet
72b136d58b Fix MingW threading support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-02 12:47:09 +00:00
Matthias Melcher
67bc851abb STR #1135: Triggering a timout would not break the event loop, giving no opportunity to FLTK to call flush. As a result, all redrawing that depended on timeouts only would not get done unless some other event was received. If the idle function was set, the event loop would break and redraw wold work again.
I moved all timeout functions from Fl.cxx to Fl_mac.cxx since they are very system specific and made the timeout break the main event loop, just like it does on all other platforms.

This bug must have been around for at least two months... .



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4730 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-02 10:31:59 +00:00
Matthias Melcher
3e1666448d STR #1133: Text was drawn twice when the scrollbar arrangement changed, causing antialiasing making characters appear somewhat "bold". This was fixed by correctly erasing the background again when redrawing the browser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-31 18:26:01 +00:00
Matthias Melcher
a5b959a3df STR #1133: if the FIle_input did not have focus and have no text inside and have the BAR changed flags set, it would draw a bogus and shifted second background box on top of the original one.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-30 15:45:38 +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
5c4e1336ba STR #1082: fullscreen demo would not redraw because resizing would set the "wait for expose" flag. However, OS X does not send an expose event on resizes. Doh!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-30 13:04:48 +00:00
Matthias Melcher
42f7ef8ea9 STR #1082, part 1:
Borderless windows now do not vanish anymore when the application becomes inactive, unless they are menus, or tooltips.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-30 11:11:54 +00:00
Matthias Melcher
76e967889f STR #1131: there is no good way in Mac OS X to support an OpenGL
overlay (well, at least none that I could find) so I decided to
simplify the overlay code. FLTK tricked a little using the 
front render buffer, however OS X 10.4 does not support 
that anymore. Anyway, here's the slow, but working, solution.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4724 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-30 10:32:58 +00:00
Matthias Melcher
d3db965083 Fixed a few memory faults found by Valgrind (yes, I finally got my Linux
machine up and running again)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-30 10:13:17 +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
f39706d92e Flipped spyglass symbol for all apps.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4721 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-19 16:52:11 +00:00
Matthias Melcher
a31071deb4 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 2005-12-19 13:33:08 +00:00
Matthias Melcher
3a635d7884 STR #1046: Fl_Window does not directly support a background image in FLTK 1.1.6 because those images are overwritten by Fl_Window::show() anyways. FLUID now grays out the unused "image" and "inactive image" input fields.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-16 15:33:47 +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
Michael R Sweet
ff0733e087 Fl::wait() returns immediately if no windows are open.
Fl::wait(double) still waits for the specified time.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-15 18:57:56 +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
31d3e28bba Use 0 instead of NULL in waveOutOpen() call...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4710 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 02:59:59 +00:00
Michael R Sweet
0e14d5ba18 Rotate search icon to avoid confusing it with the letter Q.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4708 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 02:32:27 +00:00
Michael R Sweet
e73818789d Add Cygwin/MingW support for winmm library... (STR #1121)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 02:27:23 +00:00
Michael R Sweet
4ba1119822 Workaround Solaris make problems...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 02:23:01 +00:00
Michael R Sweet
9d060d717c Fixes for Cygwin (STR #1096)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4705 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 01:58:03 +00:00
Michael R Sweet
cbb4918f41 Change FOREVER back to 1e20 (minimal CPU usage) and change fl_wait()
implementation on WIN32 to check for idle and to use a time_to_wait()
of 0... (STR #1120)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4704 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 01:25:21 +00:00
Michael R Sweet
f4b83b81ba Revert change from r4659 that caused FLUID resize problem (STR #1110)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 01:03:13 +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