fltk/test
Albrecht Schlosser 7f24a0d6d8 Update docs and screenshot for fl_line_style() (#1016)
As a follow-up to the discussion I used the posted screenshot demo
(thanks to Greg), redesigned it using Fl_Grid, and added it as a
new test program, including Makefiles and CMakeLists.txt.

New file: test/line_style_docs.cxx to create screenshot. Note that the
old test/line_style.cxx is not obsolete, it can be used to test the
line styles interactively.

Docs have been updated in both chapter "Drawing Things" and the
function description.

Also added the new demo to test/demo.menu under "Images for Manual...".
2024-07-21 22:34:02 +02:00
..
desktop
images Move animated gif images to the test/images folder 2023-02-23 19:28:27 +01:00
mac-resources
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
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 Update docs and screenshot for fl_line_style() (#1016) 2024-07-21 22:34:02 +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
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 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 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 Improve test/handle_keys.cxx 2024-07-01 00:30:35 +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
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_docs.cxx Update docs and screenshot for fl_line_style() (#1016) 2024-07-21 22:34:02 +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 Update dependencies 2024-06-21 18:16:44 +02:00
Makefile Update docs and screenshot for fl_line_style() (#1016) 2024-07-21 22:34:02 +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
resize-example5b.cxx
resize-example5c.cxx
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 Fix compiler warnings 2024-06-30 09:25:31 -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
trackball.h
tree.fl Fix horiz connection lines (#1008) 2024-07-08 12:13:44 -07: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*)
-----------------------------------------------------