fltk/test
Greg Ercolano 2c5006563f Fl_Tree API breaking changes (we haven't released 1.3.0 yet..):
Fl_Tree::labelsize() -> item_labelsize()            -- TO AVOID COLLISION WITH Fl_Widget::labelsize()!
    Fl_Tree::labelfont() -> item_labelfont()            -- TO AVOID COLLISION WITH Fl_Widget::labelfont()!

Fl_Tree_Prefs (internal) changes:
    Fl_Tree_Prefs::fgcolor() -> labelfgcolor()          -- for consistency with above
    Fl_Tree_Prefs::bgcolor() -> labelbgcolor()          -- for consistency with above
    Fl_Tree_Prefs::selectcolor() removed                -- uses Fl_Widget::selection_color() instead
    Fl_Tree_Prefs::inactivecolor() removed              -- was unused; inactive color procedurally calculated

Other Fl_Tree mods:
    o Fixed bug with select_all(item) and deselect_all(item)
      (they were not limiting themselves to children of specified item)
    o Fixed bug with item not drawing in its /own/ bgcolor when item selected
    o Fl_Tree uses the Fl_Widget::selection_color()
    o All methods that deal with 'font types' changed int -> Fl_Font
    o All methods that deal with 'font sizes' changed int -> Fl_Fontsize
    o Added needed methods to Fl_Tree for accessing colors:

        item_labelfgcolor()     -- access default fg color used for new items
        item_labelbgcolor()     -- access default bg color used for new items
        tree_connectorcolor()   -- access the connector line color

    o Small doxygen comment adjustments and general clarifications
    o test/tree demo modified to include testing of new label color methods, cleanup



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8340 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-30 20:22:06 +00:00
..
blocks.app/Contents Do some rearranging of image and desktop support files. 2006-08-25 06:58:33 +00:00
checkers.app/Contents More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
desktop Added missing semicolons in desktop file 2008-03-16 12:20:30 +00:00
pixmaps Removed DOS style ^M's; they were preventing SGI compiles (partial STR#2174) 2009-03-13 22:58:31 +00:00
sudoku.app/Contents Update OSX icons. 2006-01-15 19:12:08 +00:00
adjuster.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
arc.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
ask.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
bitmap.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
blocks.cxx Fixed more Copyright to 2010. 2010-11-28 21:12:59 +00:00
boxtype.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
browser.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
button.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
buttons.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
cairo_test.cxx Fixed use of FLTK_HAVE_CAIRO under Mac OS. 2011-01-06 13:17:21 +00:00
checkers.cxx Changed checkers field color because pieces were close to invisibel on OS X. I hope this has no negative effect on very dark desktops... . 2011-01-02 03:55:23 +00:00
clock.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
CMakeLists.txt Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO 2011-01-06 10:24:58 +00:00
colbrowser.cxx Change colbrowser to btter conform to FLTK coding standards. For OS X bundle format, move the RGB file into the bundel. 2011-01-01 21:06:56 +00:00
color_chooser.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
connect.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
cube.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
CubeMain.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
CubeView.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
CubeView.h More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
CubeViewUI.fl New context_changed() function for OpenGL windows allowing efficient texture loading (str #1372) 2006-08-17 09:49:43 +00:00
cursor.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
curve.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
demo.cxx Added missing #include's when compiled using Xcode 2011-01-11 10:36:44 +00:00
demo.menu Integrated menu into demo resource branch for OS X. Indicating items that open more choices with ... 2011-01-02 03:50:54 +00:00
device.cxx Fixed a few GNU compiler warnings (-pedantic): C++ comments in C files, 2011-01-11 20:52:38 +00:00
doublebuffer.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
editor.cxx Reverting unintentionally committed experimental code in r8256. Sorry. 2011-01-11 13:40:26 +00:00
fast_slow.fl Redid Carl's fix to fast_slow (making it be output widgets rather 1999-05-06 06:21:53 +00:00
file_chooser.cxx OS X adds a -psn_... argument to command line calls. Ignore that. 2011-01-01 20:17:58 +00:00
fl_jpeg_image.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
fonts.cxx Fixed typo. 2011-01-02 14:50:39 +00:00
forms.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
fractals.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
fracviewer.cxx Fix <FL/glu.h> includes. 2006-08-25 16:12:13 +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 all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
gl_overlay.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
glpuzzle.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
hello.cxx Remove screen dimension test 2011-01-09 14:26:21 +00:00
help.cxx test/help now finds some documentation. This kind of works, but since we decided to load a sample page instead, I will have to improve this... . 2011-01-04 00:53:13 +00:00
iconize.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
image.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
inactive.fl STR #1052: updated color handling in test programs. If you are planning on creating labels based on foreground or background color, you should load the colors *before* creating the user interface. This is done by calling: 2005-11-02 13:57:56 +00:00
input_choice.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
input.cxx Added "Tab Nav" and "Arrow Nav" toggle to the test/input program. 2010-12-21 02:37:41 +00:00
keyboard_ui.fl Typos and alignments 2009-07-18 11:03:44 +00:00
keyboard.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
keyboard.h More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
label.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
line_style.cxx Removed unnecessary casts (STR #2308). 2010-12-08 23:58:32 +00:00
list_visuals.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
makedepend Updated dependencies. 2011-01-04 15:15:48 +00:00
Makefile Added missing dependency on tree.fl, and extended target clean to delete 2011-01-22 16:56:12 +00:00
makefile.wat More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
mandelbrot_ui.fl Integrated menu into demo resource branch for OS X. Indicating items that open more choices with ... 2011-01-02 03:50:54 +00:00
mandelbrot.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
mandelbrot.h More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
menubar.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
message.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
minimum.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
native-filechooser.cxx native filchooser test now uses system colors and resizes nicely. 2011-01-01 20:27:07 +00:00
navigation.cxx Added "Tab Nav" and "Arrow Nav" toggle to the test/input program. 2010-12-21 02:37:41 +00:00
output.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
overlay.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
pack.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
pixmap_browser.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
pixmap.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
preferences.fl Fixed a few GNU compiler warnings (-pedantic): C++ comments in C files, 2011-01-11 20:52:38 +00:00
radio.fl Sorted buttons order as they appear in fluid, changed the 'same shortcuts A1 and A2 as it is more confusing than helping in finding bugs for this test case. 2008-12-16 20:11:04 +00:00
README Added common heading and footer to all source files. 1998-10-20 13:25:25 +00:00
resize.fl made the window its own resizable() for better resize testing 2008-09-02 21:42:36 +00:00
resizebox.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +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 Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
scroll.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
shape.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
subwindow.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
sudoku.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +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 Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
table.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
tabs.fl STR #1652: allowing shortcuts in tabs 2007-05-01 20:20:21 +00:00
threads.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
threads.h More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
tile.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
tiled_image.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
trackball.c Initial revision 1998-10-06 18:21:25 +00:00
trackball.h Initial revision 1998-10-06 18:21:25 +00:00
tree.fl Fl_Tree API breaking changes (we haven't released 1.3.0 yet..): 2011-01-30 20:22:06 +00:00
unittest_about.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_circles.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_images.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_lines.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_points.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_rects.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_scrollbarsize.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_text.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_viewport.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittests.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
utf8.cxx set file properties. 2011-01-02 15:31:09 +00:00
valuators.fl Fixed modified .fl file. 2007-01-18 10:41:27 +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