Version 1.0 - October 12, 1999 - Michael Sweet
The HelpDialog
widget displays HTML files and allows the user
to click on links to do navigation.
The source code is provided under the terms of the GNU Library General Public License and is used to provide on-line help for the ESP Print Pro software.
You can download the source for the current version (1.0) in several formats:
The HelpDialog
widget is based upon the HelpView
widget which supports basic HTML elements including tables. Images and text
alignment are not supported at this time, although the hooks are there for
the alignment stuff.
To use the HelpDialog
widget in your program do:
#include "HelpDialog.h" ... { HelpView help(); help.load("filename.html"); help.show(); while (help.visible()) Fl::wait(); }
The constructor creates the dialog pictured above.
Hides the HelpDialog
window.
Loads the specified HTML file into the HelpView
widget.
The filename can also contain a target name ("filename.html#target").
Shows the HelpDialog
window.
Sets the top line in the HelpView
widget to the named or
numbered line.
Returns 1 if the HelpDialog
window is visible.