summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a830ea4)
raw | patch | inline | side by side (parent: a830ea4)
author | Andreas Obergrusberger <tradiaz@yahoo.de> | |
Fri, 8 Sep 2006 22:24:01 +0000 (22:24 +0000) | ||
committer | Andreas Obergrusberger <tradiaz@yahoo.de> | |
Fri, 8 Sep 2006 22:24:01 +0000 (22:24 +0000) |
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4749 09075e82-0dd4-0310-85a5-a0d7c8717e4f
src/screen.c | patch | blob | history | |
src/screen_utils.c | patch | blob | history |
diff --git a/src/screen.c b/src/screen.c
index 7f21ec934a39fc667f666e44269e28d82dbf0d05..13e1975c1dc25a50431f1e09bb6bfb5b9d0a6ef0 100644 (file)
--- a/src/screen.c
+++ b/src/screen.c
screen->mode = 0;
screen->cols = COLS;
screen->rows = LINES;
-}
-
-int
-screen_init(mpdclient_t *c)
-{
- gint i;
screen->buf = g_malloc(screen->cols);
screen->buf_size = screen->cols;
wbkgd(screen->status_window.w, COLOR_PAIR(COLOR_STATUS));
colors_use(screen->progress_window.w, COLOR_PROGRESSBAR);
}
+}
+
+screen_init(mpdclient_t *c)
+{
+ gint i;
/* initialize screens */
i=0;
diff --git a/src/screen_utils.c b/src/screen_utils.c
index 417a74d67a7e3cac8d021388a7d0d806e85e9c1b..43d57e142d8a5633d20954603d0ab79d1a7c3b7e 100644 (file)
--- a/src/screen_utils.c
+++ b/src/screen_utils.c
int key = -1;
int prompt_len = strlen(prompt);
- // colors_use(w, COLOR_STATUS_ALERT);
+ colors_use(w, COLOR_STATUS_ALERT);
wclear(w);
wmove(w, 0, 0);
waddstr(w, prompt);
offset = 0;
}
- colors_use(w, COLOR_STATUS_ALERT);
+ colors_use(w, COLOR_STATUS_ALERT);
while( y<screen->main_window.rows )
{
GList *item = g_list_nth(list, y+offset);