Xfce Forum

Sub domains
 

You are not logged in.

#1 2007-03-08 21:57:07

Taorluath
Member
Registered: 2007-02-28
Posts: 8

Optimum Xfwm4 Theme: Question

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

#2 2007-03-09 17:20:32

Jellybean
Member
Registered: 2007-02-17
Posts: 43

Re: Optimum Xfwm4 Theme: Question

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

#3 2007-03-09 22:18:11

Taorluath
Member
Registered: 2007-02-28
Posts: 8

Re: Optimum Xfwm4 Theme: Question

Do you have any idea how much slower it goes with bigger images?

Offline

#4 2007-03-09 23:49:01

TomE
Member
Registered: 2005-02-05
Posts: 132

Re: Optimum Xfwm4 Theme: Question

For most of my themes I use between 3-7, I've not found any speed or memory problems.

Offline

#5 2007-03-10 00:57:04

Taorluath
Member
Registered: 2007-02-28
Posts: 8

Re: Optimum Xfwm4 Theme: Question

3-7 what?

Offline

#6 2007-03-10 02:51:03

TomE
Member
Registered: 2005-02-05
Posts: 132

Re: Optimum Xfwm4 Theme: Question

3 to 7 pixels wide

Offline

#7 2007-03-10 21:24:10

Taorluath
Member
Registered: 2007-02-28
Posts: 8

Re: Optimum Xfwm4 Theme: Question

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 532.66 KiB (Peak: 533.28 KiB) ]