From 16774ddc4e000c89e560fde0ced8be9814ef041e Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 8 Feb 2017 02:06:52 +0000 Subject: Rename test/help demo program to test/help_dialog. This change avoids a name conflict with CMake's auto-generated target 'help' for "Unix Makefiles", "Ninja", and supposedly other generators as well. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- .gitignore | 2 +- CHANGES | 2 + CMake/macros.cmake | 5 - documentation/src/examples.dox | 8 +- test/CMakeLists.txt | 27 +++- test/Makefile | 14 +-- test/demo.menu | 2 +- test/help-test.html | 278 ----------------------------------------- test/help.cxx | 72 ----------- test/help_dialog.cxx | 73 +++++++++++ test/help_dialog.html | 278 +++++++++++++++++++++++++++++++++++++++++ 11 files changed, 389 insertions(+), 372 deletions(-) delete mode 100644 test/help-test.html delete mode 100644 test/help.cxx create mode 100644 test/help_dialog.cxx create mode 100644 test/help_dialog.html diff --git a/.gitignore b/.gitignore index 952474ff9..bf8c087f7 100644 --- a/.gitignore +++ b/.gitignore @@ -161,7 +161,7 @@ /test/gl_overlay /test/glpuzzle /test/hello -/test/help +/test/help_dialog /test/icon /test/iconize /test/image diff --git a/CHANGES b/CHANGES index 8b9ee73b9..9ac323966 100644 --- a/CHANGES +++ b/CHANGES @@ -43,6 +43,8 @@ Changes in FLTK 1.4.0 Released: ??? ?? 2017 Other Improvements - (add new items here) + - Renamed test/help demo program to test/help_dialog to avoid name + conflict with CMake auto-generated target 'help'. - Many documentation fixes, clarifications, and enhancements. diff --git a/CMake/macros.cmake b/CMake/macros.cmake index d6f4fa5a5..3bf80a585 100644 --- a/CMake/macros.cmake +++ b/CMake/macros.cmake @@ -109,11 +109,6 @@ macro(CREATE_EXAMPLE NAME SOURCES LIBRARIES) set (tname ${NAME}) # target name set (oname ${NAME}) # output (executable) name - # rename reserved target name "help" (CMake 2.8.12 and later) - if (${tname} MATCHES "^help$") - set (tname "test_help") - endif (${tname} MATCHES "^help$") - foreach(src ${SOURCES}) if ("${src}" MATCHES "\\.fl$") list(APPEND flsrcs ${src}) diff --git a/documentation/src/examples.dox b/documentation/src/examples.dox index 5105b7b1b..7961b0272 100644 --- a/documentation/src/examples.dox +++ b/documentation/src/examples.dox @@ -60,7 +60,7 @@ you build FLTK, unlike those in the 'test' directory shown below. \ref examples_hello - \ref examples_help + \ref examples_help_dialog \ref examples_iconize \ref examples_image \ref examples_inactive @@ -326,13 +326,13 @@ easily under FLTK. tiny demo shows how little is needed to get a functioning application running with FLTK. Quite impressive, I'd say. -\subsection examples_help help +\subsection examples_help_dialog help_dialog \par -\c help displays the built-in FLTK help browser. The +\c help_dialog displays the built-in FLTK help browser. The Fl_Help_Dialog understands a subset of html and renders various image formats. This widget makes it easy to provide help -pages to the user without depending on the operating system's +pages to the user without depending on the operating system's html browser. \subsection examples_iconize iconize diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 860758242..cf2e90c9d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,22 @@ +# +# "$Id$" +# +# CMakeLists.txt used to build test and demo apps by the CMake build system +# +# Copyright 2004-2017 by Bill Spitzak and others. +# +# This library is free software. Distribution and use rights are outlined in +# the file "COPYING" which should have been included with this file. If this +# file is missing or damaged, see the license at: +# +# http://www.fltk.org/COPYING.php +# +# Please report all bugs and problems on the following page: +# +# http://www.fltk.org/str.php +# +####################################################################### + set(EXECUTABLE_OUTPUT_PATH ${FLTK_BINARY_DIR}/bin/examples) ####################################################################### @@ -45,7 +64,7 @@ CREATE_EXAMPLE(file_chooser file_chooser.cxx "fltk;fltk_images") CREATE_EXAMPLE(fonts fonts.cxx fltk) CREATE_EXAMPLE(forms forms.cxx "fltk;fltk_forms") CREATE_EXAMPLE(hello hello.cxx fltk) -CREATE_EXAMPLE(help help.cxx "fltk;fltk_images") +CREATE_EXAMPLE(help_dialog help_dialog.cxx "fltk;fltk_images") CREATE_EXAMPLE(icon icon.cxx fltk) CREATE_EXAMPLE(iconize iconize.cxx fltk) CREATE_EXAMPLE(image image.cxx fltk) @@ -112,7 +131,7 @@ endif(FLTK_HAVE_CAIRO) # Note: this is incomplete as of 11 Feb 2015 # Todo: currently all files are copied, but some of them need configuration: # - demo.menu: fluid can't be started (wrong path) -# - demo.menu: help (help-test.html) can't find its images (not copied) +# - demo.menu: help_dialog (help_dialog.html) can't find its images (not copied) # - maybe more ... # prepare for a "better" test file installation path @@ -127,12 +146,12 @@ configure_file(demo.menu ${TESTFILE_PATH}/demo.menu COPYONLY) # use target directory only to avoid redundancy configure_file(rgb.txt ${TESTFILE_PATH} COPYONLY) -configure_file(help-test.html ${TESTFILE_PATH} COPYONLY) +configure_file(help_dialog.html ${TESTFILE_PATH} COPYONLY) configure_file(browser.cxx ${TESTFILE_PATH} COPYONLY) configure_file(editor.cxx ${TESTFILE_PATH} COPYONLY) if(APPLE AND NOT OPTION_APPLE_X11) configure_file(demo.menu "${TESTFILE_PATH}/demo.app/Contents/Resources/demo.menu" COPYONLY) configure_file(browser.cxx "${TESTFILE_PATH}/browser.app/Contents/Resources/browser.cxx" COPYONLY) configure_file(rgb.txt ${TESTFILE_PATH}/colbrowser.app/Contents/Resources/rgb.txt COPYONLY) - configure_file(help-test.html ${TESTFILE_PATH}/help.app/Contents/Resources/help-test.html COPYONLY) + configure_file(help_dialog.html ${TESTFILE_PATH}/help_dialog.app/Contents/Resources/help_dialog.html COPYONLY) endif(APPLE AND NOT OPTION_APPLE_X11) diff --git a/test/Makefile b/test/Makefile index c30b11fd2..5a9c5d16d 100644 --- a/test/Makefile +++ b/test/Makefile @@ -3,7 +3,7 @@ # # Test/example program makefile for the Fast Light Tool Kit (FLTK). # -# Copyright 1998-2010 by Bill Spitzak and others. +# Copyright 1998-2017 by Bill Spitzak and others. # # This library is free software. Distribution and use rights are outlined in # the file "COPYING" which should have been included with this file. If this @@ -53,7 +53,7 @@ CPPFILES =\ gl_overlay.cxx \ glpuzzle.cxx \ hello.cxx \ - help.cxx \ + help_dialog.cxx \ icon.cxx \ iconize.cxx \ image.cxx \ @@ -126,7 +126,7 @@ ALL = \ fonts$(EXEEXT) \ forms$(EXEEXT) \ hello$(EXEEXT) \ - help$(EXEEXT) \ + help_dialog$(EXEEXT) \ icon$(EXEEXT) \ iconize$(EXEEXT) \ image$(EXEEXT) \ @@ -368,12 +368,12 @@ forms$(EXEEXT): forms.o hello$(EXEEXT): hello.o -help$(EXEEXT): help.o $(IMGLIBNAME) +help_dialog$(EXEEXT): help_dialog.o $(IMGLIBNAME) echo Linking $@... - $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) help.o -o $@ $(LINKFLTKIMG) $(LDLIBS) + $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) help_dialog.o -o $@ $(LINKFLTKIMG) $(LDLIBS) $(OSX_ONLY) ../fltk-config --post $@ - $(OSX_ONLY) mkdir -p help.app/Contents/Resources - $(OSX_ONLY) cp -f help-test.html help.app/Contents/Resources/ + $(OSX_ONLY) mkdir -p help_dialog.app/Contents/Resources + $(OSX_ONLY) cp -f help_dialog.html help_dialog.app/Contents/Resources/ icon$(EXEEXT): icon.o diff --git a/test/demo.menu b/test/demo.menu index 337a71cdc..97e522a58 100644 --- a/test/demo.menu +++ b/test/demo.menu @@ -77,7 +77,7 @@ @o:Font Tests...:@of @of:Fonts:fonts @of:UTF-8:utf8 - @o:HelpDialog:help + @o:HelpDialog:help_dialog @o:Input Choice:input_choice @o:Preferences:preferences @o:Threading:threads diff --git a/test/help-test.html b/test/help-test.html deleted file mode 100644 index 9f4dccaca..000000000 --- a/test/help-test.html +++ /dev/null @@ -1,278 +0,0 @@ - -

