fltk/test
Bill Spitzak ffd26dfc45 I made FL_NORMAL_SIZE into a public int variable. You can now change it
before any widgets are created, in order to change the default size of
the fonts used.  The most useful thing that can be done is to set it to
12 so that the default font size matches Win32.

I also fixed the menubar drawing a bit so that a menubar with a FL_FLAT_BOX
draws correctly.

It should also be documented that "Fl::set_color(Fl_Color(15),0,0,128);"
can be used to get Win32-style highlighting of menus and text items.  This
is not portable to fltk 2.0.

With these changes it should be easier to get fltk to look just like Win32.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-11 08:11:56 +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 Pageup/down by correct amount in scrollbar 2000-01-20 06:14:34 +00:00
browserop.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
button.cxx Fl::add_fd() structures are dynamically allocated so you can listen to 1999-04-17 01:02:30 +00:00
buttons.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
checkers.cxx Fixed compile error with gcc 2.95 - the "d" string needed to be cast to 1999-08-09 14:38:40 +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 Missing header files and FL_EXTERNs that prevented DLL's from compiling 1999-05-11 09:39:31 +00:00
cube.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
CubeMain.cxx Missing "int" on main()... 1999-03-04 13:39:41 +00:00
CubeView.cxx Updated not to use v3f() macro. 1999-03-10 16:40:19 +00:00
CubeView.h Updated not to use v3f() macro. 1999-03-10 16:40:19 +00:00
CubeViewUI.fl Added CubeView source files. 1999-02-22 21:33:55 +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 Fixes for Cygwin POSIX emulation layer from Norman Vine. 2000-04-04 17:57:05 +00:00
demo.menu Added CubeView source files. 1999-02-22 21:33:55 +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 Redid Carl's fix to fast_slow (making it be output widgets rather 1999-05-06 06:21:53 +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 Added gluDeleteQuadric() call to avoid memory leak. 1999-03-25 13:37:00 +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 Fixed glpuzzle so you can move the pieces. 1999-02-25 20:05:30 +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 Updated README and distribution packages to use v1.0.1. 1999-03-25 15:26:44 +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 I made FL_NORMAL_SIZE into a public int variable. You can now change it 2000-04-11 08:11:56 +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 Can draw xpm pixmaps with spaces in the color names (such as the ones in 1999-07-27 17:24:14 +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 Programs can now resize() their windows even if they are not resizable() 2000-01-11 08:20:02 +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 I fixed Fl_Tabs so that child tabs can be added/removed without any 1999-10-15 09:01:48 +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 FL_KEYBOARD events have the correct x/y when sent to child X windows. 1999-07-22 21:37:04 +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 Fixes this demo (got broken somewhere...) 1999-04-08 19:20:49 +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