summaryrefslogtreecommitdiffstats
path: root/include/scrollbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scrollbar.h')
-rw-r--r--include/scrollbar.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/scrollbar.h b/include/scrollbar.h
index e3312854..960d241c 100644
--- a/include/scrollbar.h
+++ b/include/scrollbar.h
@@ -1,6 +1,7 @@
#ifndef ROFI_SCROLLBAR_H
#define ROFI_SCROLLBAR_H
#include <cairo.h>
+#include "widget.h"
/**
* @defgroup Scrollbar Scrollbar
@@ -13,7 +14,7 @@
*/
typedef struct _scrollbar
{
- short x, y, w, h;
+ Widget widget;
unsigned int length;
unsigned int pos;
unsigned int pos_length;
@@ -89,14 +90,5 @@ unsigned int scrollbar_clicked ( scrollbar *sb, int y );
*/
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