comparison main.c @ 350:b10852dbbffe

3->4 colors
author Anselm R. Garbe <arg@10kloc.org>
date Thu, 24 Aug 2006 12:04:56 +0200
parents 93192711a36a
children 5a8bdc3b37cb
comparison
equal deleted inserted replaced
349:2bc2746a52c3 350:b10852dbbffe
119 for(ntags = 0; tags[ntags]; ntags++); 119 for(ntags = 0; tags[ntags]; ntags++);
120 seltag = emallocz(sizeof(Bool) * ntags); 120 seltag = emallocz(sizeof(Bool) * ntags);
121 seltag[0] = True; 121 seltag[0] = True;
122 122
123 /* style */ 123 /* style */
124 dc.bg = getcolor(BGCOLOR); 124 dc.bg[0] = getcolor(NORMBGCOLOR);
125 dc.fg = getcolor(FGCOLOR); 125 dc.fg[0] = getcolor(NORMFGCOLOR);
126 dc.border = getcolor(BORDERCOLOR); 126 dc.bg[1] = getcolor(SELBGCOLOR);
127 dc.fg[1] = getcolor(SELFGCOLOR);
127 setfont(FONT); 128 setfont(FONT);
128 129
129 sx = sy = 0; 130 sx = sy = 0;
130 sw = DisplayWidth(dpy, screen); 131 sw = DisplayWidth(dpy, screen);
131 sh = DisplayHeight(dpy, screen); 132 sh = DisplayHeight(dpy, screen);