fltk/test
Bill Spitzak 97234fb3e2 Replaced remaining _WIN32 symbols with WIN32
Stuff from work:

Removed reference to unused GL/glu.h header file, which is missing on
some Linux systems.

Fl_Gl_Window has a new method to allow you to get and set the context:

  void Fl_Gl_Window::context(void*, int destroy = 0)
  void* Fl_Gl_Window::context() const;

  Return or set a pointer to the GLContext that this window is
  using. This is a system-dependent structure, but it is portable to
  copy the context from one window to another. You can also set it to
  NULL, which will force FLTK to recreate the context the next time
  make_current() is called, this is useful for getting around bugs in
  OpenGL implementations.

  If destroy_flag is true the context will be destroyed by fltk when
  the window is destroyed, or when the mode() is changed, or the next
  time context(x) is called.

Some cleanup of Fl_Gl_Choice to move most of the system dependent
#ifdefs into Fl_Gl_Choice.cxx.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-03-14 17:20:02 +00:00
..
adjuster.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
arc.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
ask.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
bitmap.cxx Copyright 2001. 2001-01-22 15:13:41 +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 Copyright 2001. 2001-01-22 15:13:41 +00:00
browser.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
browserop.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
button.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
buttons.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
checkers.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
clock.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
colbrowser.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
color_chooser.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
connect.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
cube.cxx Replaced remaining _WIN32 symbols with WIN32 2001-03-14 17:20:02 +00:00
CubeMain.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
CubeView.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
CubeView.h Copyright 2001. 2001-01-22 15:13:41 +00:00
CubeViewUI.fl Added CubeView source files. 1999-02-22 21:33:55 +00:00
cursor.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
curve.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
demo.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
demo.menu Added Fl::first_window(window) to change which window is at the top of 2000-05-13 20:03:20 +00:00
doublebuffer.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
editor.cxx Copyright 2001. 2001-01-22 15:13:41 +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 Copyright 2001. 2001-01-22 15:13:41 +00:00
fl_jpeg_image.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
fonts.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
forms.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
fractals.cxx Copyright 2001. 2001-01-22 15:13:41 +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 Copyright 2001. 2001-01-22 15:13:41 +00:00
gl_overlay.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
glpuzzle.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
hello.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
iconize.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
image.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
inactive.fl Updated Fluid files for new extensions. 1998-12-07 13:22:00 +00:00
input.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
jpeg_image.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
keyboard_ui.fl Initial revision 1998-10-06 18:21:25 +00:00
keyboard.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
label.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
line_style.cxx Added return type to main() in line_style.cxx 2000-06-08 07:50:23 +00:00
list_visuals.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
Makefile Copyright 2001. 2001-01-22 15:13:41 +00:00
mandelbrot_ui.fl Updated Fluid files for new extensions. 1998-12-07 13:22:00 +00:00
mandelbrot.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
mandelbrot.h Copyright 2001. 2001-01-22 15:13:41 +00:00
menubar.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
message.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
minimum.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
navigation.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
output.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
overlay.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
pack.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
pixmap_browser.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
pixmap.cxx Copyright 2001. 2001-01-22 15:13:41 +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 Copyright 2001. 2001-01-22 15:13:41 +00:00
scroll.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
shape.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
shiny_panel.fl Initial revision 1998-10-06 18:21:25 +00:00
shiny.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
srs.xbm Initial revision 1998-10-06 18:21:25 +00:00
subwindow.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
symbols.cxx Copyright 2001. 2001-01-22 15:13:41 +00:00
tabs.fl Does not clear Fl::keysym on every event, this makes better back compatability and fixes Win2000 2000-10-21 20:01:56 +00:00
tile.cxx Copyright 2001. 2001-01-22 15:13:41 +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