fltk/test
Albrecht Schlosser d9798d2840 CMake: Refactor building OpenGL and "shared" demo programs
Define GLDEMO_LIBS and GLDEMO_SHARED: these definitions can be used
  to build OpenGL demo programs that can also be built w/o OpenGL

Examples: fullscreen, handle_events, unittests
2023-11-03 15:40:58 +01:00
..
desktop Added missing semicolons in desktop file 2008-03-16 12:20:30 +00:00
images Move animated gif images to the test/images folder 2023-02-23 19:28:27 +01:00
mac-resources Refactor macOS bundle generation to avoid "quarantine" 2021-05-13 16:18:13 +02:00
pixmaps Move animated gif images to the test/images folder 2023-02-23 19:28:27 +01:00
.gitignore Add Fl_Grid widget and test and demo programs 2023-10-16 22:18:24 +02:00
CMakeLists.txt CMake: Refactor building OpenGL and "shared" demo programs 2023-11-03 15:40:58 +01:00
CubeMain.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
CubeView.cxx Update fluid tutorial on CubeView and demo code 2021-05-21 20:08:12 +02:00
CubeView.h Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
CubeViewUI.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
Makefile Add Fl_Grid widget and test and demo programs 2023-10-16 22:18:24 +02:00
README-unittests.txt Make unittest conform to CMP (#597) 2022-12-17 13:16:57 +01:00
README.txt Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
adjuster.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
animated.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
arc.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
ask.cxx Make Fl_String and Fl_Int_Vector private (#789) 2023-10-22 19:35:17 +02:00
bitmap.cxx Include bitmap files rather than copying the source code 2021-05-08 15:23:17 +02:00
blocks.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
boxtype.cxx Fixing FLUID file corruption from issue #653 (#662) 2023-01-26 15:23:43 +01:00
browser.cxx Fix position() methods that shadow Fl_Widget::position() 2023-02-02 20:54:19 +01:00
button.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
buttons.cxx Adds compact buttons feature to create keypads. 2023-09-03 00:09:40 +02:00
cairo_test.cxx Cairo: introduce Fl::cairo_flush() in FLTK API 2023-03-14 19:51:34 +01:00
checkers.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
checkers_pieces.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
clipboard.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
clock.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
colbrowser.cxx Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
color_chooser.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
contrast.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
coordinates.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
cube.cxx Fix ctrl/+/- in cube demo 2023-10-20 11:28:08 +02:00
cursor.cxx Add usage example of Fl_Window::cursor(const Fl_RGB_Image *, int, int) 2023-04-08 21:23:43 +02:00
curve.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
demo.cxx Fix test/demo for X11 on macOS (e.g. XQuartz) 2023-03-22 20:29:23 +01:00
demo.menu Cairo: introduce Fl::cairo_flush() in FLTK API 2023-03-14 19:51:34 +01:00
device.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
doublebuffer.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
editor.cxx Background color attribute for Fl_Text_Display. (#378) 2022-01-27 23:50:06 +01:00
fast_slow.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
file_chooser.cxx Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
flex_demo.cxx Rename some Fl_Flex methods for FLTK compliance (#594) 2022-12-15 16:46:40 +01:00
flex_login.cxx Add Fl_Grid widget and test and demo programs 2023-10-16 22:18:24 +02:00
fltk-versions.cxx CMake: add examples folder to build (optional) 2020-08-21 18:55:12 +02:00
fonts.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
forms.cxx Rename 'srs.xbm' to its original name 'sorceress.xbm' 2021-05-08 15:21:23 +02:00
fractals.cxx Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
fracviewer.cxx Issue #109 contd: missed fractals.cxx fixes, also fix parens issue. 2021-02-15 17:46:15 -08:00
fracviewer.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
fromdos.c Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
fullscreen.cxx Fix compiler warning when fullscreen demo is built w/o OpenGL 2023-11-03 15:34:23 +01:00
gl_overlay.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
glpuzzle.cxx Fix position() methods that shadow Fl_Widget::position() 2023-02-02 20:54:19 +01:00
glut_test.cxx Fix trailing whitespace and dependencies 2023-10-13 19:08:30 +02:00
grid_alignment.cxx Add Fl_Grid widget and test and demo programs 2023-10-16 22:18:24 +02:00
grid_buttons.cxx Add Fl_Grid widget and test and demo programs 2023-10-16 22:18:24 +02:00
grid_login.cxx Add Fl_Grid widget and test and demo programs 2023-10-16 22:18:24 +02:00
handle_events.cxx Display mouse button state in test/handle_events.cxx demo 2023-07-12 19:32:02 +02:00
hello.cxx Update test/hello.cxx and related image 2021-01-13 15:12:26 +01:00
help_dialog.cxx Animated GIF support (Fl_Anim_GIF_Image class) (#375) 2023-01-21 17:27:58 +01:00
help_dialog.html Move animated gif images to the test/images folder 2023-02-23 19:28:27 +01:00
icon.cxx Fixes #297 - improvements for icon.cxx + icon() docs 2021-11-26 13:13:58 -08:00
iconize.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
image.cxx Generate FL/fl_config.h rather than FL/abi-version.h 2021-12-18 22:44:08 +01:00
inactive.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
input.cxx Fix position() methods that shadow Fl_Widget::position() 2023-02-02 20:54:19 +01:00
input_choice.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
keyboard.cxx Revert "#733 partial: Adds rotation gesture event on MacOS" 2023-08-05 16:37:38 +02:00
keyboard.h Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
keyboard_ui.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
label.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
line_style.cxx Fix position() methods that shadow Fl_Widget::position() 2023-02-02 20:54:19 +01:00
list_visuals.cxx Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
makedepend Make Fl_String and Fl_Int_Vector private (#789) 2023-10-22 19:35:17 +02:00
mandelbrot.cxx Fix new warnings in CI 2023-01-10 17:07:03 +01:00
mandelbrot.h Add necessary initialisation in test/mandelbrot 2023-01-14 20:07:30 +01:00
mandelbrot_ui.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
menubar.cxx test/menubar: use popup menu default boxtype 2023-10-13 12:11:16 +02:00
message.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
minimum.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
native-filechooser.cxx Allow unix style paths for windows native filechooser 2020-08-08 19:10:57 -07:00
navigation.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
offscreen.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
output.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
overlay.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
pack.cxx Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
pixmap.cxx Animated GIF support (Fl_Anim_GIF_Image class) (#375) 2023-01-21 17:27:58 +01:00
pixmap_browser.cxx Animated GIF support (Fl_Anim_GIF_Image class) (#375) 2023-01-21 17:27:58 +01:00
preferences.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
radio.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
resize-arrows.cxx add resize examples as per STR3433 2020-07-20 14:08:47 +02:00
resize-arrows.h Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
resize-example1.cxx add resize examples as per STR3433 2020-07-20 14:08:47 +02:00
resize-example2.cxx add resize examples as per STR3433 2020-07-20 14:08:47 +02:00
resize-example3a.cxx add resize examples as per STR3433 2020-07-20 14:08:47 +02:00
resize-example3b.cxx add resize examples as per STR3433 2020-07-20 14:08:47 +02:00
resize-example3c.cxx add resize examples as per STR3433 2020-07-20 14:08:47 +02:00
resize-example4a.cxx add resize examples as per STR3433 2020-07-20 14:08:47 +02:00
resize-example4b.cxx add resize examples as per STR3433 2020-07-20 14:08:47 +02:00
resize-example5a.cxx Add new resize example to test and dox (PR #165) 2021-11-08 16:18:58 +01:00
resize-example5b.cxx Add new resize example to test and dox (PR #165) 2021-11-08 16:18:58 +01:00
resize-example5c.cxx Add new resize example to test and dox (PR #165) 2021-11-08 16:18:58 +01:00
resize.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
resizebox.cxx Fixing _define before _include. 2022-11-06 16:19:53 +01:00
rgb.txt Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
rotated_text.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
scroll.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
shape.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
subwindow.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
sudoku.cxx macOS audio is usable with XQuartz 2023-08-16 11:18:19 +02:00
sudoku.ico Add missing icon for sudoku 2005-11-29 22:03:39 +00:00
sudoku.rc Windows: add icon to sudoku.exe (PR #36) 2020-07-16 12:25:51 +02:00
symbols.cxx Fix and update alignment #346 (#701) 2023-03-18 17:33:27 +01:00
table.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
tabs.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
threads.cxx Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
threads.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
tile.cxx Improve subclassing cababilities of Fl_Tile (STR 2791) 2023-10-16 13:33:40 +02:00
tiled_image.cxx Update dependencies and fix whitespace errors 2023-02-02 17:09:14 +01:00
trackball.c Fix compiler warnings (Windows, MSVC) 2021-08-30 13:56:28 +02:00
trackball.h Initial revision 1998-10-06 18:21:25 +00:00
tree.fl FLUID: adds greatly enhanced Shell Commands (#774) 2023-09-26 16:01:03 +02:00
twowin.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_about.cxx Make unittest conform to CMP (#597) 2022-12-17 13:16:57 +01:00
unittest_circles.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
unittest_complex_shapes.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
unittest_core.cxx Make Fl_String and Fl_Int_Vector private (#789) 2023-10-22 19:35:17 +02:00
unittest_fast_shapes.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
unittest_images.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
unittest_points.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
unittest_schemes.cxx Draw parent window backdrop on Fl_Tabs (#718) 2023-09-29 14:12:39 +02:00
unittest_scrollbarsize.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
unittest_simple_terminal.cxx Make unittest conform to CMP (#597) 2022-12-17 13:16:57 +01:00
unittest_symbol.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
unittest_text.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
unittest_unicode.cxx Fix position() methods that shadow Fl_Widget::position() 2023-02-02 20:54:19 +01:00
unittest_viewport.cxx Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
unittests.cxx Fl_String refactoring and extension (#683) 2023-02-23 15:42:05 +01:00
unittests.h Fix more compiler warnings (comma at end of enum) 2023-04-13 22:55:18 +02:00
utf8.cxx Fix some but not all memory leaks in test/utf8 demo 2023-05-08 16:26:07 +02:00
valuators.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
windowfocus.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
wizard.cxx Documentation on widget coordinates and layout, plus new test programs (#304) 2021-12-08 15:00:33 +01:00

README.txt

test/README.txt - 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


-----------------------------------------------------
Note: this file is outdated and incomplete. (*FIXME*)
-----------------------------------------------------