Can't get xpaintclass group settings to work properly Thread last updated on 2006-09-01 09:51:55

Posted by member 280260 on 2006-08-29 22:18:53

xPopupAddToGroup maingroup
xPopupActiveEntryAddToGroup

...

mainGroupPaintingMode ".multicolor"
maingroupcolors ffffff
maingroupalphatransparency 200
maingroupcustomalphafade 20 0

activegrouppaintingmode ".multicolor"
activegroupcolors ff0000
activegroupgradientcolors 00ff00
activegroupgradienttype ".vertical"


The popup background displays, but nothing for the active entry. Replacing "activegroup" with "xPopupactiveentry" makes it display properly. Am I forgetting something in my group settings?

xpopup-2.0, xpaintclass-1.0-RC4

Posted by member 1949 on 2006-08-30 00:16:42 link

post this on lsuniverse
Andy would see it faster...

Posted by member 248213 on 2006-08-30 07:01:22 link

1. Your code just says: "xPopupActiveEntryAddToGroup" you need "activegroup" added to that. Just making sure ;)
2. The "PaintingMode" setting cant be inherited.
3. AddToGroup has changed. From the docs:
TextureAddToGroup GROUP GROUP1 GROUP2 ...
Add the xPaintTexture Class to the specified Group.
Overrides the Module internal AddToGroup, if available.
The first GROUP supports the AddToGroup setting the following not!

FontAddToGroup GROUP GROUP1 GROUP2 ...
Add the xPaintText Class to the specified Group.
Overrides the Module internal AddToGroup, if available.
The first GROUP supports the AddToGroup setting the following not!

IconAddToGroup GROUP GROUP1 GROUP2 ...
Add the xPaintIcon Class to the specified Group.
Overrides the Module internal AddToGroup, if available.
The first GROUP supports the AddToGroup setting the following not!

etc

Its very complicated ;)

Its basically just super optimised for resource usage efficiency (so only the needed code parts are used)

Posted by member 1885 on 2006-08-30 07:06:03 link

I hope there will be an "Updating your themes to xPaintclass" guide eventually... or is there one already?

Posted by member 248213 on 2006-08-30 07:09:25 link

Posted by member 280260 on 2006-08-30 09:57:45 link

@Fractal:

I'm not having any problems making the popup background inherit paintingmode settings. I don't quite understand how the new addToGroup has changed. I'm just replacing the "Texture" prefix with "XPopupActiveEntry" like it says to do in the docs.

Posted by member 248213 on 2006-08-30 10:19:48 link

Are you sure you dont have a:
GlobalPaintingMode .multicolor
set?

Maybe its changed recently...

And I am not sure about xPopup but I set xTaskbar like this:
xTaskbarActiveButtonTextureAddToGroup GSPressed
xTaskbarActiveFontAddToGroup GSPressed
xTaskbarActiveIconAddToGroup GSPressed


simply using:
xTaskbarActiveAddToGroup GSPressed
doesnt work

Posted by member 248213 on 2006-08-30 10:27:53 link

OK, I just tested it with xPopup and I am getting weird results (like it doesnt work) not a 100% this is xPopup or xPaintclass just yet.

Posted by member 280260 on 2006-08-31 16:19:39 link

Works like a charm - thanks. The only thing I can't get working is the dropshadow.

Posted by member 248213 on 2006-09-01 08:12:08 link

youll need to turn the menu shadowing effect on in Display properties/appearance/effects "Show shadows under menu's" ;)

Posted by member 280260 on 2006-09-01 09:51:55 link

Weird...I could have sworn it was on....

Thanks for the help.