]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
added colors for compact buttons
authorewt <ewt>
Tue, 18 Mar 1997 15:08:33 +0000 (15:08 +0000)
committerewt <ewt>
Tue, 18 Mar 1997 15:08:33 +0000 (15:08 +0000)
newt.c

diff --git a/newt.c b/newt.c
index db17b3f3cc07bab8ad0aceb93b5ede90e6e932e1..147ca3a37a9715c8662b61cc7c266fd8b7ad6b70 100644 (file)
--- a/newt.c
+++ b/newt.c
@@ -55,6 +55,7 @@ struct newtColors newtDefaultColorPalette = {
        "blue",                                 /* scale full */
        "red",                                  /* scale empty */
        "blue", "lightgray",                    /* disabled entry fg, bg */
+       "white", "blue",                        /* compact button fg, bg */
 };
 
 static struct keymap keymap[] = {
@@ -217,6 +218,9 @@ void newtSetColors(struct newtColors colors) {
                        colors.fullScale);
     SLtt_set_color(NEWT_COLORSET_DISENTRY, "", colors.disabledEntryFg,
                        colors.disabledEntryBg);
+
+    SLtt_set_color(NEWT_COLORSET_COMPACTBUTTON, "", colors.compactButtonFg,
+                       colors.compactButtonBg);
 }
 
 int newtGetKey(void) {