summaryrefslogtreecommitdiffstats
path: root/include/scrollbar.h
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-09-19 12:21:30 +0200
committerQC <qball@gmpclient.org>2015-09-19 12:21:30 +0200
commit442e235c24fa33a499e51b4a2f7ff95fb4ab43ad (patch)
treec74a3fea5b7286e9d4e60f3fc656805b3a0fad07 /include/scrollbar.h
parent4c970fe4da46b2b463a59acdb4ec807cf83c61c4 (diff)
Some cleanups, tweak uncrustify.
Diffstat (limited to 'include/scrollbar.h')
-rw-r--r--include/scrollbar.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/scrollbar.h b/include/scrollbar.h
index fde8c994..2e07468d 100644
--- a/include/scrollbar.h
+++ b/include/scrollbar.h
@@ -98,4 +98,13 @@ unsigned int scrollbar_clicked ( scrollbar *sb, int y );
* Resize the scrollbar.
*/
void scrollbar_resize ( scrollbar *sb, int w, int h );
+
+/**
+ * @param sb scrollbar object
+ * @param x x pos in pixels
+ * @param y y pos in pixels
+ *
+ * Move the scrollbar.
+ */
+void scrollbar_move ( scrollbar *sb, int x, int y );
#endif // ROFI_SCROLLBAR_H