From: ewt Date: Tue, 18 Mar 1997 15:08:33 +0000 (+0000) Subject: added colors for compact buttons X-Git-Tag: v0-9~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39dd7d986be4770658aa9758c83573a09a167ff7;p=thirdparty%2Fnewt.git added colors for compact buttons --- diff --git a/newt.c b/newt.c index db17b3f..147ca3a 100644 --- 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) {