fltk/test
Albrecht Schlosser 64cd50c130 Update test/input_choice demo (#978)
- add Fl_Choice widget for layout comparison
- rewrite button callbacks
- improve layout and other details

This is a follow-up to issue #978, "merging" the existing input_choice
demo with "choicetest_v3" as mentioned.
2024-06-27 03:19:26 +02:00
..
desktop
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 based dialog demo program 2023-11-18 18:37:55 +01:00
adjuster.cxx
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
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 FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
checkers.cxx Restore correct copyright window for checkers demo 2024-01-15 17:28:25 +01:00
clipboard.cxx Use fixed font in test/clipboard for text display 2024-03-09 13:56:09 +01:00
clock.cxx
CMakeLists.txt CMake: simplify compiler detection for '-Wshadow' test 2024-05-01 16:07:58 +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 Fix crash in test/cube under macOS when using Quit menubar item 2024-05-14 18:15:05 +02:00
CubeMain.cxx
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
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 Cairo: introduce Fl::cairo_flush() in FLTK API 2023-03-14 19:51:34 +01: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 Promote fl_strlcpy to <FL/fl_string_functions.h> 2024-03-02 23:49:35 +01:00
fast_slow.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +02: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
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 Fix a bunch of compiler warnings, particularly for old compilers 2024-03-15 20:42:42 +01:00
fracviewer.cxx
fracviewer.h
fullscreen.cxx Fix: Fl_Window::fullscreen() does not work correctly on Mac (#920) 2024-02-26 12:15:47 +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 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 VS compiler warning, write "copied" message to tty 2024-03-18 19:34:32 +01: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
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_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 FLUID: Fixes regression #777 2023-09-26 00:29:26 +02: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
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 Update dependencies 2024-06-21 18:16:44 +02:00
Makefile configure-based build: move terminal to fluid-dependent section 2024-05-10 08:20:31 +02:00
mandelbrot_ui.fl FLUID: Fixes regression #777 2023-09-26 00:29:26 +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
menubar.cxx Improve implementation of the macOS Window menu 2024-02-20 16:00:01 +01:00
message.cxx
minimum.cxx
native-filechooser.cxx native-filechooser has preview panel with FLTK_USE_X11 and macOS 2024-03-18 18:22:41 +01:00
navigation.cxx
offscreen.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
output.cxx
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 Adds Fl_Input RMB menu translation to test/preferences 2023-12-28 15:43:21 +01:00
radio.fl Update dependencies, whitespace, and Fl_File_Chooser.cxx 2024-03-19 15:39:18 +01:00
README-unittests.txt Make unittest conform to CMP (#597) 2022-12-17 13:16:57 +01:00
README.txt
resize-arrows.cxx
resize-arrows.h Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
resize-example1.cxx
resize-example2.cxx
resize-example3a.cxx
resize-example3b.cxx
resize-example3c.cxx
resize-example4a.cxx
resize-example4b.cxx
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
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 macOS audio is usable with XQuartz 2023-08-16 11:18:19 +02:00
sudoku.ico
sudoku.rc
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 FLUID: Fixes regression #777 2023-09-26 00:29:26 +02:00
terminal.fl Rename putchar() to plot_char() (#944) 2024-04-06 23:36:04 -07:00
threads.cxx Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
threads.h
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 (Windows, MSVC) 2021-08-30 13:56:28 +02:00
trackball.h
tree.fl FLUID: fixing test/valuator.fl and test/tree.fl 2023-11-15 15:48:22 +01:00
twowin.cxx
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 Fix some but not all memory leaks in test/utf8 demo 2023-05-08 16:26:07 +02:00
valuators.fl FLUID: fixing test/valuator.fl and test/tree.fl 2023-11-15 15:48:22 +01:00
windowfocus.cxx
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*)
-----------------------------------------------------