Simple HTML Tests

- -

- - -Plain text paragraphs

- The licenses for most software are designed to take away your freedom to - share and change it. By contrast, the GNU General Public Licenses are - intended to guarantee your freedom to share and change free software--to - make sure the software is free for all its users. -

- This license, the Library General Public License, applies to some - specially designated Free Software Foundation software, and to any - other libraries whose authors decide to use it. You can use it for - your libraries, too. -

- Italic content. Bold content Big content. - Small content. Underline content. Strike out content. - Red font content. Orange #ff8800 font content. - Blue font content. -

- This should be Helvetica. 0123456789
- This should be Arial. 0123456789
- This should be Sans. 0123456789
- This should be Times. 0123456789
- This should be Serif. 0123456789
- This should be Courier. 0123456789
- This should be Symbol. 0123456789 -

- - -HTML Entities: named, hexadecimal, and decimal

- Special characters, formatted as named "HTML Entities", e.g. "€":
- Euro and "dagger": "€" "†"
- Umlaut characters : "ä" "ë" "ï" "ö" "ü" "ß"
- Umlaut characters : "Ä" "Ë" "Ï" "Ö" "Ü"
- Special characters : "•" "‰" "©" "™" "®"
-
- Other scripts, formatted as hexadecimal "HTML Entities", e.g. "€":
- (Should be the same symbols as below)
- Euro and "dagger": "€" "†"
- Japanese (Hiragana) : "ぐ" "の"
- Japanese (Katakana) : "ダ" "ポ"
- Chinese (CJK Unified Ideographs) : "中" "丳"
-
- Other scripts, formatted as decimal "HTML Entities", e.g. "€":
- (Should be the same symbols as above)
- Euro and "dagger": "€" "†"
- Japanese (Hiragana) : "ぐ" "の"
- Japanese (Katakana) : "ダ" "ポ"
- Chinese (CJK Unified Ideographs) : "中" "丳"
-

