Solves STR #1895 by making the recalc method and structure

protected (accessible to derived widgets).



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano
2014-07-15 15:23:33 +00:00
parent 677e13f2bb
commit 7382173223
+5 -7
View File
@@ -94,14 +94,12 @@ class FL_EXPORT Fl_Scroll : public Fl_Group {
void fix_scrollbar_order();
static void draw_clip(void*,int,int,int,int);
private:
//
#if FLTK_ABI_VERSION >= 10303
protected: // NEW (STR#1895)
#else
private: // OLD
#endif
// Structure to manage scrollbar and widget interior sizes.
//
// Private for now -- we'd like to expose some of this at
// some point to solve STR#1895.)
//
typedef struct {
int scrollsize; // the scrollsize (global|local)
int innerbox_x, innerbox_y, innerbox_w, innerbox_h; // widget's inner box (excludes scrollbars)