diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2013-12-30 14:18:18 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2013-12-30 14:18:18 +0000 |
| commit | 8e30fc438cbe655f122de58b8cb2a1abdc9cffe1 (patch) | |
| tree | cea355b377eb5d814bf05d0160f914c7f1848609 /FL/Fl_Help_View.H | |
| parent | a4550ade999c43b2a64481323f241842b33c50cc (diff) | |
Made Fl_Help_View::handle() public and Fl_Help_View::draw() protected
to enable inheritance and for consistency (STR #2834).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Help_View.H')
| -rw-r--r-- | FL/Fl_Help_View.H | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/FL/Fl_Help_View.H b/FL/Fl_Help_View.H index 6e0ea1d4c..a370c3011 100644 --- a/FL/Fl_Help_View.H +++ b/FL/Fl_Help_View.H @@ -260,7 +260,13 @@ class FL_EXPORT Fl_Help_View : public Fl_Group { // Help viewer widget void add_target(const char *n, int yy); static int compare_targets(const Fl_Help_Target *t0, const Fl_Help_Target *t1); int do_align(Fl_Help_Block *block, int line, int xx, int a, int &l); +#if FLTK_ABI_VERSION >= 10303 +protected: +#endif void draw(); +#if FLTK_ABI_VERSION >= 10303 +private: +#endif void format(); void format_table(int *table_width, int *columns, const char *table); void free_data(); @@ -269,7 +275,13 @@ class FL_EXPORT Fl_Help_View : public Fl_Group { // Help viewer widget Fl_Color get_color(const char *n, Fl_Color c); Fl_Shared_Image *get_image(const char *name, int W, int H); int get_length(const char *l); +#if FLTK_ABI_VERSION >= 10303 +public: +#endif int handle(int); +#if FLTK_ABI_VERSION >= 10303 +private: +#endif void hv_draw(const char *t, int x, int y); char begin_selection(); |