- - -Preformatted paragraphs

-The following 2 paragraphs should be indented 4 spaces.
-
-    The licenses for most software are designed to take away
-    your freedom to share and change it.  By contrast, the
-    GNU General Public Licenses are intended to guarantee your
-    freedom to share and change free software -- to make sure
-    the software is free for all its users.
-
-    This license, the Library General Public License, applies to
-    some specially designated Free Software Foundation software,
-    and to any other libraries whose authors decide to use it.
-    You can use it for your libraries, too.
-
-The following 2 paragraphs should be indented 8 spaces.
-
-        The licenses for most software are designed to take away
-        your freedom to share and change it.  By contrast, the
-        GNU General Public Licenses are intended to guarantee
-        your freedom to share and change free software --
-        to make sure the software is free for all its users.
-
-        This license, the Library General Public License,
-        applies to some specially designated Free Software
-        Foundation software, and to any other libraries whose
-        authors decide to use it.  You can use it for your
-        libraries, too.
-
-The following text content should all be indented 4 spaces.
-
-    Italic content. Bold content Big content.
-    Small content. Underline content. Strike out content.
-    Red font content. Orange #ff8800 font content.
-    Blue font content.
-
-

- - -Heading tests -

This is H1 text

-

This is H2 text

-

This is H3 text

-

This is H4 text

-
This is H5 text
-
This is H6 text
-

- - -UL tests -

-End of UL. Starting an OL: -
    - This text should be indented in an OL.
    - This should be a second line of indent.

    -

  1. First list item with default attributes
  2. -
  3. Second list item
  4. -
  5. Third list item
  6. -
-End of OL. Starting a DL: -
- A DL has been started. This should be a list of terms. - Some browsers display the description indented right - relative to the terms, though I don't think FLTK's does this.

-

First term
-
Description of first term.
-
Second term
-
Description of second term goes here.
-
Third term
-
Description of third term goes here.
-
-End of DL. -

- - -Simple 2 Column Non-border Table, No Headings - - - - - - - - - - -
Column 1 Column 2
Aaa Aaa Aaa Xxx Xxx Xxx
Bbb Bbb Bbb Yyy Yyy Yyy
Ccc Ccc Ccc Zzz Zzz Zzz
-

