fltk/test
Albrecht Schlosser 0f41797b7a Cairo: introduce Fl::cairo_flush() in FLTK API
Flushing the Cairo context is necessary on Windows to make Cairo
drawings appear on the device (screen). This new method makes it easy
for user code to do this correctly after using Cairo drawings.

- add Fl::cairo_flush(cairo_t *)
- document Fl::cairo_flush(cairo_t *)
- reformat Cairo doxygen docs and code (partially)
- use the new method in Fl_Cairo_Window
- use the new method in test/cairo_test.cxx
- other minor (text) changes in test/cairo_test.cxx
- add test/cairo_test to the demo menu (test/demo.menu)
2023-03-14 19:51:34 +01: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 Improve and extend fl_contrast() (#370) 2022-12-28 18:16:23 +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 Fl_String refactoring and extension (#683) 2023-02-23 15:42:05 +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 Fix position() methods that shadow Fl_Widget::position() 2023-02-02 20:54:19 +01:00
button.cxx
buttons.cxx Add Fl_Scheme_Choice widget and use it in test programs 2023-01-12 19:21:09 +01:00
cairo_test.cxx Cairo: introduce Fl::cairo_flush() in FLTK API 2023-03-14 19:51:34 +01:00
checkers_pieces.fl More natural shading for Checkers pieces. 2022-01-29 00:25:34 +01:00
checkers.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
clipboard.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
clock.cxx
CMakeLists.txt CMake: build shared libs with OPTION_CAIROEXT (issue #250) 2023-03-09 17:34:05 +01: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 Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01: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
cursor.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
curve.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
demo.cxx Move global FLTK options into new app fltk-admin (#560) 2023-01-21 17:14:41 +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
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 Rename some Fl_Flex methods for FLTK compliance (#594) 2022-12-15 16:46:40 +01:00
fltk-versions.cxx
fonts.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
forms.cxx
fractals.cxx Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
fracviewer.cxx
fracviewer.h
fromdos.c
fullscreen.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +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
handle_events.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
hello.cxx
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
iconize.cxx
image.cxx
inactive.fl
input_choice.cxx
input.cxx Fix position() methods that shadow Fl_Widget::position() 2023-02-02 20:54:19 +01:00
keyboard_ui.fl
keyboard.cxx Fix position() methods that shadow Fl_Widget::position() 2023-02-02 20:54:19 +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 CMake: build shared libs with OPTION_CAIROEXT (issue #250) 2023-03-09 17:34:05 +01:00
Makefile CMake: build shared libs with OPTION_CAIROEXT (issue #250) 2023-03-09 17:34:05 +01:00
mandelbrot_ui.fl Adding color to test/mandelbrot (#634) 2023-01-05 14:10:46 +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 Avoid "#undef __APPLE__" preprocessor directive 2023-02-07 07:17:23 +01:00
message.cxx
minimum.cxx
native-filechooser.cxx
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 Animated GIF support (Fl_Anim_GIF_Image class) (#375) 2023-01-21 17:27:58 +01:00
pixmap.cxx Animated GIF support (Fl_Anim_GIF_Image class) (#375) 2023-01-21 17:27:58 +01:00
preferences.fl Update dependencies and fix whitespace errors 2023-02-02 17:09:14 +01:00
radio.fl
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
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
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 Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
sudoku.ico
sudoku.rc
symbols.cxx Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
table.cxx Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
tabs.fl Fix compiler warning in test/tabs 2023-01-10 15:20:05 +01:00
threads.cxx Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
threads.h
tile.cxx
tiled_image.cxx Update dependencies and fix whitespace errors 2023-02-02 17:09:14 +01:00
trackball.c
trackball.h
tree.fl Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02: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 to Fl_Preferences (#687) 2023-02-25 22:44:39 +01: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 Add Fl_Scheme_Choice widget and use it in test programs 2023-01-12 19:21:09 +01: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 Fl_String refactoring and extension (#683) 2023-02-23 15:42:05 +01:00
utf8.cxx Animated GIF support (Fl_Anim_GIF_Image class) (#375) 2023-01-21 17:27:58 +01:00
valuators.fl Fixing FLUID file corruption from issue #653 (#662) 2023-01-26 15:23:43 +01:00
windowfocus.cxx
wizard.cxx

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