(svn r23017) -Codechange: Add support for resized scrollbars.

This commit is contained in:
peter1138
2011-10-11 08:07:47 +00:00
parent 719f6618d7
commit 50d1541270
7 changed files with 98 additions and 35 deletions

View File

@@ -717,6 +717,14 @@ public:
/* virtual */ void SetupSmallestSize(Window *w, bool init_array);
/* virtual */ void Draw(const Window *w);
static void InvalidateDimensionCache();
static Dimension GetVerticalDimension();
static Dimension GetHorizontalDimension();
private:
static Dimension vertical_dimension; ///< Cached size of vertical scrollbar button.
static Dimension horizontal_dimension; ///< Cached size of horizontal scrollbar button.
};
/**