-Simple 2 Column Bordered Table, No Headings - - - - - - - - - - -
Column 1 Column 2
Aaa Aaa Aaa Xxx Xxx Xxx
Bbb Bbb Bbb Yyy Yyy Yyy
Ccc Ccc Ccc Zzz Zzz Zzz
-

-Simple Two Column Table With Borders And Heading - - - - - - - - - - - -
Table Heading
Column 1 Column 2
Aaa Aaa Aaa Xxx Xxx Xxx
Bbb Bbb Bbb Yyy Yyy Yyy
Ccc Ccc Ccc Zzz Zzz Zzz
-

-Simple Bordered Table With Heading And 10 Cell Padding + Spacing - - - - - - - - - - - -
Table Heading
Column 1 Column 2
Aaa Aaa Aaa Xxx Xxx Xxx
Bbb Bbb Bbb Yyy Yyy Yyy
Ccc Ccc Ccc Zzz Zzz Zzz
-

-Simple Table Of Images, Two Columns, Three Rows - - - - - - - - - - - - - - - - - -
Table Heading
Column 1 Column 2
This is the FLTK logo
Tiny FLTK logo.
This is an image of Fl_Value_Input
This is an image of Fl_Value_Output
-

- - -Testing Centered Text And Image -

This text should be centered. What follows is a line break. -
-After the line break, still centered. What follows is a paragraph break. -

-This text should be in a paragraph break. This is paragraph #1 of 2. -

-This text should be in a paragraph break as well. This is paragraph #2 of 2. -

-What follows should be a centered image.
-
-That should be a centered image. -

-

-

- - -Testing Horizontal Line -


-This text should be between two horizontal lines. -
-

- -Preformatted Indent Test -

-    This tests that tabs and space indenting work correctly.
-    Each line should be one space right of the line preceding it
-    unless otherwise specified:
-
-0 Tab
- 1 Space
-  2 Space
-   3 Space
-    4 Space
-     5 Space
-      6 Space
-       7 Space            __
-        8 Space             |
-    	4 Space + 1 Tab     |-- should all be
-	1 Tab             __|   same indent level
-	 1 Tab + 1 Space
-	  1 Tab + 2 Space
-	   1 Tab + 3 Space
-	    1 Tab + 4 Space
-	     1 Tab + 5 Space
-	      1 Tab + 6 Space
-	       1 Tab + 7 Space            __
-	        1 Tab + 8 Space             |
-    	        4 Space + 1 Tab + 8 Space   |-- should all be
-		2 Tab                     __|   same indent level
-		 2 Tab + 1 Space
-		  2 Tab + 2 Space
-		   2 Tab + 3 Space
-		    ..
-
diff --git a/test/help.cxx b/test/help.cxx deleted file mode 100644 index 104102f06..000000000 --- a/test/help.cxx +++ /dev/null @@ -1,72 +0,0 @@ -// -// "$Id$" -// -// Fl_Help_Dialog test program. -// -// Copyright 1999-2010 by Easy Software Products. -// -// This library is free software. Distribution and use rights are outlined in -// the file "COPYING" which should have been included with this file. If this -// file is missing or damaged, see the license at: -// -// http://www.fltk.org/COPYING.php -// -// Please report all bugs and problems on the following page: -// -// http://www.fltk.org/str.php -// -// Contents: -// -// main() - Display the help GUI... -// - -// -// Include necessary headers... -// - -#include -#include - -// -// 'main()' - Display the help GUI... -// - -int // O - Exit status -main(int argc, // I - Number of command-line arguments - char *argv[]) // I - Command-line arguments -{ - Fl_Help_Dialog *help = new Fl_Help_Dialog; - -#ifdef __APPLE__ - - // bundled apps do not set the current directory - char htmlname[1000]; - strcpy(htmlname, argv[0]); - char *slash = strrchr(htmlname, '/'); - if (slash) - strcpy(slash, "/../Resources/help-test.html"); - FILE *in = fl_fopen(htmlname, "r"); - if (in) { - fclose(in); - help->load(htmlname); - } else - -#endif - - if (argc <= 1) - help->load("help-test.html"); - else - help->load(argv[1]); - - help->show(1, argv); - - Fl::run(); - - delete help; - - return 0; -} - -// -// End of "$Id$". -// diff --git a/test/help_dialog.cxx b/test/help_dialog.cxx new file mode 100644 index 000000000..03f697e8f --- /dev/null +++ b/test/help_dialog.cxx @@ -0,0 +1,73 @@ +// +// "$Id$" +// +// Fl_Help_Dialog test program. +// +// Copyright 1999-2010 by Easy Software Products. +// Copyright 2011-2017 by Bill Spitzak and others. +// +// This library is free software. Distribution and use rights are outlined in +// the file "COPYING" which should have been included with this file. If this +// file is missing or damaged, see the license at: +// +// http://www.fltk.org/COPYING.php +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// +// Contents: +// +// main() - Display the help GUI... +// + +// +// Include necessary headers... +// + +#include +#include + +// +// 'main()' - Display the help GUI... +// + +int // O - Exit status +main(int argc, // I - Number of command-line arguments + char *argv[]) // I - Command-line arguments +{ + Fl_Help_Dialog *help = new Fl_Help_Dialog; + +#ifdef __APPLE__ + + // bundled apps do not set the current directory + char htmlname[1000]; + strcpy(htmlname, argv[0]); + char *slash = strrchr(htmlname, '/'); + if (slash) + strcpy(slash, "/../Resources/help_dialog.html"); + FILE *in = fl_fopen(htmlname, "r"); + if (in) { + fclose(in); + help->load(htmlname); + } else + +#endif + + if (argc <= 1) + help->load("help_dialog.html"); + else + help->load(argv[1]); + + help->show(1, argv); + + Fl::run(); + + delete help; + + return 0; +} + +// +// End of "$Id$". +// diff --git a/test/help_dialog.html b/test/help_dialog.html new file mode 100644 index 000000000..9f4dccaca --- /dev/null +++ b/test/help_dialog.html @@ -0,0 +1,278 @@ + +

