diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-23 14:25:05 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-23 14:25:05 +0300 |
commit | a3610ec020882015ae15b3b2808a443f81f651e6 (patch) | |
tree | 860412f333cfd3c0c29db0642d6fc547f6d1812d /src/ui/scrollwidget.h | |
parent | ce5779323b1fe6aed04f6d9ae3fd6ca77d21a221 (diff) |
Added ScrollWidget for scroll bars
Diffstat (limited to 'src/ui/scrollwidget.h')
-rw-r--r-- | src/ui/scrollwidget.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ui/scrollwidget.h b/src/ui/scrollwidget.h new file mode 100644 index 00000000..7b44dced --- /dev/null +++ b/src/ui/scrollwidget.h | |||
@@ -0,0 +1,11 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "widget.h" | ||
4 | #include <the_Foundation/range.h> | ||
5 | |||
6 | iDeclareWidgetClass(ScrollWidget) | ||
7 | iDeclareObjectConstruction(ScrollWidget) | ||
8 | |||
9 | void setRange_ScrollWidget (iScrollWidget *, iRangei range); | ||
10 | void setThumb_ScrollWidget (iScrollWidget *, int thumb, int thumbSize); | ||
11 | |||