summaryrefslogtreecommitdiff
path: root/gtkplaylist.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-13 12:18:21 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-13 12:18:21 +0200
commitfb55d80aec8d8c7e6bbab4f6ccff32fadd699e90 (patch)
tree34318f5aa05aad0d36e278f23d14702997d00007 /gtkplaylist.h
parent9363a7b0cda727042d3e5dfc67ee8094ec993651 (diff)
added horizontal scrolling
Diffstat (limited to 'gtkplaylist.h')
-rw-r--r--gtkplaylist.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtkplaylist.h b/gtkplaylist.h
index 672a199c..9584aa06 100644
--- a/gtkplaylist.h
+++ b/gtkplaylist.h
@@ -57,6 +57,7 @@ typedef struct {
GtkWidget *playlist;
GtkWidget *header;
GtkWidget *scrollbar;
+ GtkWidget *hscrollbar;
GdkPixmap *backbuf;
GdkPixmap *backbuf_header;
// parameters
@@ -67,6 +68,7 @@ typedef struct {
int multisel; // if it uses multiple selection
// current state
int scrollpos;
+ int hscrollpos;
int row;
double clicktime; // for doubleclick detection
int nvisiblerows;
@@ -127,6 +129,9 @@ void
gtkpl_scroll (gtkplaylist_t *ps, int newscroll);
void
+gtkpl_hscroll (gtkplaylist_t *ps, int newscroll);
+
+void
gtkpl_handle_scroll_event (gtkplaylist_t *ps, int direction);
void