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
Matthias Melcher
4c338a533f
STR #1106 : fixed documentation error
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-13 00:21:06 +00:00
Matthias Melcher
fde536626e
STR #1102 : Typo
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-12 23:28:12 +00:00
Matthias Melcher
af80bcf1a4
STR #1109 : Klickin on an inactive item would keep the menubar from realizing the end of the pulldown phase and swallow the next click.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-12 23:22:55 +00:00
Michael R Sweet
b398e8422b
Fix "restart game" - we aren't saving the seed, and even so we don't get
...
the same sequence on Linux anyways.
Also, multiple clicks in a cell sets/increments the value.
Finally, use alternate background color to produce checkerboard-like
pattern.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-12 04:23:05 +00:00
Michael R Sweet
5f83ff12e6
Add VC++.NET project and dependencies for Sudoku
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4694 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-11 14:54:01 +00:00
Matthias Melcher
f3e2e5ed2d
Added Multimedia library to Sudoku for VisualC6
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4693 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-11 00:22:00 +00:00
Matthias Melcher
861944d1cb
Removed the "-g" compile option for the optimized version of FLTK. This was probably a leftover from someone debugging the optimized version (and I am too lazy and polit to run "svn blame", especially since that someone could have been myself ;-)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-10 10:23:44 +00:00
Michael R Sweet
0ce3c4c6f1
Add WIN32 audio support, and protect against accidental restarts
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-09 18:31:34 +00:00
Michael R Sweet
a6e6888a2d
Add OSX audio support to Sudoku (THANK YOU IAN!)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-08 03:51:21 +00:00
Michael R Sweet
6936751308
Don't use readlink, it is non-standard.
...
Sorry, no symlink support for fltk-config, you'll need to use wrapper
scripts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-07 20:13:12 +00:00
Michael R Sweet
bed8043ef2
Add sound design notes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-06 18:59:21 +00:00
Michael R Sweet
887698cb85
Use <FL/math.h> since Windows doesn't define M_PI.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-06 04:35:04 +00:00
Michael R Sweet
9a52731601
More sound effects, drop solution dialog (green tiles mean solved...)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-06 03:55:45 +00:00
Michael R Sweet
11349b0c63
Ignore keypresses with FL_CTRL modifier so that menubar can process them.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-05 02:14:25 +00:00
Michael R Sweet
2f40b8b80b
Start adding support for sound in Sudoku via ALSA.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-05 00:55:01 +00:00
Michael R Sweet
29a41762fb
When checking a solution, ignore readonly cells and set color of correct
...
cells.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4683 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-04 01:43:22 +00:00
Michael R Sweet
0bacb8e624
Separate WIN32 and normal build rules so we can create a resource object
...
file to link into the executable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-04 00:32:31 +00:00
Michael R Sweet
0c91e35748
Add "restart game" item and save random number seed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4681 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-02 14:57:39 +00:00
Michael R Sweet
fc81090d3e
Fix help (no more subgrid highlighting)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-02 02:25:10 +00:00
Michael R Sweet
3a7fac2981
Use CAPS LOCK as shift lock.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-02 02:19:58 +00:00
Michael R Sweet
912f6acf1f
Allow multiple solutions to solve the puzzle.
...
Don't show solved grids - not compatible with new code anyways, and made
the game too easy.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-02 01:34:25 +00:00