Page 1 of 1

changing other colors?

Posted: Tue Sep 15, 2020 8:23 am
by AutumnCheney
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:

Re: changing other colors?

Posted: Tue Sep 15, 2020 1:23 pm
by NightRadio
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

Re: changing other colors?

Posted: Tue Sep 15, 2020 5:17 pm
by AutumnCheney
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

Re: changing other colors?

Posted: Tue Sep 15, 2020 5:29 pm
by NightRadio
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);

Re: changing other colors?

Posted: Tue Sep 15, 2020 6:37 pm
by spktkpkt
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...)?

Re: changing other colors?

Posted: Tue Sep 15, 2020 10:19 pm
by NightRadio
remove the drop shadows of the button icons (play, stop...)
Do you mean the glow effect behind the icon?

Re: changing other colors?

Posted: Wed Sep 16, 2020 9:35 am
by spktkpkt
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.

Re: changing other colors?

Posted: Wed Sep 16, 2020 11:38 am
by NightRadio
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...

Re: changing other colors?

Posted: Wed Sep 16, 2020 4:54 pm
by spktkpkt
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. :)