mirror of
https://github.com/fltk/fltk.git
synced 2026-05-26 01:46:58 +08:00
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:
+5
-7
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user