diff options
author | Kalle Wallin <kaw@linux.se> | 2004-04-06 08:45:11 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-04-06 08:45:11 +0000 |
commit | c6b7d4d7119f9d8c12514f8309a25ed618e22512 (patch) | |
tree | e753ebbee7a915b4fc78580790d22de562d17287 /screen.h | |
parent | d25aa528e221c51b46b5a461c15493593294db81 (diff) | |
download | mpd-c6b7d4d7119f9d8c12514f8309a25ed618e22512.tar.gz mpd-c6b7d4d7119f9d8c12514f8309a25ed618e22512.tar.xz mpd-c6b7d4d7119f9d8c12514f8309a25ed618e22512.zip |
Added a welcome message (help).
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@609 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | screen.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -25,6 +25,9 @@ /* timeout for non blocking read [ms] */ #define SCREEN_TIMEOUT 250 +/* welcome message time [s] */ +#define SCREEN_WELCOME_TIME 10 + #define IS_PLAYING(s) (s==MPD_STATUS_STATE_PLAY) #define IS_PAUSED(s) (s==MPD_STATUS_STATE_PAUSE) #define IS_STOPPED(s) (!(IS_PLAYING(s) | IS_PAUSED(s))) @@ -58,6 +61,7 @@ typedef struct time_t status_timestamp; time_t input_timestamp; + command_t last_cmd; list_window_t *playlist; list_window_t *filelist; |