fltk/test
Albrecht Schlosser 8ac2a99565 Fix "fully support ... own shared libraries" (#1238)
- If shared libraries are built, then fluid, fltk-options, and the
  "games" are linked against the shared FLTK libraries. On some
  platforms the static and the shared versions of fluid and
  fltk-options are built. The games are only built if
  FLTK_BUILD_TEST is enabled.

- The CMake 'install' target now installs the games (if built)
  and their man pages on all platforms (no matter if that is
  useful, for instance on Windows).

- On macOS 'CMAKE_INSTALL_RPATH' is set so *installed* programs
  automatically find their shared FLTK libraries. The "shared"
  versions of fluid and fltk-options got their own '.plist' files.
  This works for both the executables themselves as well as those
  included in bundles. There may be more to do on the macOS platform.

Backported from 'master' (1066b69c8e).
2025-04-21 22:00:35 +02:00
..
desktop
images Move animated gif images to the test/images folder 2023-02-23 19:28:27 +01:00
mac-resources Update or remove version numbers, update copyright years 2024-10-15 20:42:26 +02:00
pixmaps Move animated gif images to the test/images folder 2023-02-23 19:28:27 +01:00
.gitignore Fix tabs, trailing spaces, and update dependencies 2024-08-10 20:32:19 +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 Update documentation, remove/edit explicit FLTK versions 2024-03-14 17:16:43 +01: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 #840: Generously adds Fl::args_to_utf8() for MinGW support. 2023-12-15 13:04:57 +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 Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
checkers_pieces.fl Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01:00
checkers.cxx Fix out-of-bounds access in test/checkers.cxx 2025-04-18 18:09:57 +02:00
clipboard.cxx Use fixed font in test/clipboard for text display 2024-03-09 13:56:09 +01:00
clock.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
CMakeLists.txt Fix "fully support ... own shared libraries" (#1238) 2025-04-21 22:00:35 +02:00
colbrowser.cxx #840: Generously adds Fl::args_to_utf8() for MinGW support. 2023-12-15 13:04:57 +01:00
color_chooser.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
contrast.cxx Fix and improve fl_contrast() calculations 2024-05-16 19:58:24 +02:00
coordinates.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
cube.cxx Improve timer statistics in test/cube demo 2024-12-04 16:42:53 +01:00
CubeMain.cxx Enable building the CubeView demo w/o requiring '<config.h>' 2024-11-29 16:19:22 +01:00
CubeView.cxx Update fluid tutorial on CubeView and demo code 2021-05-21 20:08:12 +02:00
CubeView.h Enable building the CubeView demo w/o requiring '<config.h>' 2024-11-29 16:19:22 +01:00
CubeViewUI.fl Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01: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 Add Fl_Terminal to "Scrollbar Size" unittest (#931) 2024-03-11 13:20:17 -07:00
demo.menu Update docs and screenshot for fl_line_style() (#1016) 2024-07-21 22:34:02 +02:00
device.cxx Implement and document new class Fl_PDF_File_Surface 2024-04-30 10:22:47 +02:00
doublebuffer.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
editor.cxx test/editor: ensure buffer termination 2025-02-19 17:14:25 +01:00
fast_slow.fl Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01:00
file_chooser.cxx Fl_Terminal widget (#800) 2023-11-14 07:01:52 -08: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 MSVC: Fix array allocation in test/fltk-versions (#1131) 2024-11-18 02:08:56 +01:00
fonts.cxx #840: Generously adds Fl::args_to_utf8() for MinGW support. 2023-12-15 13:04:57 +01:00
forms.cxx Make the 'Forms' compatibility library 'fltk_forms' optional 2023-12-20 17:33:37 +01:00
fractals.cxx Remove unnecessary casts from glut demo programs 2024-10-18 17:01:34 +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
fullscreen.cxx fullscreen test app: prevent combination of fullscreen + maximize 2025-02-03 12:22:07 +01:00
gl_overlay.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
glpuzzle.cxx glpuzzle: smoother animation at 72fps 2024-12-06 13:25:13 +01:00
glut_test.cxx Fix trailing whitespace and dependencies 2023-10-13 19:08:30 +02:00
grid_alignment.cxx Update documentation, remove/edit explicit FLTK versions 2024-03-14 17:16:43 +01:00
grid_buttons.cxx Add Fl_Grid widget and test and demo programs 2023-10-16 22:18:24 +02:00
grid_dialog.cxx Adds linespacing() to Fl_Browser_ and all derived widgets 2023-11-25 18:20:08 +01: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
handle_keys.cxx Fix CTRL/META state display in test/handle_keys.cxx (macOS) 2024-08-23 17:13:15 +02:00
hello.cxx #842: Enables command line color arguments on macOS 2023-12-16 21:59:43 +01:00
help_dialog.cxx #840: Generously adds Fl::args_to_utf8() for MinGW support. 2023-12-15 13:04:57 +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 Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01:00
input_choice.cxx Update test/input_choice demo (#978) 2024-06-27 03:19:26 +02:00
input.cxx Fl_Terminal widget (#800) 2023-11-14 07:01:52 -08:00
keyboard_ui.fl Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01:00
keyboard.cxx Use FL_Alt_Gr key definition in test/keyboard 2024-03-09 14:03:51 +01:00
keyboard.h Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
label.cxx Adding horiizonatl and vertical label margin 2024-08-27 15:13:32 +02:00
line_style_docs.cxx Resize line sizes and widths dynamically in test/line_style_docs 2024-07-23 17:18:40 +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 Finish release 1.4.0 2024-11-17 20:01:46 +01:00
Makefile Configure/make: Quote variables that may contain spaces 2024-08-10 16:28:37 +02:00
mandelbrot_ui.fl Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01: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
menubar.cxx Add option to test scaling shortcuts in test/menubar 2024-10-07 14:27:01 +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 native-filechooser has preview panel with FLTK_USE_X11 and macOS 2024-03-18 18:22:41 +01: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_browser.cxx Fix: Filechooser preview of XML file shows it as a corrupt image (#926) 2024-03-04 21:15:47 +01:00
pixmap.cxx Animated GIF support (Fl_Anim_GIF_Image class) (#375) 2023-01-21 17:27:58 +01:00
preferences.fl Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01:00
radio.fl Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01: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
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 Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01: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
shadow_variables.cxx Test public headers for shadowed variables (STR 2728) 2024-04-18 17:13:09 +02: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 Fix tabs, trailing spaces, and update dependencies 2024-08-10 20:32:19 +02:00
sudoku.ico
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 Fl_Terminal widget (#800) 2023-11-14 07:01:52 -08:00
tabs.fl Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01:00
terminal.fl Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01: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 Minor fixes and window size_range in new test/tile.cxx 2023-11-29 14:42:06 +01:00
tiled_image.cxx Update dependencies and fix whitespace errors 2023-02-02 17:09:14 +01:00
trackball.c Fix compiler warnings (VS 2019) 2024-12-10 23:12:22 +01:00
trackball.h
tree.fl Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01: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 Add Fl_String not-equal test 2024-01-10 21:32:02 -08: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 Fix several compiler warnings 2024-03-12 21:47:33 +01:00
unittest_symbol.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
unittest_terminal.cxx Fl_Terminal widget (#800) 2023-11-14 07:01:52 -08: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 #840: Generously adds Fl::args_to_utf8() for MinGW support. 2023-12-15 13:04:57 +01:00
unittests.h Add Fl_Terminal to "Scrollbar Size" unittest (#931) 2024-03-11 13:20:17 -07:00
utf8.cxx tedst/utf8: Change default font used under Windows for "Unicode Display Test" 2025-01-19 18:39:38 +01:00
valuators.fl Update Fluid (.fl) files for release 1.4.1 2024-12-09 20:46:01 +01: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

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