fltk/test
Bill Spitzak 8009fef12c Put Fl::grab() into it's own source file. Rewritten as suggested so that
it takes a window pointer, and grab(0) releases.  You can now call grab
repeatedly with the same or different values without it failing.  The old
Fl::grab() and Fl::release() are emulated in inline functions in Fl.H

Added Fl_Menu_::copy(Fl_Menu_Item*), which will be useful for fluid, although
that use is nyi.

Fixes and cleanup to the code for Fl_Menu_::add(...).


git-svn-id: file:///fltk/svn/fltk/trunk@268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-03 08:43:35 +00:00
..
adjuster.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
arc.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
ask.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
bitmap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
black_1.xbm Initial revision 1998-10-06 18:21:25 +00:00
black_2.xbm Initial revision 1998-10-06 18:21:25 +00:00
black_3.xbm Initial revision 1998-10-06 18:21:25 +00:00
black_4.xbm Initial revision 1998-10-06 18:21:25 +00:00
blackking_1.xbm Initial revision 1998-10-06 18:21:25 +00:00
blackking_2.xbm Initial revision 1998-10-06 18:21:25 +00:00
blackking_3.xbm Initial revision 1998-10-06 18:21:25 +00:00
blackking_4.xbm Initial revision 1998-10-06 18:21:25 +00:00
boxtype.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
browser.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
browserop.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
buttons.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
checkers.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
clock.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
colbrowser.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
color_chooser.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
connect.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
cube.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
cursor.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
curve.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
demo.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
demo.menu Removed demod.menu, added editor arguments... 1999-01-07 17:24:37 +00:00
doublebuffer.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
editor.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fast_slow.fl Initial revision 1998-10-06 18:21:25 +00:00
file_chooser.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_jpeg_image.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fonts.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
forms.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fractals.cxx Fixes from Bill: 1999-01-19 19:10:39 +00:00
fracviewer.c Initial revision 1998-10-06 18:21:25 +00:00
fracviewer.h Initial revision 1998-10-06 18:21:25 +00:00
fromdos.c Initial revision 1998-10-06 18:21:25 +00:00
fullscreen.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
gl_overlay.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
glpuzzle.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
hello.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
iconize.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
image.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
inactive.fl Updated Fluid files for new extensions. 1998-12-07 13:22:00 +00:00
input.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
jpeg_image.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
keyboard_ui.fl Initial revision 1998-10-06 18:21:25 +00:00
keyboard.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
label.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
list_visuals.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Makefile Added optimization for SGI builds (mike: please run autoconf before making 1999-01-31 07:43:16 +00:00
mandelbrot_ui.fl Updated Fluid files for new extensions. 1998-12-07 13:22:00 +00:00
mandelbrot.cxx Fixes from Bill: 1999-01-13 15:45:50 +00:00
mandelbrot.h Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
menubar.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
message.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
minimum.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
navigation.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
output.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
overlay.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
pack.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
pixmap_browser.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
pixmap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
porsche1.xpm Initial revision 1998-10-06 18:21:25 +00:00
porsche.xpm Initial revision 1998-10-06 18:21:25 +00:00
radio.fl Initial revision 1998-10-06 18:21:25 +00:00
README Added common heading and footer to all source files. 1998-10-20 13:25:25 +00:00
resize.fl Initial revision 1998-10-06 18:21:25 +00:00
resizebox.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
scroll.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
shape.cxx Fixes from Bill: 1999-01-13 15:45:50 +00:00
shiny_panel.fl Initial revision 1998-10-06 18:21:25 +00:00
shiny.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
srs.xbm Initial revision 1998-10-06 18:21:25 +00:00
subwindow.cxx Put Fl::grab() into it's own source file. Rewritten as suggested so that 1999-02-03 08:43:35 +00:00
symbols.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
tabs.fl Initial revision 1998-10-06 18:21:25 +00:00
tile.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +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
valuators.fl Updated Fluid files for new extensions. 1998-12-07 13:22:00 +00:00
white_1.xbm Initial revision 1998-10-06 18:21:25 +00:00
white_2.xbm Initial revision 1998-10-06 18:21:25 +00:00
white_3.xbm Initial revision 1998-10-06 18:21:25 +00:00
white_4.xbm Initial revision 1998-10-06 18:21:25 +00:00
whiteking_1.xbm Initial revision 1998-10-06 18:21:25 +00:00
whiteking_2.xbm Initial revision 1998-10-06 18:21:25 +00:00
whiteking_3.xbm Initial revision 1998-10-06 18:21:25 +00:00
whiteking_4.xbm Initial revision 1998-10-06 18:21:25 +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