mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
CtrlLib: ScrollBar::IsActive
git-svn-id: svn://ultimatepp.org/upp/trunk@5579 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d39b7435b5
commit
dce91d6c63
2 changed files with 12 additions and 8 deletions
|
|
@ -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); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue