changing other colors?

Multi-platform modular music creation studio
Post Reply
User avatar
AutumnCheney
Posts: 198
Joined: Sun Dec 29, 2019 8:16 am
Location: durant, ok, usa
Contact:

changing other colors?

Post by AutumnCheney » Tue Sep 15, 2020 8:23 am

hi! i have a question about sunvox

in the preferences menu, you can change the ui's four primary colors, which affects most of the ui elements. however, some colors are not affected, like the active button and recent files color (which are green and yellow, respectively). my question is, is there any way to change these colors?

i tried fiddling with the config.ini file, but i can't figure out the syntax, and i'm not sure if it's even possible

it seems that this person was able to do it (they changed it to blue), but i don't know how they did it:

thank you in advance, and any help is appreciated :Rose:
please check out my newgrounds account, i post music and talk to people here: https://autumncheney.newgrounds.com

i have a soundcloud and bandcamp too (just music here):
https://soundcloud.com/autumncheney
https://autumncheney.bandcamp.com

User avatar
NightRadio
Site Admin
Posts: 3464
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: changing other colors?

Post by NightRadio » Tue Sep 15, 2020 1:23 pm

Please see the list of all available config options here:
https://warmplace.ru/soft/sunvox/sunvox_config.ini
(bottom of the file, "Additional colors")

For example, you can change the color of some green elements to red by adding these lines:

Code: Select all

theme
c_green #FF0000

User avatar
AutumnCheney
Posts: 198
Joined: Sun Dec 29, 2019 8:16 am
Location: durant, ok, usa
Contact:

Re: changing other colors?

Post by AutumnCheney » Tue Sep 15, 2020 5:17 pm

tysm!~

also, as it turns out, you have to move the config file to sunvox's root directory for it to do anything (mine was in the 'docs' folder). discovered this today, and it's good advice for everyone else wishing to do this
please check out my newgrounds account, i post music and talk to people here: https://autumncheney.newgrounds.com

i have a soundcloud and bandcamp too (just music here):
https://soundcloud.com/autumncheney
https://autumncheney.bandcamp.com

User avatar
NightRadio
Site Admin
Posts: 3464
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: changing other colors?

Post by NightRadio » Tue Sep 15, 2020 5:29 pm

you have to move the config file to sunvox's root directory for it to do anything
It depends on the system:

Code: Select all

* Linux:
  1) directory with the application;
  2) user home directory (/home/username/.config/SunVox);
* Windows
  1) directory with the application;
  2) directory for application-specific data (/Documents and Settings/username/Application Data);
* macOS
  1) directory with the application;
  2) /Users/username/Library/Application Support/SunVox;
* Android:
  1) working directory of the application: primary shared storage of your device (most often it is the internal memory, not the external SD card): Android/data/nightradio.SunVox/files;
  2) internal files directory (hidden for the user);
* iOS:
  1) working directory of the application (documents folder);
  2) internal files directory (hidden for the user);
* Windows CE
  1) root of local filesystem (/);
  2) directory for application-specific data (/Documents and Settings/username/Application Data);

User avatar
spktkpkt
Posts: 45
Joined: Tue Jul 26, 2016 12:49 pm

Re: changing other colors?

Post by spktkpkt » Tue Sep 15, 2020 6:37 pm

Because it is a also a GUI question and not worth to open a separate thread for it, i would like to ask if it would be possible to have a config file entry to remove the drop shadows of the button icons (play, stop...)?

User avatar
NightRadio
Site Admin
Posts: 3464
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: changing other colors?

Post by NightRadio » Tue Sep 15, 2020 10:19 pm

remove the drop shadows of the button icons (play, stop...)
Do you mean the glow effect behind the icon?

User avatar
spktkpkt
Posts: 45
Joined: Tue Jul 26, 2016 12:49 pm

Re: changing other colors?

Post by spktkpkt » Wed Sep 16, 2020 9:35 am

NightRadio wrote:
Tue Sep 15, 2020 10:19 pm
remove the drop shadows of the button icons (play, stop...)
Do you mean the glow effect behind the icon?
Glow describes it better, you're right. Yes, i mean the glow effect.

User avatar
NightRadio
Site Admin
Posts: 3464
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: changing other colors?

Post by NightRadio » Wed Sep 16, 2020 11:38 am

Yes, i mean the glow effect.
We can't remove it, because it's a part of the icon image :)
Maybe I will add the ability to change the entire icon map...

User avatar
spktkpkt
Posts: 45
Joined: Tue Jul 26, 2016 12:49 pm

Re: changing other colors?

Post by spktkpkt » Wed Sep 16, 2020 4:54 pm

NightRadio wrote:
Wed Sep 16, 2020 11:38 am
We can't remove it, because it's a part of the icon image :)
Maybe I will add the ability to change the entire icon map...
Ahh, i see, i tought the effect is generated on runtime.

For me it would be fine to specify custom bitmaps in the config file but it would also be enough for me to switch to included bitmaps without the glow effect. It's your decission. I'm already happy that you consider to implement a option for this. Thank you!

I like the interface a lot but this glow effect bugs me. :)

Post Reply