fltk/test
Greg Ercolano df5c8cc76f Fixed some keynav problems:
No focus, hitting down would skip first item
    Enter key to toggle was falling through to other widgets
    Removing an item that has focus clears item focus (to prevent wild ptr)

Added new methods:
	Fl_Tree::get_item_focus()
	Fl_Tree::first_visible()
	Fl_Tree::last_visible()
	Fl_Tree::is_vscroll_visible()

Simplified + fixed Fl_Tree_Item::next_displayed()

Fixed Fl_Tree_Item::visible_r(), was skipping item if it was a closed branch.

tree demo: fixed button ordering for "Test Suggestions" button



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-29 13:34:39 +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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
arc.cxx removed more 64 bits warning in curve/arc demos 2012-04-24 02:06:52 +00:00
ask.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
bitmap.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
blocks.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
boxtype.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
browser.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
button.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +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 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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
color_chooser.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
connect.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
cube.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +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 New context_changed() function for OpenGL windows allowing efficient texture loading (str #1372) 2006-08-17 09:49:43 +00:00
cursor.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
curve.cxx removed more 64 bits warning in curve/arc demos 2012-04-24 02:06:52 +00:00
demo.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
doublebuffer.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
editor.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
fast_slow.fl
file_chooser.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
fl_jpeg_image.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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
fractals.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
fracviewer.cxx Fix <FL/glu.h> includes. 2006-08-25 16:12:13 +00:00
fracviewer.h
fromdos.c
fullscreen.cxx Fix STR#2641: true fullscreen windows that cover all their screen including menu bar, task bar, dock. 2012-03-23 16:47:53 +00:00
gl_overlay.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
glpuzzle.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
hello.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
help.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +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 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 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 Fixed error with \ key under Mac OS 2012-03-09 21:24:57 +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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
line_style.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
list_visuals.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
makedepend More dependency updates (makedepend files). 2011-02-06 14:41:45 +00:00
Makefile Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
makefile.wat Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +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 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 The interface displays Fl_Menu_Bar / Fl_Sys_Menu_Bar class names. 2012-02-18 08:29:30 +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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
pixmap.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
preferences.fl Added text constants for preference names (project and application) for 2012-01-18 15:15:04 +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
resize.fl made the window its own resizable() for better resize testing 2008-09-02 21:42:36 +00:00
resizebox.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
rgb.txt
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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
subwindow.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
sudoku.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +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 STR #1652: allowing shortcuts in tabs 2007-05-01 20:20:21 +00:00
threads.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
threads.h Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
tile.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
tiled_image.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
trackball.c
trackball.h
tree.fl Fixed some keynav problems: 2012-05-29 13:34:39 +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_scrollbarsize.cxx Solves STR #2681. 2012-04-14 20:35:56 +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 Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
utf8.cxx Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +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