getmusicbee.com

Support => Questions => Topic started by: orion on January 16, 2017, 10:27:51 AM

Title: Change Icon Color -how?
Post by: orion on January 16, 2017, 10:27:51 AM
Hello,

I'd like to restyle attached icon. How can I do that  btw  what is that icon's element id? The skin used is Bee78.

(https://www.dropbox.com/s/prz3vphdf0kmbql/MusikBee-Color.png?dl=0)

Any help appreciated.

Cheers
orion

Imagefile here:
ttps://www.dropbox.com/s/prz3vphdf0kmbql/MusikBee-Color.png?dl=0
Title: Re: Change Icon Color -how?
Post by: Bee-liever on January 16, 2017, 11:37:33 AM
That's the <element id="PanelLayout"> image element.
If you delete it from the source skin, it will be replaced by the image used in the default MusicBee3 skin.
Title: Re: Change Icon Color -how?
Post by: orion on January 17, 2017, 09:48:19 AM
thank you. Found that icon now. Unfortunately it doesn't seem to accept colour changes. Any reason for that?

What I did is the following:
Decoded the string from the source code to have the image. Loaded it into GIMP. Surprisingly it is black on transparent, not golden as it shows in the skin. Hmm ...  still,l I'd like to have some different colour, let's say green. But after encoding, inserting the string into the source code, compiling everything .. it still shows the golden colour.

Is there a solution?

Thanks for help
orion
Title: Re: Change Icon Color -how?
Post by: hiccup on January 17, 2017, 10:00:41 AM
Not wanting to interfere here, but make sure to have "adjust icon coloring to match the selected skin" un-checked to see the actual color of the icon.
Title: Re: Change Icon Color -how?
Post by: Bee-liever on January 17, 2017, 10:57:44 AM
Sorry Orion, the actual colour of the icon image is controlled by
<element id="Panel.CommandButtonOverride" bg="0,0,0,0" fg="193,152,103" />
and
<element id="CaptionBar.CommandButtonOverride" bg="0,0,0,0" fg="190,150,101" />

Don't forget that it will also change the colour of "DownloadIndicatorIcon" and "NotificationIcon" when they get displayed.

BTW, if you don't use the override, the fg attribute of
<element id="Panel.Header.Default" bg="42,42,38" fg="208,163,113" bdr="136,100,60" />
controls the colour.
Title: Re: Change Icon Color -how?
Post by: orion on January 17, 2017, 06:37:44 PM
Thank you both for helping.

Finally got it working:
HeaderButtonOverride.Default did the trick.

Cheers
orion