fltk/test
Manolo Gouy f3a84c0ee5 Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL.
All changes are mac-specific, except a very minor change in file src/gl_draw.cxx
where string drawing wrongly claimed to support @symbol, not possible
because symbols are drawn using non-GL primitives.

Unchanged application code can use the new FLTK code.
In addition, the new code allows mac applications to draw OpenGL scenes
at high resolution on so-called 'retina' displays, but this requires some
support from app code. They must call, before opening GL windows,
Fl::use_high_resolution(1);
and change their glViewport() calls as follows
glViewport(0, 0, pxel_w(), pixel_h());
This uses 2 new member functions of the Fl_Gl_Window class,
pixel_w() and pixel_h() returning the window dimensions in pixel
units, that is, twice the w() and h() when the window is mapped
on a retina display.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-20 07:19:23 +00:00
..
blocks.app/Contents
checkers.app/Contents
desktop
pixmaps
sudoku.app/Contents
adjuster.cxx
arc.cxx
ask.cxx
bitmap.cxx
blocks.cxx Fix STR#3063: compilation using Mac OS 10.4 2014-04-27 13:57:09 +00:00
boxtype.cxx
browser.cxx
button.cxx
buttons.cxx
cairo_test.cxx
checkers.cxx
clock.cxx
CMakeLists.txt CMake enhancements, as discussed in STR #3055. 2014-09-27 00:41:06 +00:00
colbrowser.cxx Remove 'register storage class deprecated' compiler warnings. 2014-09-03 10:10:37 +00:00
color_chooser.cxx
connect.cxx
cube.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
CubeMain.cxx
CubeView.cxx
CubeView.h
CubeViewUI.fl Bump version numbers to 1.3.3. 2014-10-05 00:03:27 +00:00
cursor.cxx Add method to set any custom cursor, based on a Fl_RGB_Image object. 2014-06-16 11:17:57 +00:00
curve.cxx
demo.cxx Adjust test/demo.cxx to support the newly added 2014-02-26 21:21:14 +00:00
demo.menu Add unittests to demo program menu. 2014-11-04 10:05:36 +00:00
device.cxx Added Fl_Copy_Surface::w() and Fl_Copy_Surface::h() member functions. 2014-11-08 18:10:35 +00:00
doublebuffer.cxx
editor.cxx Fixes STR #3169, comments #4, #5 and #7. 2014-12-19 03:47:32 +00:00
fast_slow.fl Bump version numbers to 1.3.3. 2014-10-05 00:03:27 +00:00
file_chooser.cxx
fl_jpeg_image.cxx
fonts.cxx
forms.cxx Applying the etorres gleam patch. STR #2672. 2014-02-25 04:24:41 +00:00
fractals.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
fracviewer.cxx Fixes STR #3169, comment #8. 2014-12-19 03:50:09 +00:00
fracviewer.h
fromdos.c
fullscreen.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
gl_overlay.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
glpuzzle.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
hello.cxx
help-test.html
help.cxx
icon.cxx Add ability to set custom icons for windows. STR #2816. 2014-06-16 11:39:32 +00:00
iconize.cxx
image.cxx
inactive.fl Bump version numbers to 1.3.3. 2014-10-05 00:03:27 +00:00
input_choice.cxx
input.cxx
keyboard_ui.fl Bump version numbers to 1.3.3. 2014-10-05 00:03:27 +00:00
keyboard.cxx
keyboard.h
label.cxx
line_style.cxx
list_visuals.cxx
makedepend Update dependencies for FLTK 1.3.3 release. 2014-11-03 10:34:54 +00:00
Makefile Add Fl_Window::wait_for_expose() and test program (STR #3124). 2014-09-26 23:58:05 +00:00
makefile.wat
mandelbrot_ui.fl Bump version numbers to 1.3.3. 2014-10-05 00:03:27 +00:00
mandelbrot.cxx
mandelbrot.h
menubar.cxx
message.cxx
minimum.cxx
native-filechooser.cxx
navigation.cxx
output.cxx
overlay.cxx
pack.cxx
pixmap_browser.cxx
pixmap.cxx
preferences.fl Bump version numbers to 1.3.3. 2014-10-05 00:03:27 +00:00
radio.fl Bump version numbers to 1.3.3. 2014-10-05 00:03:27 +00:00
README
resize.fl Bump version numbers to 1.3.3. 2014-10-05 00:03:27 +00:00
resizebox.cxx
rgb.txt
rotated_text.cxx
scroll.cxx
shape.cxx Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL. 2014-12-20 07:19:23 +00:00
subwindow.cxx
sudoku.cxx Remove Fl::*sleep() method family, as discussed in fltk.coredev. 2014-10-30 16:05:22 +00:00
sudoku.ico
sudoku.rc
sudokurc.h
symbols.cxx
table.cxx
tabs.fl Bump version numbers to 1.3.3. 2014-10-05 00:03:27 +00:00
threads.cxx
threads.h
tile.cxx Improve and reorganize Fl_Tile's documentation and test/tile demo. 2014-10-19 14:17:47 +00:00
tiled_image.cxx
trackball.c Remove 'register storage class deprecated' compiler warnings. 2014-09-03 10:10:37 +00:00
trackball.h
tree.fl Bump version numbers to 1.3.3. 2014-10-05 00:03:27 +00:00
twowin.cxx Fix indentation in recently added test/twowin.cxx demo. 2014-09-27 00:07:27 +00:00
unittest_about.cxx
unittest_circles.cxx
unittest_images.cxx
unittest_lines.cxx
unittest_points.cxx
unittest_rects.cxx
unittest_schemes.cxx 1) Add descriptive tooltips to widgets in 'scheme' test. 2014-05-24 02:59:19 +00:00
unittest_scrollbarsize.cxx
unittest_symbol.cxx
unittest_text.cxx
unittest_viewport.cxx
unittests.cxx
utf8.cxx
valuators.fl Bump version numbers to 1.3.3. 2014-10-05 00:03:27 +00:00
windowfocus.cxx Add missing svn $Id$ tags in new test files. 2014-09-27 00:04:15 +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