aboutsummaryrefslogtreecommitdiffstats
path: root/src/ncmpc.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-07-13 19:01:15 +0000
committerKalle Wallin <kaw@linux.se>2004-07-13 19:01:15 +0000
commit26065fc82767293875ac66e0c57d163416bf24df (patch)
tree4bf850ef594e1f6950e5d4bb9612d60418a46db3 /src/ncmpc.h
parent0c1c6a258b7a2675cc9eb930ec59378dcac1d030 (diff)
downloadmpd-26065fc82767293875ac66e0c57d163416bf24df.tar.gz
mpd-26065fc82767293875ac66e0c57d163416bf24df.tar.xz
mpd-26065fc82767293875ac66e0c57d163416bf24df.zip
Moved definitions from screen.h to ncmpc.h
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1866 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/ncmpc.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/ncmpc.h b/src/ncmpc.h
index 019ce6893..75fbf8e4a 100644
--- a/src/ncmpc.h
+++ b/src/ncmpc.h
@@ -32,13 +32,20 @@ void D(char *format, ...);
/* welcome message time [s] */
#define SCREEN_WELCOME_TIME 10
+/* status message time [s] */
+#define SCREEN_STATUS_MESSAGE_TIME 3
+
/* getch() timeout for non blocking read [ms] */
#define SCREEN_TIMEOUT 500
-/* time in seconds between mpd updates (double) */
-#define MPD_UPDATE_TIME 0.5
+/* minumum window size */
+#define SCREEN_MIN_COLS 14
+#define SCREEN_MIN_ROWS 5
+
+/* time between mpd updates [s] */
+#define MPD_UPDATE_TIME 0.5
-/* time in milliseconds before trying to reconnect (int) */
+/* time before trying to reconnect [ms] */
#define MPD_RECONNECT_TIME 1500
/* song format - list window */