summaryrefslogtreecommitdiffstats
path: root/include/scrollbar.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-09-04 08:26:57 +0200
committerDave Davenport <qball@gmpclient.org>2015-09-04 08:26:57 +0200
commit380697b895e4e96a32b11d84a70afc3c47b0f370 (patch)
treee092556ccbd64ebc194ee978de2e7d2a58e98331 /include/scrollbar.h
parentd3481de3d674de0cb5bdd479f5edfce212ef5eb6 (diff)
scrollbar: Handle mouse clicks, fix width, remove border.
Diffstat (limited to 'include/scrollbar.h')
-rw-r--r--include/scrollbar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scrollbar.h b/include/scrollbar.h
index 37a4663f..afc6a718 100644
--- a/include/scrollbar.h
+++ b/include/scrollbar.h
@@ -21,4 +21,5 @@ void scrollbar_set_pos_length ( scrollbar *sb, unsigned int pos_length );
void scrollbar_set_pos ( scrollbar *sb, unsigned int pos );
void scrollbar_set_length ( scrollbar *sb, unsigned int length );
void scrollbar_draw ( scrollbar *sb );
+unsigned int scrollbar_clicked ( scrollbar *sb, int y );
#endif // ROFI_SCROLLBAR_H