fltk/test
Albrecht Schlosser 086396ca54 Fix output and screen_num() in handle_events demo
Output was incorrect, partly to stdout and stderr, resp.

As Manolo noted in fltk.general, Fl_Window::screen_num() is the
correct API to retrieve the screen number of a window rather than
Fl::screen_num(...).
2021-02-10 14:10:13 +01: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
images Use local images in test/help_dialog(.html) 2020-07-23 01:53:24 +02: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 Fix examples build (configure/make) 2020-08-21 20:00:00 +02:00
CMakeLists.txt Add event handling test and demo program 2021-02-08 15:46:35 +01: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
Makefile Remove build-time warning. 2020-12-02 21:12:15 +01:00
README.txt Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +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 Customize corner radius for rounded box/frame (#130) 2020-09-01 12:35:48 +02:00
browser.cxx Remove platform specific code from test apps 2020-08-21 18:54:40 +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.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
clock.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
colbrowser.cxx Remove platform specific code from test apps 2020-08-21 18:54:40 +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 Improve resizing of test/cube demo (#157, #166) 2020-11-24 21:37:59 +01: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 Match format specifier and variable type. 2020-11-25 08:29:47 +01:00
demo.menu Remove platform specific code from test apps 2020-08-21 18:54:40 +02:00
device.cxx Add extra argument to Fl_SVG_File_Surface constructor. 2020-11-03 18:05:18 +01: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 Fix .clang-format and some whitespace errors 2020-08-22 13:35:42 +02:00
fltk-versions.cxx CMake: add examples folder to build (optional) 2020-08-21 18:55:12 +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 debug output from test/fullscreen demo 2021-01-29 13:56:09 +01: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
handle_events.cxx Fix output and screen_num() in handle_events demo 2021-02-10 14:10:13 +01:00
hello.cxx Update test/hello.cxx and related image 2021-01-13 15:12:26 +01:00
help_dialog.cxx Remove platform specific code from test apps 2020-08-21 18:54:40 +02:00
help_dialog.html Use local images in test/help_dialog(.html) 2020-07-23 01:53:24 +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.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
input_choice.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02: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
keyboard_ui.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00: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 Fix examples build (configure/make) 2020-08-21 20:00:00 +02: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
mandelbrot_ui.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
menubar.cxx Implement + deploy fl_strdup() 2020-08-01 14:19:40 -07: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 Allow unix style paths for windows native filechooser 2020-08-08 19:10:57 -07: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.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
pixmap_browser.cxx Fix .clang-format and some whitespace errors 2020-08-22 13:35:42 +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
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 Implement + deploy fl_strdup() 2020-08-01 14:19:40 -07:00
utf8.cxx Implement + deploy fl_strdup() 2020-08-01 14:19:40 -07:00
valuators.fl Fix Fl_Scrollbar layout in test/valuators demo 2020-11-21 13:21:11 +01:00
windowfocus.cxx Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00

README.txt

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