Simple HTML Tests

+ +

+ + +Plain text paragraphs

+ The licenses for most software are designed to take away your freedom to + share and change it. By contrast, the GNU General Public Licenses are + intended to guarantee your freedom to share and change free software--to + make sure the software is free for all its users. +

+ This license, the Library General Public License, applies to some + specially designated Free Software Foundation software, and to any + other libraries whose authors decide to use it. You can use it for + your libraries, too. +

+ Italic content. Bold content Big content. + Small content. Underline content. Strike out content. + Red font content. Orange #ff8800 font content. + Blue font content. +

+ This should be Helvetica. 0123456789
+ This should be Arial. 0123456789
+ This should be Sans. 0123456789
+ This should be Times. 0123456789
+ This should be Serif. 0123456789
+ This should be Courier. 0123456789
+ This should be Symbol. 0123456789 +

+ + +HTML Entities: named, hexadecimal, and decimal

+ Special characters, formatted as named "HTML Entities", e.g. "&euro;":
+ Euro and "dagger": "€" "†"
+ Umlaut characters : "ä" "ë" "ï" "ö" "ü" "ß"
+ Umlaut characters : "Ä" "Ë" "Ï" "Ö" "Ü"
+ Special characters : "•" "‰" "©" "™" "®"
+
+ Other scripts, formatted as hexadecimal "HTML Entities", e.g. "&#x20ac;":
+ (Should be the same symbols as below)
+ Euro and "dagger": "€" "†"
+ Japanese (Hiragana) : "ぐ" "の"
+ Japanese (Katakana) : "ダ" "ポ"
+ Chinese (CJK Unified Ideographs) : "中" "丳"
+
+ Other scripts, formatted as decimal "HTML Entities", e.g. "&#8364;":
+ (Should be the same symbols as above)
+ Euro and "dagger": "€" "†"
+ Japanese (Hiragana) : "ぐ" "の"
+ Japanese (Katakana) : "ダ" "ポ"
+ Chinese (CJK Unified Ideographs) : "中" "丳"
+

+ + +Preformatted paragraphs

+The following 2 paragraphs should be indented 4 spaces.
+
+    The licenses for most software are designed to take away
+    your freedom to share and change it.  By contrast, the
+    GNU General Public Licenses are intended to guarantee your
+    freedom to share and change free software -- to make sure
+    the software is free for all its users.
+
+    This license, the Library General Public License, applies to
+    some specially designated Free Software Foundation software,
+    and to any other libraries whose authors decide to use it.
+    You can use it for your libraries, too.
+
+The following 2 paragraphs should be indented 8 spaces.
+
+        The licenses for most software are designed to take away
+        your freedom to share and change it.  By contrast, the
+        GNU General Public Licenses are intended to guarantee
+        your freedom to share and change free software --
+        to make sure the software is free for all its users.
+
+        This license, the Library General Public License,
+        applies to some specially designated Free Software
+        Foundation software, and to any other libraries whose
+        authors decide to use it.  You can use it for your
+        libraries, too.
+
+The following text content should all be indented 4 spaces.
+
+    Italic content. Bold content Big content.
+    Small content. Underline content. Strike out content.
+    Red font content. Orange #ff8800 font content.
+    Blue font content.
+
+

