fltk/test
Albrecht Schlosser 92b6962495 Add new dialog fl_choice_n() with extended return values (#282)
This new dialog enables the user program to distinguish whether the
user closed the window by hitting Escape, clicking the window's
close button, or using the "cancel" button with return value 0
as requested by GitHub Issue #282 "fl_choice() doesn't tell you
if the dialog was closed".
2021-11-20 14:42:56 +01:00
..
desktop Added missing semicolons in desktop file 2008-03-16 12:20:30 +00:00
images Backport CMake and related stuff from 1.4 (master) 2021-04-08 14:57:40 +02:00
mac-resources CMake/macOS: Fix and improve bundle generation 2021-05-04 19:22:18 +02:00
pixmaps Finish "rename" of *.xcf.gz - delete uncompressed files. 2015-11-24 14:43:20 +00:00
adjuster.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
animated.cxx Fix compiler warnings found with gcc 4.0.4. 2016-04-05 20:35:29 +00:00
arc.cxx Fix more compiler warnings in test/*.cxx (STR #2813). 2015-04-03 12:31:58 +00:00
ask.cxx Add new dialog fl_choice_n() with extended return values (#282) 2021-11-20 14:42:56 +01:00
bitmap.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
blocks.cxx Fix STR#3063: compilation using Mac OS 10.4 2014-04-27 13:57:09 +00:00
boxtype.cxx Fix compiler warning, add inactive (deactivated) box test mode. 2015-07-08 23:41:19 +00:00
browser.cxx Added Fl_Choice to browser test program to let one 2013-03-23 21:32:34 +00:00
button.cxx button demo program: use fl_beep() function. 2012-06-02 08:59:45 +00:00
buttons.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
cairo_test.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
checkers.cxx Fix compiler warnings, last part (STR #2988). 2016-02-27 15:14:42 +00:00
clock.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
CMakeLists.txt CMake/macOS: Fix and improve bundle generation 2021-05-04 19:22:18 +02:00
colbrowser.cxx Backport CMake and related stuff from 1.4 (master) 2021-04-08 14:57:40 +02:00
color_chooser.cxx Improve test/color_chooser layout, fix some small bugs. 2015-04-09 20:10:25 +00:00
connect.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
cube.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
CubeMain.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
CubeView.cxx Fixed build error in msvs because Fl ref to FULLSCREEN enum was not accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets. 2012-04-05 05:12:30 +00:00
CubeView.h Fixed build error in msvs because Fl ref to FULLSCREEN enum was not accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets. 2012-04-05 05:12:30 +00:00
CubeViewUI.fl Bump version numbers, prepare release 1.3.8 2021-11-05 18:50:55 +01:00
cursor.cxx Add method to set any custom cursor, based on a Fl_RGB_Image object. 2014-06-16 11:17:57 +00:00
curve.cxx Fix more compiler warnings in test/*.cxx (STR #2813). 2015-04-03 12:31:58 +00:00
demo.cxx Finalize release 1.3.7 2021-07-25 15:16:28 +02:00
demo.menu Backport CMake and related stuff from 1.4 (master) 2021-04-08 14:57:40 +02:00
device.cxx Add Fl_Shared_Image *Fl_Image_Surface::highres_image() to draw into high-resolution bitmap. 2016-02-11 20:42:51 +00:00
doublebuffer.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
editor.cxx Add some test options to test/editor.cxx. 2016-02-22 16:36:38 +00:00
fast_slow.fl Bump version numbers, prepare release 1.3.8 2021-11-05 18:50:55 +01:00
file_chooser.cxx Fix compiler warnings (backported from 1.4) 2021-11-05 18:50:55 +01:00
fltk-versions.cxx Backport CMake and related stuff from 1.4 (master) 2021-04-08 14:57:40 +02:00
fonts.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
forms.cxx Fix compiler warnings in test/forms.cxx and more (inspired by STR #2813). 2015-04-03 12:18:31 +00:00
fractals.cxx Fix another compiler warning [-Wformat=]. 2016-01-31 04:28:04 +00:00
fracviewer.cxx Fix compiler warnings (gcc 6.1). 2016-07-29 09:23:44 +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 Add dots-per-inch info to the screen data displayed by the fullscreen demo. 2016-06-22 08:46:02 +00:00
gl_overlay.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
glpuzzle.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
hello.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
help_dialog.html Backport CMake and related stuff from 1.4 (master) 2021-04-08 14:57:40 +02:00
help.cxx Backport CMake and related stuff from 1.4 (master) 2021-04-08 14:57:40 +02:00
icon.cxx Add ability to set custom icons for windows. STR #2816. 2014-06-16 11:39:32 +00:00
iconize.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
image.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
inactive.fl Bump version numbers, prepare release 1.3.8 2021-11-05 18:50:55 +01:00
input_choice.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
input.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
keyboard_ui.fl Bump version numbers, prepare release 1.3.8 2021-11-05 18:50:55 +01:00
keyboard.cxx Added support for the additional key of ISO keyboards (aka 102-key keyboards) named FL_Iso_Key. 2012-03-26 16:54:54 +00:00
keyboard.h Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
label.cxx Improve label demo test/label.cxx : better layout + new tooltips. 2015-03-05 12:40:32 +00:00
line_style.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
list_visuals.cxx Fix compiler warnings (STR #2988). 2016-01-31 02:49:56 +00:00
makedepend Backport CMake and related stuff from 1.4 (master) 2021-04-08 14:57:40 +02:00
Makefile Refactor macOS bundle generation to avoid "quarantine" 2021-05-03 16:11:05 +02:00
mandelbrot_ui.fl Bump version numbers, prepare release 1.3.8 2021-11-05 18:50:55 +01:00
mandelbrot.cxx Fixed build error in msvs because Fl ref to FULLSCREEN enum was not accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets. 2012-04-05 05:12:30 +00:00
mandelbrot.h Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
menubar.cxx Mac OS: Show how to localize the "Preferences…" custom application menu item 2015-12-01 10:03:23 +00:00
message.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
minimum.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
native-filechooser.cxx Fix test/native-filechooser help display artefact (STR #3349). 2016-11-06 10:40:39 +00:00
navigation.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
offscreen.cxx Add Ian's offscreen test program. 2016-03-05 00:39:40 +00:00
output.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
overlay.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
pack.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
pixmap_browser.cxx Fix compiler warnings found with gcc 4.0.4. 2016-04-05 20:35:29 +00:00
pixmap.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
preferences.fl Bump version numbers, prepare release 1.3.8 2021-11-05 18:50:55 +01:00
radio.fl Bump version numbers, prepare release 1.3.8 2021-11-05 18:50:55 +01:00
README Added common heading and footer to all source files. 1998-10-20 13:25:25 +00:00
resize.fl Bump version numbers, prepare release 1.3.8 2021-11-05 18:50:55 +01:00
resizebox.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
rgb.txt Added the standard rgb.txt file from X11 to the test directory, 2005-05-12 20:03:59 +00:00
rotated_text.cxx Added missing svn properties to test/rotated_text.cxx 2011-08-05 08:43:26 +00:00
scroll.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
shape.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
subwindow.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
sudoku.cxx Fix more compiler warnings. 2016-04-05 21:12:49 +00:00
sudoku.ico Add missing icon for sudoku 2005-11-29 22:03:39 +00:00
sudoku.rc Fix line endings. 2018-12-20 19:58:57 +01:00
sudokurc.h Fixed shortcut and default focus for message dialogs (STR #1298). 2006-05-30 09:38:19 +00:00
symbols.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
table.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
tabs.fl Bump version numbers, prepare release 1.3.8 2021-11-05 18:50:55 +01:00
threads.cxx Fix compiler warnings (STR #2988). 2016-01-31 02:49:56 +00:00
threads.h Fix compiler warnings (STR #2988). 2016-01-31 02:49:56 +00:00
tile.cxx Fix documentation of Fl_Tile (STR #3303). 2016-05-09 11:25:57 +00:00
tiled_image.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
trackball.c Remove 'register storage class deprecated' compiler warnings. 2014-09-03 10:10:37 +00:00
trackball.h Initial revision 1998-10-06 18:21:25 +00:00
tree.fl Bump version numbers, prepare release 1.3.8 2021-11-05 18:50:55 +01:00
twowin.cxx Make demo programs display the correct Fl::scheme() in all cases. 2015-02-09 18:04:31 +00:00
unittest_about.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittest_circles.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittest_images.cxx Enable negative 'd' and 'ld' arguments in fl_draw_image() test. 2016-03-02 15:38:18 +00:00
unittest_lines.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittest_points.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittest_rects.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittest_schemes.cxx Fix problem w/unittest's schemes -> tab3 text editors 2016-07-14 18:12:46 +00:00
unittest_scrollbarsize.cxx Replaced 10302 with 10301 for FLTK_ABI_VERSION 2012-11-06 20:46:14 +00:00
unittest_symbol.cxx Added some extra @@ tests for boundary conditions. 2013-03-27 19:21:22 +00:00
unittest_text.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittest_viewport.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittests.cxx Make demo programs display the correct Fl::scheme() in all cases. 2015-02-09 18:04:31 +00:00
utf8.cxx Fix compiler warnings (STR #2988). 2016-01-31 02:49:56 +00:00
valuators.fl Bump version numbers, prepare release 1.3.8 2021-11-05 18:50:55 +01:00
windowfocus.cxx Rename variable 'inp' because of colliding definition in Cygwin. 2015-02-27 14:10:29 +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