summaryrefslogtreecommitdiff
path: root/src/ui/scrollwidget.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-07-23 14:25:05 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-07-23 14:25:05 +0300
commita3610ec020882015ae15b3b2808a443f81f651e6 (patch)
tree860412f333cfd3c0c29db0642d6fc547f6d1812d /src/ui/scrollwidget.h
parentce5779323b1fe6aed04f6d9ae3fd6ca77d21a221 (diff)
Added ScrollWidget for scroll bars
Diffstat (limited to 'src/ui/scrollwidget.h')
-rw-r--r--src/ui/scrollwidget.h11
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
6iDeclareWidgetClass(ScrollWidget)
7iDeclareObjectConstruction(ScrollWidget)
8
9void setRange_ScrollWidget (iScrollWidget *, iRangei range);
10void setThumb_ScrollWidget (iScrollWidget *, int thumb, int thumbSize);
11