diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2011-01-24 17:04:22 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2011-01-24 17:04:22 +0000 |
| commit | fe25f19767f1cd2393c4d1796fb42d5aa82b194c (patch) | |
| tree | 229437962da4fa67acf27bf171d6124f5631c34e /FL/Fl_Help_View.H | |
| parent | f9363c16d0e6518ba82d05f1f7f415e9224a8e35 (diff) | |
Adding embedded documentation to Fluid if installed odcs are not found. Falls back to the internet if that does not exist either. Also, adds JPEG and PNG images to the Shared Image list if they were loaded from memory - see example use in fluid.cxx which loads and embedded html document containing an embedded PNG image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Help_View.H')
| -rw-r--r-- | FL/Fl_Help_View.H | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/FL/Fl_Help_View.H b/FL/Fl_Help_View.H index c3a4af7e9..cf61a9d44 100644 --- a/FL/Fl_Help_View.H +++ b/FL/Fl_Help_View.H @@ -57,8 +57,7 @@ typedef const char *(Fl_Help_Func)(Fl_Widget *, const char *); // Fl_Help_Block structure... // -struct Fl_Help_Block -{ +struct Fl_Help_Block { const char *start, // Start of text *end; // End of text uchar border; // Draw border? @@ -74,8 +73,7 @@ struct Fl_Help_Block // Fl_Help_Link structure... // /** Definition of a link for the html viewer. */ -struct Fl_Help_Link -{ +struct Fl_Help_Link { char filename[192], ///< Reference filename name[32]; ///< Link target (blank if none) int x, ///< X offset of link text @@ -138,8 +136,7 @@ protected: /** Fl_Help_Target structure */ -struct Fl_Help_Target -{ +struct Fl_Help_Target { char name[32]; ///< Target name int y; ///< Y offset of target }; @@ -209,8 +206,8 @@ struct Fl_Help_Target - yen Yuml yuml */ -class FL_EXPORT Fl_Help_View : public Fl_Group // Help viewer widget -{ +class FL_EXPORT Fl_Help_View : public Fl_Group { // Help viewer widget + enum { RIGHT = -1, CENTER, LEFT }; ///< Alignments char title_[1024]; ///< Title string |
