From 380697b895e4e96a32b11d84a70afc3c47b0f370 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 4 Sep 2015 08:26:57 +0200 Subject: scrollbar: Handle mouse clicks, fix width, remove border. --- include/scrollbar.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/scrollbar.h') 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 -- cgit v1.2.3