fltk/test
Ian MacArthur 3c25a338c4 porting branch: Modify unittest_images.cxx to support "on the fly" update of the image test controls.
This builds on the mechanism that Albrecht added to test flipped and inverted image drawing, but allows the settings to be changed at runtime rather than at compile time as previously.

I'm commiting it here for testing use in the porting branch, but I'm not happy I've really tested it enough yet so reluctant to commit it in the main fltk-1.3.x branch until this code has been reviewed and tested by others.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11281 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-04 13:11:05 +00:00
..
blocks.app/Contents mac os: added mark of support for high resolution in 3 test applications. 2013-06-24 16:05:12 +00:00
checkers.app/Contents mac os: added mark of support for high resolution in 3 test applications. 2013-06-24 16:05:12 +00:00
desktop Added missing semicolons in desktop file 2008-03-16 12:20:30 +00:00
pixmaps Finish "rename" of *.xcf.gz - delete uncompressed files. 2015-11-24 14:43:20 +00:00
sudoku.app/Contents mac os: added mark of support for high resolution in 3 test applications. 2013-06-24 16:05:12 +00:00
adjuster.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
animated.cxx Add a test program to benchmark alpha blending. 2015-03-16 18:23:59 +00:00
arc.cxx Fix more compiler warnings in test/*.cxx (STR #2813). 2015-04-03 12:31:58 +00:00
ask.cxx Update common dialog test program - add "recursive" dialog test. 2015-07-21 12:44:53 +00:00
bitmap.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
blocks.cxx Fix typos in #pragma FL_PORTING. 2016-01-04 13:40:57 +00:00
boxtype.cxx Fix compiler warning, add inactive (deactivated) box test mode. 2015-07-08 23:41:19 +00:00
browser.cxx Added Fl_Choice to browser test program to let one 2013-03-23 21:32:34 +00:00
button.cxx button demo program: use fl_beep() function. 2012-06-02 08:59:45 +00:00
buttons.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
cairo_test.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
checkers.cxx Fix compiler warnings (STR #2988) - final commit. 2016-02-27 17:27:21 +00:00
clock.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
CMakeLists.txt [CMake only] Add examples/fltk-versions to test programs. 2016-02-09 01:22:51 +00:00
colbrowser.cxx Remove 'register storage class deprecated' compiler warnings. 2014-09-03 10:10:37 +00:00
color_chooser.cxx Improve test/color_chooser layout, fix some small bugs. 2015-04-09 20:10:25 +00:00
connect.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
cube.cxx Added OpenGL implementation of fl_vertex calls. Compiling and linking, but functionality untested. 2016-01-23 20:22:50 +00:00
CubeMain.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
CubeView.cxx Fixed build error in msvs because Fl ref to FULLSCREEN enum was not accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets. 2012-04-05 05:12:30 +00:00
CubeView.h Fixed build error in msvs because Fl ref to FULLSCREEN enum was not accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets. 2012-04-05 05:12:30 +00:00
CubeViewUI.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
cursor.cxx Add method to set any custom cursor, based on a Fl_RGB_Image object. 2014-06-16 11:17:57 +00:00
curve.cxx Fix more compiler warnings in test/*.cxx (STR #2813). 2015-04-03 12:31:58 +00:00
demo.cxx Reflect changes in new Windows IDE (Debug Mode). 2016-01-30 21:00:12 +00:00
demo.menu Added the new 'animated' test program. 2015-03-18 11:32:42 +00:00
device.cxx Rewrite all fl_XXX_offscreen() functions so they use an Fl_Image_Surface object. 2016-02-27 13:52:27 +00:00
doublebuffer.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00: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 Add some test options to test/editor.cxx. 2016-02-22 17:21:17 +00: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 Clean up fl_args for OS X. 2016-02-01 23:39:07 +00:00
fonts.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
forms.cxx Fix compiler warnings in test/forms.cxx and more (inspired by STR #2813). 2015-04-03 12:18:31 +00:00
fractals.cxx Fix compiler warnings (STR 2988), porting from branch-1.3. 2016-01-31 04:33:54 +00:00
fracviewer.cxx Fixes STR #3169, comment #8. 2014-12-19 03:50:09 +00:00
fracviewer.h Fixup fractals demo so it doesn't get way ahead of display - some Linux 2002-01-03 14:08:08 +00:00
fromdos.c Initial revision 1998-10-06 18:21:25 +00:00
fullscreen.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
gl_overlay.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
glpuzzle.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
hello.cxx Made Pico/SDL setup compile and run some minimal code. 2016-03-03 00:07:17 +00:00
help-test.html Fix typos in demo file. 2015-02-09 19:15:09 +00:00
help.cxx MacOS: removed XCode3 from header search paths in Xcode FLTK project, 2015-04-09 11:05:36 +00:00
icon.cxx Add ability to set custom icons for windows. STR #2816. 2014-06-16 11:39:32 +00:00
iconize.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
image.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
inactive.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
input_choice.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
input.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
keyboard_ui.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
keyboard.cxx Added support for the additional key of ISO keyboards (aka 102-key keyboards) named FL_Iso_Key. 2012-03-26 16:54:54 +00:00
keyboard.h Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
label.cxx Improve label demo test/label.cxx : better layout + new tooltips. 2015-03-05 12:40:32 +00:00
line_style.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
list_visuals.cxx Add support for SDL as a base library on OS X. 2016-03-02 00:54:37 +00:00
makedepend Update dependencies. 2016-02-27 01:26:10 +00:00
Makefile Stop using ide/Xcode4/plists/editor-Info.plist because ide will be removed. 2016-02-02 08:58:33 +00:00
mandelbrot_ui.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
mandelbrot.cxx Fixed build error in msvs because Fl ref to FULLSCREEN enum was not accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets. 2012-04-05 05:12:30 +00:00
mandelbrot.h Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
menubar.cxx Mac OS: Show how to localize the "Preferences…" custom application menu item 2015-12-01 10:03:23 +00:00
message.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
minimum.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
native-filechooser.cxx Added "Pick Dir" button to allow checking of directory browsing. 2013-08-15 23:01:15 +00:00
navigation.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
output.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
overlay.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
pack.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
pixmap_browser.cxx 1) Added a new way to detect whether the drawing operation is using the platform's native driver 2016-01-27 18:11:20 +00:00
pixmap.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
preferences.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
radio.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
README Added common heading and footer to all source files. 1998-10-20 13:25:25 +00:00
resize.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
resizebox.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
rgb.txt Added the standard rgb.txt file from X11 to the test directory, 2005-05-12 20:03:59 +00:00
rotated_text.cxx Added missing svn properties to test/rotated_text.cxx 2011-08-05 08:43:26 +00:00
scroll.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
shape.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
subwindow.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
sudoku.cxx Updated platform specific #if's to report unimplemented code when compiling with FL_PORTING defined and WIN32 and __APPLE__ undefined> 2016-01-03 22:54:29 +00:00
sudoku.ico Add missing icon for sudoku 2005-11-29 22:03:39 +00:00
sudoku.rc VC++ 2005 Support, drop old files, add icons for Sudoku 2005-11-27 14:45:48 +00:00
sudokurc.h Fixed shortcut and default focus for message dialogs (STR #1298). 2006-05-30 09:38:19 +00:00
symbols.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
table.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
tabs.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
threads.cxx Fix compiler warnings (STR 2988), porting from branch-1.3. 2016-01-31 04:33:54 +00:00
threads.h Fix compiler warnings (STR 2988), porting from branch-1.3. 2016-01-31 04:33:54 +00:00
tile.cxx Improve and reorganize Fl_Tile's documentation and test/tile demo. 2014-10-19 14:17:47 +00:00
tiled_image.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00: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 Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
twowin.cxx Make demo programs display the correct Fl::scheme() in all cases. 2015-02-09 18:04:31 +00:00
unittest_about.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittest_circles.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittest_images.cxx porting branch: Modify unittest_images.cxx to support "on the fly" update of the image test controls. 2016-03-04 13:11:05 +00:00
unittest_lines.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittest_points.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittest_rects.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittest_schemes.cxx 1) Add descriptive tooltips to widgets in 'scheme' test. 2014-05-24 02:59:19 +00:00
unittest_scrollbarsize.cxx Replaced 10302 with 10301 for FLTK_ABI_VERSION 2012-11-06 20:46:14 +00:00
unittest_symbol.cxx Added some extra @@ tests for boundary conditions. 2013-03-27 19:21:22 +00:00
unittest_text.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittest_viewport.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
unittests.cxx Make demo programs display the correct Fl::scheme() in all cases. 2015-02-09 18:04:31 +00:00
utf8.cxx Fix compiler warnings (STR 2988), porting from branch-1.3. 2016-01-31 04:33:54 +00:00
valuators.fl Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
windowfocus.cxx Rename variable 'inp' because of colliding definition in Cygwin. 2015-02-27 14:10:29 +00:00

test/README - 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