diff options
author | stanley lieber <stanley.lieber@gmail.com> | 2013-04-30 21:03:12 -0400 |
---|---|---|
committer | stanley lieber <stanley.lieber@gmail.com> | 2013-04-30 21:03:12 -0400 |
commit | b94a33e01cb7d4e587567c6dc0ac5e0daf793c82 (patch) | |
tree | e9d87e77fab80ee290aa7365d1c0bf81399574ba /sys/src/cmd/rio/data.c | |
parent | 694de270c7eb9221a21b0b2d3daff7e1a635e687 (diff) |
rio: fix highlight text for -b
Diffstat (limited to 'sys/src/cmd/rio/data.c')
-rw-r--r-- | sys/src/cmd/rio/data.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/src/cmd/rio/data.c b/sys/src/cmd/rio/data.c index 65599b9a4..45c233857 100644 --- a/sys/src/cmd/rio/data.c +++ b/sys/src/cmd/rio/data.c @@ -179,16 +179,17 @@ iconinit(void) /* greys are multiples of 0x11111100+0xFF, 14* being palest */ cols[BACK] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xFFFFFFFF^reverse); - cols[HIGH] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xCCCCCCFF^reverse); cols[BORD] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x999999FF^reverse); cols[TEXT] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x000000FF^reverse); - cols[HTEXT] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x000000FF^reverse); + cols[HTEXT] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x000000FF); if(!reverse) { + cols[HIGH] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xCCCCCCFF); titlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DGreygreen); lighttitlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DPalegreygreen); } else { + cols[HIGH] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DPurpleblue); titlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DPurpleblue); - lighttitlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x999999FF);; + lighttitlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x999999FF); } dholdcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DMedblue); lightholdcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DGreyblue); |