change colors on ask/get windows
authorLaurent Mazet <mazet@softndesign.org>
Thu, 16 Jan 2025 18:13:59 +0000 (19:13 +0100)
committerLaurent Mazet <mazet@softndesign.org>
Thu, 16 Jan 2025 18:13:59 +0000 (19:13 +0100)
display.c

index 7a3e3b8cf7c44108250c2a9f9a548dcae28f3ec8..b3dd004df784bb2c9cc543ac34b1b33232a88c58 100644 (file)
--- a/display.c
+++ b/display.c
@@ -313,13 +313,13 @@ char *getwindow (char *msg, window_t *win, int length, int size, char *init)
     int xsize = strlen (msg) + 1 + length;
     int yoffset = win->yoffset + (win->ysize - 1) / 2;
 
-    set_color (black);
+    set_color (wblue);
     _dobound (xsize, 1, xoffset, yoffset);
     mvaddstr (yoffset, xoffset, msg);
     xoffset += strlen (msg);
     mvaddch (yoffset, xoffset, ' ');
     xoffset++;
-    set_color (byellow);
+    set_color (bcyan);
     for (j = 0; (j < length) && (name[j] != '\0'); j++) {
         mvaddch (yoffset, xoffset + j, name[j]);
     }
@@ -329,9 +329,9 @@ char *getwindow (char *msg, window_t *win, int length, int size, char *init)
     int stop = 0;
     while (!stop) {
         for (j = 0; (j < length) && (name[j + l] != '\0'); j++) {
-            set_color ((j == i) ? yellow : byellow);
+            set_color ((j == i) ? cyan : bcyan);
             mvaddch (yoffset, xoffset + j, name[j + l]);
-            set_color (white);
+            set_color (bblue);
         }
         int ch = getch ();
         switch (ch) {
@@ -411,7 +411,7 @@ void msgwindow (char *msg, window_t *win, int length)
     }
     int yoffset = win->yoffset + (win->ysize - 1) / 2;
 
-    set_color (black);
+    set_color (wblue);
     _dobound (xsize, 1, xoffset, yoffset);
     mvaddstr (yoffset, xoffset, msg);
     set_color (white);