aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/screen.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/screen.h b/src/screen.h
index fe6b394a3..71489f211 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -7,11 +7,13 @@
#define IS_PAUSED(s) (s==MPD_STATUS_STATE_PAUSE)
#define IS_STOPPED(s) (!(IS_PLAYING(s) | IS_PAUSED(s)))
+#define MAX_SONGNAME_LENGTH 512
+
typedef struct
{
WINDOW *w;
int rows, cols;
-
+ int cur_action_id;
} window_t;
@@ -81,6 +83,8 @@ void screen_update(mpdclient_t *c);
void screen_idle(mpdclient_t *c);
void screen_cmd(mpdclient_t *c, command_t cmd);
+
+gint get_cur_mode_id();
int screen_get_mouse_event(mpdclient_t *c,
list_window_t *lw, int lw_length,
unsigned long *bstate, int *row);