You are not logged in.
Pages: 1
All,
I'm tinkering a bit with my theme. I like my active window looking very bold so I did this some time ago:
/* XPM */
static char *bottom_xpm[] = {
"32 5 6 1",
" c None",
"1 c #FF0000", // bright red
"2 c #00FF00", // bright green
"3 c #0000FF", // deep blue
"4 c #AAAAAA", // siver grey
"5 c #888888", // darker grey
"11111111111111111111111111111111",
"11111111111111111111111111111111",
"11111111111111111111111111111111",
"11111111111111111111111111111111",
"11111111111111111111111111111111"
};
... simple and effective, no complications, no candy.
I thought I'd fatten up the 'inactive' borders as well, and experimenting, I found something
quite strange:
/* XPM */
static char * bottom_inactive_xpm[] = {
"32 4 6 1",
//"32 5 6 1",
" c None",
"1 c #FF0000", // bright red
"2 c #00FF00", // bright green
"3 c #0000FF", // deep blue
"4 c #AAAAAA", // siver grey
"5 c #888888", // darker grey
"11111111111111111111111111111111", // top line
"11111111111111111111111111111111", // bottom line
//"33333333333333333333333333333333",
"22222222222222222222222222222222", // middle
"22222222222222222222222222222222"}; // middle
... if the width is '4' this produces a border consisting of two red lines, *sandwiching* two green lines!
If I add a fifth line, (blue here for test purposes) then it's 'red red blue green green' as one would expect.
I almost can't believe my eyes, but the four line version really does sandwich like that, which seems
most strange.
Thoughts?
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 515.43 KiB (Peak: 529.47 KiB) ]