+ + +Heading tests +

This is H1 text

+

This is H2 text

+

This is H3 text

+

This is H4 text

+
This is H5 text
+
This is H6 text
+

+ + +UL tests +

    + This text should be indented in a UL.
    + This should be a second line of indent.

    +

  • First list item with default attributes
  • +
  • Second list item
  • +
  • Third list item
  • +
+End of UL. Starting an OL: +
    + This text should be indented in an OL.
    + This should be a second line of indent.

    +

  1. First list item with default attributes
  2. +
  3. Second list item
  4. +
  5. Third list item
  6. +
+End of OL. Starting a DL: +
+ A DL has been started. This should be a list of terms. + Some browsers display the description indented right + relative to the terms, though I don't think FLTK's does this.

+

First term
+
Description of first term.
+
Second term
+
Description of second term goes here.
+
Third term
+
Description of third term goes here.
+
+End of DL. +

+ + +Simple 2 Column Non-border Table, No Headings + + + + + + + + + + +
Column 1 Column 2
Aaa Aaa Aaa Xxx Xxx Xxx
Bbb Bbb Bbb Yyy Yyy Yyy
Ccc Ccc Ccc Zzz Zzz Zzz
+

+Simple 2 Column Bordered Table, No Headings + + + + + + + + + + +
Column 1 Column 2
Aaa Aaa Aaa Xxx Xxx Xxx
Bbb Bbb Bbb Yyy Yyy Yyy
Ccc Ccc Ccc Zzz Zzz Zzz
+

+Simple Two Column Table With Borders And Heading + + + + + + + + + + + +
Table Heading
Column 1 Column 2
Aaa Aaa Aaa Xxx Xxx Xxx
Bbb Bbb Bbb Yyy Yyy Yyy
Ccc Ccc Ccc Zzz Zzz Zzz
+

+Simple Bordered Table With Heading And 10 Cell Padding + Spacing + + + + + + + + + + + +
Table Heading
Column 1 Column 2
Aaa Aaa Aaa Xxx Xxx Xxx
Bbb Bbb Bbb Yyy Yyy Yyy
Ccc Ccc Ccc Zzz Zzz Zzz
+

+Simple Table Of Images, Two Columns, Three Rows + + + + + + + + + + + + + + + + + +
Table Heading
Column 1 Column 2
This is the FLTK logo
Tiny FLTK logo.
This is an image of Fl_Value_Input
This is an image of Fl_Value_Output
+

+ + +Testing Centered Text And Image +

This text should be centered. What follows is a line break. +
+After the line break, still centered. What follows is a paragraph break. +

+This text should be in a paragraph break. This is paragraph #1 of 2. +

+This text should be in a paragraph break as well. This is paragraph #2 of 2. +

+What follows should be a centered image.
+
+That should be a centered image. +

+

+

+ + +Testing Horizontal Line +


+This text should be between two horizontal lines. +
+

+ +Preformatted Indent Test +

+    This tests that tabs and space indenting work correctly.
+    Each line should be one space right of the line preceding it
+    unless otherwise specified:
+
+0 Tab
+ 1 Space
+  2 Space
+   3 Space
+    4 Space
+     5 Space
+      6 Space
+       7 Space            __
+        8 Space             |
+    	4 Space + 1 Tab     |-- should all be
+	1 Tab             __|   same indent level
+	 1 Tab + 1 Space
+	  1 Tab + 2 Space
+	   1 Tab + 3 Space
+	    1 Tab + 4 Space
+	     1 Tab + 5 Space
+	      1 Tab + 6 Space
+	       1 Tab + 7 Space            __
+	        1 Tab + 8 Space             |
+    	        4 Space + 1 Tab + 8 Space   |-- should all be
+		2 Tab                     __|   same indent level
+		 2 Tab + 1 Space
+		  2 Tab + 2 Space
+		   2 Tab + 3 Space
+		    ..
+
-- cgit v1.2.3