Toolbar button icons

User-contributed artwork and graphics.
Forum rules
ImageUser-contributed graphics, logos, themes, buttons, icons and other artwork relating to Audacity.
Images and suggestions posted here are primarily for fun. Audacity currently has few options for customising the appearance, but users may still like to share their vision of Audacity in the future.
Please read the READ ME post for this board before posting here.
Post Reply
sirotjo
Posts: 6
Joined: Wed Aug 21, 2013 9:51 am
Operating System: Please select

Toolbar button icons

Post by sirotjo » Wed Aug 21, 2013 10:05 am

Hi,
I would like to add new tool buttons (close to Selection Tool, Envelop Tool ....) for adding new personal functionalities.
However, I did'nt find a way of adding new icons for these buttons.
Does anybody know the process for generating appropriate images ?

Thank you.

Audacity V2.0.3 - Linux

steve
Site Admin
Posts: 48242
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Toolbar button icons

Post by steve » Wed Aug 21, 2013 10:15 am

This will involve some programming.
See http://code.google.com/p/audacity/sourc ... 2Ftoolbars
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

sirotjo
Posts: 6
Joined: Wed Aug 21, 2013 9:51 am
Operating System: Please select

Re: Toolbar button icons

Post by sirotjo » Thu Aug 22, 2013 12:26 pm

Thank you Steve.
I followed the instructions in the header of AllThemeResources.h but the new tool button is always black.
It seems ImageCache.png is not well generated.

steve
Site Admin
Posts: 48242
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Toolbar button icons

Post by steve » Thu Aug 22, 2013 2:54 pm

Theme support is an experimental feature that is currently disabled in Audacity.
I'm not able to offer much help with this as I'm not a C++ programmer, but if you want to use Theme support it needs to be enabled in Experimental.h before you compile.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

sirotjo
Posts: 6
Joined: Wed Aug 21, 2013 9:51 am
Operating System: Please select

Re: Toolbar button icons

Post by sirotjo » Thu Aug 22, 2013 3:35 pm

I made it work.
I had to get back the autogenerated file ThemeAsCeeCode.h in my working directory and recompile , although ImageCache.png does not show my new icon (??)
Thanks again.

Post Reply