diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-10 03:09:43 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-10 03:09:43 +0000 |
| commit | 743cd4f95d6b3e9ad2cfe7c299647f2260791b76 (patch) | |
| tree | a8f9fd164c29fa3141e5bd78f0f74243039ec20d /FL/Fl_HelpView.H | |
| parent | c15ea394d02de7bfaf9034d3563c7607b70d0684 (diff) | |
HelpView/HelpDialog updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_HelpView.H')
| -rw-r--r-- | FL/Fl_HelpView.H | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/FL/Fl_HelpView.H b/FL/Fl_HelpView.H index 2cf6b7349..eea75ea04 100644 --- a/FL/Fl_HelpView.H +++ b/FL/Fl_HelpView.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_HelpView.H,v 1.1.2.2 2001/08/06 23:51:39 easysw Exp $" +// "$Id: Fl_HelpView.H,v 1.1.2.3 2001/09/10 03:09:43 easysw Exp $" // // Help Viewer widget definitions. // @@ -101,6 +101,7 @@ struct Fl_HelpImage hattr[8]; // Height attribute Fl_Image *image; // FLTK image representation unsigned char *data; // Raw image data + int copy; // Data is a copy? int w, h, d; // Image size & depth }; @@ -157,12 +158,14 @@ class Fl_HelpView : public Fl_Group //// Help viewer widget int load_png(Fl_HelpImage *img, FILE *fp); Fl_HelpBlock *add_block(const char *s, int xx, int yy, int ww, int hh, uchar border = 0); + static int compare_blocks(const void *a, const void *b); void add_link(const char *n, int xx, int yy, int ww, int hh); void add_target(const char *n, int yy); static int compare_targets(const Fl_HelpTarget *t0, const Fl_HelpTarget *t1); int do_align(Fl_HelpBlock *block, int line, int xx, int a, int &l); void draw(); void format(); + void format_table(int *table_width, int *columns, const char *table); int get_align(const char *p, int a); const char *get_attr(const char *p, const char *n, char *buf, int bufsize); Fl_Color get_color(const char *n, Fl_Color c); @@ -207,5 +210,5 @@ class Fl_HelpView : public Fl_Group //// Help viewer widget #endif // !_Fl_HelpView_H_ // -// End of "$Id: Fl_HelpView.H,v 1.1.2.2 2001/08/06 23:51:39 easysw Exp $". +// End of "$Id: Fl_HelpView.H,v 1.1.2.3 2001/09/10 03:09:43 easysw Exp $". // |
