diff --git a/test/help-test.html b/test/help-test.html new file mode 100644 index 000000000..5b65d2208 --- /dev/null +++ b/test/help-test.html @@ -0,0 +1,254 @@ + +
+ 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
+
+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 apces. + + Italic content. Bold content Big content. + Small content. Underline content.+Strike out content.. + Red font content. Orange #ff8800 font content. + Blue font content. +
+
+
+
+ + +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 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 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 |-- shold 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 index dd9491c83..53cd21806 100644 --- a/test/help.cxx +++ b/test/help.cxx @@ -68,14 +68,14 @@ main(int argc, // I - Number of command-line arguments set_app_dir(); if (argc <= argn) - help->load("../../../../documentation/html/intro.html"); + help->load("../../../../test/help-test.html"); else help->load(argv[argn]); #else if (argc <= argn) - help->load("../documentation/html/intro.html"); + help->load("help-test.html"); else help->load(argv[1]);