CtrlLib: ScrollBar::IsActive

git-svn-id: svn://ultimatepp.org/upp/trunk@5579 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-11-22 14:11:04 +00:00
parent d39b7435b5
commit dce91d6c63
2 changed files with 12 additions and 8 deletions

View file

@ -43,6 +43,7 @@ private:
int minthumb;
bool autohide:1;
bool autodisable:1;
bool is_active:1;
const Style *style;
@ -75,6 +76,8 @@ public:
bool Set(int pagepos);
void SetPage(int pagesize);
void SetTotal(int totalsize);
bool IsActive() const { return is_active; }
bool ScrollInto(int pos, int linesize);
bool ScrollInto(int pos) { return ScrollInto(pos, linesize); }