fltk/test
Albrecht Schlosser a51a940890 Fix compiler warnings (gcc 6.1).
Some of these warnings were benign (code formatting), but one of them
showed a potential bug (zero divide in test/fraciewer.cxx).

Fixed warnings:

 2 suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
 1 this 'while' clause does not guard... [-Wmisleading-indentation]
 1 this 'for' clause does not guard... [-Wmisleading-indentation]
 1 this 'else' clause does not guard... [-Wmisleading-indentation]


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-29 09:23:44 +00:00
..
blocks.app/Contents
checkers.app/Contents
desktop
pixmaps
sudoku.app/Contents
adjuster.cxx
animated.cxx Fix compiler warnings found with gcc 4.0.4. 2016-04-05 20:35:29 +00:00
arc.cxx
ask.cxx
bitmap.cxx
blocks.cxx
boxtype.cxx
browser.cxx
button.cxx
buttons.cxx
cairo_test.cxx
checkers.cxx Fix compiler warnings, last part (STR #2988). 2016-02-27 15:14:42 +00:00
clock.cxx
CMakeLists.txt [CMake] Improve sound support detection. 2016-06-14 10:57:56 +00:00
colbrowser.cxx
color_chooser.cxx
connect.cxx
cube.cxx
CubeMain.cxx
CubeView.cxx
CubeView.h
CubeViewUI.fl
cursor.cxx
curve.cxx
demo.cxx Fix compiler warning when compiled with USING_XCODE [-fpermissive]. 2016-04-09 12:38:49 +00:00
demo.menu Add Ian's offscreen test program. 2016-03-05 00:39:40 +00:00
device.cxx Add Fl_Shared_Image *Fl_Image_Surface::highres_image() to draw into high-resolution bitmap. 2016-02-11 20:42:51 +00:00
doublebuffer.cxx
editor.cxx Add some test options to test/editor.cxx. 2016-02-22 16:36:38 +00:00
fast_slow.fl
file_chooser.cxx
fonts.cxx
forms.cxx
fractals.cxx Fix another compiler warning [-Wformat=]. 2016-01-31 04:28:04 +00:00
fracviewer.cxx Fix compiler warnings (gcc 6.1). 2016-07-29 09:23:44 +00:00
fracviewer.h
fromdos.c
fullscreen.cxx Add dots-per-inch info to the screen data displayed by the fullscreen demo. 2016-06-22 08:46:02 +00:00
gl_overlay.cxx
glpuzzle.cxx
hello.cxx
help-test.html remove duplicate '†' 2016-05-23 10:48:06 +00:00
help.cxx Simplify test/help.cxx when USING_XCODE is set. 2016-05-15 08:28:47 +00:00
icon.cxx
iconize.cxx
image.cxx
inactive.fl
input_choice.cxx
input.cxx
keyboard_ui.fl
keyboard.cxx
keyboard.h
label.cxx
line_style.cxx
list_visuals.cxx Fix compiler warnings (STR #2988). 2016-01-31 02:49:56 +00:00
makedepend Update dependencies. 2016-02-22 17:46:53 +00:00
Makefile Add Ian's offscreen test program. 2016-03-05 00:39:40 +00:00
mandelbrot_ui.fl
mandelbrot.cxx
mandelbrot.h
menubar.cxx Mac OS: Show how to localize the "Preferences…" custom application menu item 2015-12-01 10:03:23 +00:00
message.cxx
minimum.cxx
native-filechooser.cxx
navigation.cxx
offscreen.cxx Add Ian's offscreen test program. 2016-03-05 00:39:40 +00:00
output.cxx
overlay.cxx
pack.cxx
pixmap_browser.cxx Fix compiler warnings found with gcc 4.0.4. 2016-04-05 20:35:29 +00:00
pixmap.cxx
preferences.fl
radio.fl
README
resize.fl
resizebox.cxx
rgb.txt
rotated_text.cxx
scroll.cxx
shape.cxx
subwindow.cxx
sudoku.cxx Fix more compiler warnings. 2016-04-05 21:12:49 +00:00
sudoku.ico
sudoku.rc
sudokurc.h
symbols.cxx
table.cxx
tabs.fl
threads.cxx Fix compiler warnings (STR #2988). 2016-01-31 02:49:56 +00:00
threads.h Fix compiler warnings (STR #2988). 2016-01-31 02:49:56 +00:00
tile.cxx Fix documentation of Fl_Tile (STR #3303). 2016-05-09 11:25:57 +00:00
tiled_image.cxx
trackball.c
trackball.h
tree.fl Solves STR#3294; added methods to let user set the userdeicon, 2016-07-21 00:35:06 +00:00
twowin.cxx
unittest_about.cxx
unittest_circles.cxx
unittest_images.cxx Enable negative 'd' and 'ld' arguments in fl_draw_image() test. 2016-03-02 15:38:18 +00:00
unittest_lines.cxx
unittest_points.cxx
unittest_rects.cxx
unittest_schemes.cxx Fix problem w/unittest's schemes -> tab3 text editors 2016-07-14 18:12:46 +00:00
unittest_scrollbarsize.cxx
unittest_symbol.cxx
unittest_text.cxx
unittest_viewport.cxx
unittests.cxx
utf8.cxx Fix compiler warnings (STR #2988). 2016-01-31 02:49:56 +00:00
valuators.fl
windowfocus.cxx

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