fltk/test
Albrecht Schlosser af7f485e06 Consolidate test/demo for all build systems
This is an attempt to unify the code for all build systems (CMake,
autotools with make), platforms (operating systems) and toolchains
(make + gcc/clang, Visual Studio IDE, Xcode ...) to avoid duplicate
code and clarify the differences for future devs and to simplify
maintenance.

The goal is to minimize the platform specific code.

Much of the new code are comments to describe the different situations.
The main program does now all the "hard work" to construct the paths
necessary to access the other applications and data files.

Use macOS specific code to determine the application path (app_path)
in main() instead of function dobut(), when test apps are activated.

Remove obsolete comments and dead code.

Tested on Windows and Linux with both autotools/configure/make
and CMake with make (Linux + MinGW), Visual Studio.
2020-07-21 11:11:03 +02:00
..
blocks.app/Contents These binary files should not be committed. 2018-12-09 16:00:20 +01:00
checkers.app/Contents These binary files should not be committed. 2018-12-09 16:00:20 +01:00
desktop Added missing semicolons in desktop file 2008-03-16 12:20:30 +00:00
pixmaps Creating hires version of Checkers. 2020-01-03 23:12:23 +01:00
sudoku.app/Contents These binary files should not be committed. 2018-12-09 16:00:20 +01:00
.gitignore Update dependencies and .gitignore 2020-04-28 21:20:01 +02:00
adjuster.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
animated.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
arc.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
ask.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
bitmap.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
blocks.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
boxtype.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
browser.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
button.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
buttons.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
cairo_test.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
checkers_pieces.fl Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
checkers.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
clock.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
CMakeLists.txt Consolidate test/demo for all build systems 2020-07-21 11:11:03 +02:00
colbrowser.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
color_chooser.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
connect.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
cube.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
CubeMain.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
CubeView.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
CubeView.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
CubeViewUI.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
cursor.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
curve.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
demo.cxx Consolidate test/demo for all build systems 2020-07-21 11:11:03 +02:00
demo.menu Consolidate test/demo for all build systems 2020-07-21 11:11:03 +02:00
device.cxx Fix for building without print support (GitHub issue #98). 2020-07-11 12:21:25 +02:00
doublebuffer.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
editor-Info.plist Stop using ide/Xcode4/plists/editor-Info.plist because ide will be removed. 2016-02-02 08:58:33 +00:00
editor.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
fast_slow.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
file_chooser.cxx setlocale() added to Fl_File_Chooser demos 2020-07-14 12:52:56 +02:00
fonts.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
forms.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
fractals.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
fracviewer.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02: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 Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
gl_overlay.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
glpuzzle.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
hello.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
help_dialog.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
help_dialog.html Restore tabs in html test file 2020-07-20 10:32:59 +02:00
icon.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
iconize.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
image.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
inactive.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
input_choice.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
input.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
keyboard_ui.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
keyboard.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
keyboard.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
label.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
line_style.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
list_visuals.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
makedepend Move class Fl_SVG_File_Surface from libfltk to libfltk_images. 2020-06-29 11:36:09 +02:00
Makefile add resize examples as per STR3433 2020-07-20 14:08:47 +02:00
mandelbrot_ui.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
mandelbrot.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
mandelbrot.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
menubar.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +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 Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
navigation.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
offscreen.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
output.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
overlay.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
pack.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
pixmap_browser.cxx setlocale() added to Fl_File_Chooser demos 2020-07-14 12:52:56 +02:00
pixmap.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
preferences.fl Commented out some silly code in the preferences test. 2019-12-31 18:32:30 +01:00
radio.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
README.txt Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
resize-arrows.cxx add resize examples as per STR3433 2020-07-20 14:08:47 +02:00
resize-arrows.h add resize examples as per STR3433 2020-07-20 14:08:47 +02: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.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
resizebox.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
rgb.txt Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
rotated_text.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
scroll.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
shape.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
subwindow.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
sudoku.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +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 Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
table.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
tabs.fl Fix tab group positions. 2017-03-05 14:43:03 +00:00
threads.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
threads.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
tile.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
tiled_image.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02: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 Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
twowin.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_about.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_circles.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_images.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_lines.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_points.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_rects.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_schemes.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_scrollbarsize.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_simple_terminal.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_symbol.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_text.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittest_viewport.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
unittests.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
utf8.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
valuators.fl Update fluid (.fl) files. 2018-05-01 10:58:16 +00:00
windowfocus.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00

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*)
-----------------------------------------------------