You are not logged in.
Pages: 1
Is there an "optimum" size for the title-3-active.xpm?
I mean since it repeats, is it better to have, let's say, a 1 pixel by 23 pixel image instead of a 10 px by 23 px image?
Would it make anything slower to have a 320 px by 23 px image? :?
Offline
I'd go for a square image (23x23) for reasonable performance. Very narrow images won't be fast unless xfwm does some caching (which I don't believe), very wide images will suck up memory and maybe be slow as well (I don't know how clipping is done).
Offline
Do you have any idea how much slower it goes with bigger images?
Offline
For most of my themes I use between 3-7, I've not found any speed or memory problems.
Offline
3-7 what?
Offline
3 to 7 pixels wide
Offline
Something's wrong with my theme. I tried substituting a few pixmaps from some old theme with a few I was making myself. The border just disappeared.
I decided to focus on switching one of the pixmaps with one of mine. I keep on changing mine until it was what I thought to be basically the same as the original. It still just shows up as a white block!
The first code is from the inactive version of the original and the second is the evolved version of what I was doing. I kept on changing the second to try to make it work until it became pure black; surely it should work being just plain black!
What am I doing wrong??
/* XPM */
static char * title_5_inactive_xpm[] = {
"8 28 22 1",
" c None",
". c #000000",
"+ c #AEAE9D",
"@ c #ACAC9B",
"# c #ABAB9A",
"$ c #AAAA99",
"% c #A8A897",
"& c #A7A796",
"* c #A6A695",
"= c #A4A493",
"- c #A2A291",
"; c #A1A190",
"> c #A0A08F",
", c #9F9F8E",
"' c #9E9E8D",
") c #9D9D8C",
"! c #9B9B8A",
"~ c #9C9C8B",
"{ c #9A9A89",
"] c #989887",
"^ c #999988",
"/ c #979786",
"........",
"++++++++",
"++++++++",
"@@@@@@@@",
"########",
"$$$$$$$$",
"%%%%%%%%",
"&&&&&&&&",
"********",
"========",
"--------",
";;;;;;;;",
">>>>>>>>",
",','',',",
"))))))))",
"!~!~~!~!",
"!!!!!!!!",
"{{{{{{{{",
"]^]^^]^]",
"]]]]]]]]",
"////////",
"////////",
"////////",
"////////",
"////////",
"////////",
"////////",
"........"};
/* XPM */
static char * title_5_active_xpm[] = {
"8 28 2 1",
" c None",
". c #000000",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........"};
Offline
Pages: 1
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 534.34 KiB (Peak: 534.96 KiB) ]