aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-07-13 17:31:53 +0000
committerKalle Wallin <kaw@linux.se>2004-07-13 17:31:53 +0000
commit0c1c6a258b7a2675cc9eb930ec59378dcac1d030 (patch)
tree4d486f804dc326741fb7717d7f3b02a1cd1f4ed1 /src/screen.h
parentf674c3f262a6bf2542debd29c4aa61281a976cbc (diff)
downloadmpd-0c1c6a258b7a2675cc9eb930ec59378dcac1d030.tar.gz
mpd-0c1c6a258b7a2675cc9eb930ec59378dcac1d030.tar.xz
mpd-0c1c6a258b7a2675cc9eb930ec59378dcac1d030.zip
Crossfade time can now be definied in the rc file (crossfade-time)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1865 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/screen.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/screen.h b/src/screen.h
index c725bb13c..8f95d7a86 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -11,18 +11,6 @@
#define IS_PAUSED(s) (s==MPD_STATUS_STATE_PAUSE)
#define IS_STOPPED(s) (!(IS_PLAYING(s) | IS_PAUSED(s)))
-
-typedef enum
-{
- SCREEN_PLAY_WINDOW = 0,
- SCREEN_FILE_WINDOW,
- SCREEN_HELP_WINDOW,
- SCREEN_KEYDEF_WINDOW,
- SCREEN_CLOCK_WINDOW,
- SCREEN_SEARCH_WINDOW
-
-} screen_mode_t;
-
typedef struct
{
WINDOW *w;
@@ -31,7 +19,6 @@ typedef struct
} window_t;
-
typedef struct
{
window_t top_window;
@@ -39,8 +26,6 @@ typedef struct
window_t progress_window;
window_t status_window;
- GList *screen_list;
-
/* GTime is equivalent to time_t */
GTime start_timestamp;
GTime status_timestamp;
@@ -49,7 +34,8 @@ typedef struct
int cols, rows;
- screen_mode_t mode;
+ //screen_mode_t mode;
+ int mode;
char *buf;
size_t buf_size;