fltk/test
Ian MacArthur 6c9d1f7840 Modify the utf8 test demo code to handle surrogate pairs.
It was hard coded to cover the range 0 to 0xFFFF, i.e. the
Basic multilingual plane, even though the demo code allowed
any start index, for any plane, to be entered on the CLI...
As a result, attempts to view supplemental planes were always
just folded back into the BMP.
This change makes the code display the 64K Unicode points
starting at the index given on the CLI, so that the 
supplemental planes *can* now be viewed and tested.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-01 12:24:22 +00:00
..
blocks.app/Contents
checkers.app/Contents More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
desktop Added missing semicolons in desktop file 2008-03-16 12:20:30 +00:00
pixmaps Removed DOS style ^M's; they were preventing SGI compiles (partial STR#2174) 2009-03-13 22:58:31 +00:00
sudoku.app/Contents
adjuster.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
arc.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
ask.cxx Added a default window title function for common dialogs (STR #2562). 2011-02-18 08:52:48 +00:00
bitmap.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
blocks.cxx Fixed more Copyright to 2010. 2010-11-28 21:12:59 +00:00
boxtype.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
browser.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
button.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
buttons.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
cairo_test.cxx Fixed use of FLTK_HAVE_CAIRO under Mac OS. 2011-01-06 13:17:21 +00:00
checkers.cxx Changed checkers field color because pieces were close to invisibel on OS X. I hope this has no negative effect on very dark desktops... . 2011-01-02 03:55:23 +00:00
clock.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
CMakeLists.txt Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO 2011-01-06 10:24:58 +00:00
colbrowser.cxx Change colbrowser to btter conform to FLTK coding standards. For OS X bundle format, move the RGB file into the bundel. 2011-01-01 21:06:56 +00:00
color_chooser.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
connect.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
cube.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
CubeMain.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
CubeView.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
CubeView.h More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
CubeViewUI.fl
cursor.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
curve.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
demo.cxx Added missing #include's when compiled using Xcode 2011-01-11 10:36:44 +00:00
demo.menu Integrated menu into demo resource branch for OS X. Indicating items that open more choices with ... 2011-01-02 03:50:54 +00:00
device.cxx Fixed a problem in the WIN32 version of Fl_Paged_Device::print_window_part() and 2011-04-18 20:47:32 +00:00
doublebuffer.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
editor.cxx Use adequate shortcut for "New View" on the Mac platform. 2011-04-18 11:29:30 +00:00
fast_slow.fl
file_chooser.cxx OS X adds a -psn_... argument to command line calls. Ignore that. 2011-01-01 20:17:58 +00:00
fl_jpeg_image.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
fonts.cxx Fixed typo. 2011-01-02 14:50:39 +00:00
forms.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
fractals.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
fracviewer.cxx
fracviewer.h
fromdos.c
fullscreen.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
gl_overlay.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
glpuzzle.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
hello.cxx Remove screen dimension test 2011-01-09 14:26:21 +00:00
help.cxx test/help now finds some documentation. This kind of works, but since we decided to load a sample page instead, I will have to improve this... . 2011-01-04 00:53:13 +00:00
iconize.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
image.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
inactive.fl
input_choice.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
input.cxx Fix problem with text running off edges of buttons. (linux/xft, osx..) 2011-02-13 16:13:04 +00:00
keyboard_ui.fl Typos and alignments 2009-07-18 11:03:44 +00:00
keyboard.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
keyboard.h More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
label.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
line_style.cxx Removed unnecessary casts (STR #2308). 2010-12-08 23:58:32 +00:00
list_visuals.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
makedepend More dependency updates (makedepend files). 2011-02-06 14:41:45 +00:00
Makefile Removed uses of Fl_Native_File_Chooser_{MAC,WIN32}.H that no longer exist. 2011-02-06 14:08:08 +00:00
makefile.wat More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
mandelbrot_ui.fl Integrated menu into demo resource branch for OS X. Indicating items that open more choices with ... 2011-01-02 03:50:54 +00:00
mandelbrot.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
mandelbrot.h More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
menubar.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
message.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
minimum.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
native-filechooser.cxx native filchooser test now uses system colors and resizes nicely. 2011-01-01 20:27:07 +00:00
navigation.cxx Added "Tab Nav" and "Arrow Nav" toggle to the test/input program. 2010-12-21 02:37:41 +00:00
output.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
overlay.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
pack.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
pixmap_browser.cxx Fixed WIN32 crash when the file dialog window is cancelled. 2011-01-31 17:46:55 +00:00
pixmap.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
preferences.fl Fixed a few GNU compiler warnings (-pedantic): C++ comments in C files, 2011-01-11 20:52:38 +00:00
radio.fl Sorted buttons order as they appear in fluid, changed the 'same shortcuts A1 and A2 as it is more confusing than helping in finding bugs for this test case. 2008-12-16 20:11:04 +00:00
README
resize.fl made the window its own resizable() for better resize testing 2008-09-02 21:42:36 +00:00
resizebox.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
rgb.txt
rotated_text.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
scroll.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
shape.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
subwindow.cxx Corrected typo. 2011-04-14 13:04:57 +00:00
sudoku.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
sudoku.ico
sudoku.rc
sudokurc.h
symbols.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
table.cxx Fixed Compiling with mingw-w64 (STR #2308). 2010-12-08 14:00:35 +00:00
tabs.fl STR #1652: allowing shortcuts in tabs 2007-05-01 20:20:21 +00:00
threads.cxx Changed all #include "config.h" to #include <config.h>. 2010-12-15 12:11:16 +00:00
threads.h More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
tile.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
tiled_image.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
trackball.c
trackball.h
tree.fl Tree demo: removed unused cruft, fixed custom icons. 2011-02-19 22:39:00 +00:00
unittest_about.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_circles.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_images.cxx Added some test parameters for fine tuning of image tests. These parameters 2011-04-20 13:38:28 +00:00
unittest_lines.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_points.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_rects.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_scrollbarsize.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_text.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittest_viewport.cxx More copyright 2010 mods. 2010-11-29 18:18:27 +00:00
unittests.cxx Fixed Copyright to 2010. 2010-11-28 21:06:39 +00:00
utf8.cxx Modify the utf8 test demo code to handle surrogate pairs. 2011-05-01 12:24:22 +00:00
valuators.fl

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