fltk/test
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
..
sudoku.app/Contents Fix mousewheel handler bug (using wrong variable in initial check) 2005-11-25 20:40:16 +00:00
adjuster.cxx STR #1023: some more test programs did not load the OS default colors 2005-09-15 10:16:08 +00:00
arc.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
ask.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
bitmap.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
black_1.xbm Initial revision 1998-10-06 18:21:25 +00:00
black_2.xbm Initial revision 1998-10-06 18:21:25 +00:00
black_3.xbm Initial revision 1998-10-06 18:21:25 +00:00
black_4.xbm Initial revision 1998-10-06 18:21:25 +00:00
blackking_1.xbm Initial revision 1998-10-06 18:21:25 +00:00
blackking_2.xbm Initial revision 1998-10-06 18:21:25 +00:00
blackking_3.xbm Initial revision 1998-10-06 18:21:25 +00:00
blackking_4.xbm Initial revision 1998-10-06 18:21:25 +00:00
boxtype.cxx STR #1052: updated color handling in test programs. If you are planning on creating labels based on foreground or background color, you should load the colors *before* creating the user interface. This is done by calling: 2005-11-02 13:57:56 +00:00
browser.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
button.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
buttons.cxx Undid previous test change. 2005-11-06 09:55:36 +00:00
checkers.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
clock.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
CMakeLists.txt Cmake updates (STR #645) 2005-02-06 00:17:50 +00:00
colbrowser.cxx Fixed the silly gcc 4.0 warning about ~0 being negative 1. 2005-05-17 20:03:29 +00:00
color_chooser.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
connect.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
cube.cxx STR #1061: fixed Fl_Window::cursor for subwindows and GL windows on WIN32 2005-11-04 08:23:20 +00:00
CubeMain.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
CubeView.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
CubeView.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
CubeViewUI.fl Use double-buffered window for CubeView... 2002-08-20 17:40:37 +00:00
cursor.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
curve.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
demo.cxx VC++ 2005 Support, drop old files, add icons for Sudoku 2005-11-27 14:45:48 +00:00
demo.menu Fix a resize issue with X11. 2005-11-27 05:15:47 +00:00
doublebuffer.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
editor.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fast_slow.fl Redid Carl's fix to fast_slow (making it be output widgets rather 1999-05-06 06:21:53 +00:00
file_chooser.cxx STR #915: fixed hang on corrupt jpegs by giving a maximum of 10 chances for jpeg lib to clean up on damaged file reads. 2005-07-11 20:31:59 +00:00
fl_jpeg_image.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fonts.cxx STR #1052: updated color handling in test programs. If you are planning on creating labels based on foreground or background color, you should load the colors *before* creating the user interface. This is done by calling: 2005-11-02 13:57:56 +00:00
forms.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fractals.cxx Resizing of OpenGL subwindows was broken on OSX (STR #804) 2005-05-12 19:16:27 +00:00
fracviewer.cxx Remove unused and obsolete JPEG image demo. 2002-01-13 18:38:24 +00:00
fracviewer.h Fixup fractals demo so it doesn't get way ahead of display - some Linux 2002-01-03 14:08:08 +00:00
fromdos.c Initial revision 1998-10-06 18:21:25 +00:00
fullscreen.cxx STR #1082: mad the "fullscreen" demo add and remove the window decoration by using the hide/show combo. 2005-11-28 15:35:18 +00:00
gl_overlay.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
glpuzzle.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
hello.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4650 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 2005-11-18 10:08:13 +00:00
help.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
iconize.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
image.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
inactive.fl STR #1052: updated color handling in test programs. If you are planning on creating labels based on foreground or background color, you should load the colors *before* creating the user interface. This is done by calling: 2005-11-02 13:57:56 +00:00
input_choice.cxx Fix a resize issue with X11. 2005-11-27 05:15:47 +00:00
input.cxx STR #1052: updated color handling in test programs. If you are planning on creating labels based on foreground or background color, you should load the colors *before* creating the user interface. This is done by calling: 2005-11-02 13:57:56 +00:00
keyboard_ui.fl Fix build problems in test directory - no more recursive dependencies for 2001-12-30 05:16:10 +00:00
keyboard.cxx Fix MacOS X 10.4 compile issues. 2005-04-28 17:48:04 +00:00
keyboard.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
label.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
line_style.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
list_visuals.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
makedepend Update dependencies. 2005-11-27 15:05:50 +00:00
Makefile Start adding support for sound in Sudoku via ALSA. 2005-12-05 00:55:01 +00:00
makefile.wat Fix eol-style in Watcom files... 2005-05-19 16:07:13 +00:00
mandelbrot_ui.fl Updated Fluid files for new extensions. 1998-12-07 13:22:00 +00:00
mandelbrot.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
mandelbrot.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
menubar.cxx VC++ 2005 Support, drop old files, add icons for Sudoku 2005-11-27 14:45:48 +00:00
message.cxx STR #1052: updated color handling in test programs. If you are planning on creating labels based on foreground or background color, you should load the colors *before* creating the user interface. This is done by calling: 2005-11-02 13:57:56 +00:00
minimum.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
navigation.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
output.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
overlay.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
pack.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
pixmap_browser.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
pixmap.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
porsche1.xpm Initial revision 1998-10-06 18:21:25 +00:00
porsche.xpm Eliminate all compiler warnings (string constants, const'ness, hiding of 2001-04-13 19:07:40 +00:00
preferences.fl STR #792: 'preferences' test app lost the 'radio' flags on the shoe positioning buttons. 2005-04-08 18:18:26 +00:00
radio.fl 32-bit color (RGB0 or 000I), a la FLTK 2.0, including fl_rgb_color() 2001-10-29 03:44:33 +00:00
README Added common heading and footer to all source files. 1998-10-20 13:25:25 +00:00
resize.fl Programs can now resize() their windows even if they are not resizable() 2000-01-11 08:20:02 +00:00
resizebox.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
rgb.txt Added the standard rgb.txt file from X11 to the test directory, 2005-05-12 20:03:59 +00:00
scroll.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
shape.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
srs.xbm Initial revision 1998-10-06 18:21:25 +00:00
subwindow.cxx STR #1061: fixed Fl_Window::cursor for subwindows and GL windows on WIN32 2005-11-04 08:23:20 +00:00
sudoku.cxx Fix "restart game" - we aren't saving the seed, and even so we don't get 2005-12-12 04:23:05 +00:00
sudoku.ico Add missing icon for sudoku 2005-11-29 22:03:39 +00:00
sudoku.png Fix mousewheel handler bug (using wrong variable in initial check) 2005-11-25 20:40:16 +00:00
sudoku.rc VC++ 2005 Support, drop old files, add icons for Sudoku 2005-11-27 14:45:48 +00:00
sudoku.xbm VC++ 2005 Support, drop old files, add icons for Sudoku 2005-11-27 14:45:48 +00:00
sudokurc.h VC++ 2005 Support, drop old files, add icons for Sudoku 2005-11-27 14:45:48 +00:00
symbols.cxx Documented the '00360' rotation feature in symbols 2005-06-01 20:10:53 +00:00
tabs.fl Update Fl_Tabs to draw selected tabs using labelcolor() of the Fl_Tabs 2005-05-19 12:13:35 +00:00
threads.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
threads.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
tile.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
tile.xpm Fix portability problems with Solaris Forte C++ compiler. 2002-05-03 20:30:19 +00:00
tiled_image.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
trackball.c Initial revision 1998-10-06 18:21:25 +00:00
trackball.h Initial revision 1998-10-06 18:21:25 +00:00
unittests.cxx Change int to long in unittests callback, and add the standard FLTK 2005-11-02 12:52:44 +00:00
valuators.fl Fix tooltips on some of the valuators... 2002-05-12 11:12:56 +00:00
white_1.xbm Initial revision 1998-10-06 18:21:25 +00:00
white_2.xbm Initial revision 1998-10-06 18:21:25 +00:00
white_3.xbm Initial revision 1998-10-06 18:21:25 +00:00
white_4.xbm Initial revision 1998-10-06 18:21:25 +00:00
whiteking_1.xbm Initial revision 1998-10-06 18:21:25 +00:00
whiteking_2.xbm Initial revision 1998-10-06 18:21:25 +00:00
whiteking_3.xbm Initial revision 1998-10-06 18:21:25 +00:00
whiteking_4.xbm Initial revision 1998-10-06 18:21:25 +00:00

test/README - 20 Oct 1998
-------------------------

This directory contains tests and demos of FL.  In most cases you can
learn a lot about how to program FL by looking at the source code.

Type "make" to compile them all.

The program "demo" is a graphical interface to run all the demos. (you
may recognize this as a rewrite of an XForms program).

Some of the more interesting programs:

fractals:	A GLUT program with FL controls added to it

glpuzzle:	A GLUT program with no modifications

fullscreen:	Demo of how to make your window toggle to fill screen

list_visuals:	necessary to debug X visual stuff

mandelbrot:	A true application, using panels built in Fluid

menubar:	Demo of how FL's menus work

shiny:		Demo of drawing FL's controls using OpenGL

forms:		An XForms program to demonstrate emulation

colbrowser:	Another XForms program that is actually useful