fltk/test
Manolo Gouy 8e3f66073f 1) Added a new way to detect whether the drawing operation is using the platform's native driver
and whether we are printing:  virtual int Fl_Graphics_Driver::has_feature(driver_feature feature)
This is also because it is not convenient to derive a printer-specific driver with its own
implementation of virtual functions when this implementation differs only in one line of code.

2) Solved the problem of inclusion of non public header by the public header FL/Fl_Device.H:
bracket this with #if FL_LIBRARY / #endif so this non public header is included only when building
FLTK itself.

3) Removed several (but not all) of the FLTK_ABI_VERSION guards that are no longer
useful for code targeting FLTK 1.4.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-27 18:11:20 +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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
clock.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
CMakeLists.txt CMake build on Mac OS: r10688 was not a good move because it works with 2015-04-08 12:16:52 +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 Update fluid .fl files and generated code - remove trailing white space. 2015-07-09 02:09:33 +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 Mac OS: fix demo for programs that are run with an argument. 2015-04-08 15:44:57 +00:00
demo.menu Added the new 'animated' test program. 2015-03-18 11:32:42 +00:00
device.cxx 1) Replicate in branch-1.3-porting all recent changes of branch-1.3 2016-01-10 19:08:16 +00:00
doublebuffer.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
editor.cxx Fixes STR #3169, comments #4, #5 and #7. 2014-12-19 03:47:32 +00:00
fast_slow.fl Update fluid .fl files and generated code - remove trailing white space. 2015-07-09 02:09:33 +00:00
file_chooser.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +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 Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +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 Update fluid .fl files and generated code - remove trailing white space. 2015-07-09 02:09:33 +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 Update fluid .fl files and generated code - remove trailing white space. 2015-07-09 02:09:33 +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 Fixes STR #2985: prevent memory leaks with XGetWindowProperty() 2013-09-20 03:36:02 +00:00
makedepend Update dependencies. 2015-07-22 23:20:47 +00:00
Makefile Mac OS: Enhanced the application bundle for the editor demo 2015-12-29 16:41:15 +00:00
mandelbrot_ui.fl Update fluid .fl files and generated code - remove trailing white space. 2015-07-09 02:09:33 +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 Update fluid .fl files and generated code - remove trailing white space. 2015-07-09 02:09:33 +00:00
radio.fl Update fluid .fl files and generated code - remove trailing white space. 2015-07-09 02:09:33 +00:00
README Added common heading and footer to all source files. 1998-10-20 13:25:25 +00:00
resize.fl Update fluid .fl files and generated code - remove trailing white space. 2015-07-09 02:09:33 +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 Fix typos. 2015-09-01 15:15:21 +00:00
threads.cxx Fixes STR# 2973: collection of Sun compiler fixes. 2013-09-21 16:41:23 +00:00
threads.h Fixes STR# 2973: collection of Sun compiler fixes. 2013-09-21 16:41:23 +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 Update fluid .fl files and generated code - remove trailing white space. 2015-07-09 02:09:33 +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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
valuators.fl Update fluid .fl files and generated code - remove trailing white space. 2015-07-09 02:09:33 +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