Hi, I'm hoping to be able to change Pd's colors in the source code so I can come up with a different theme, a dark one, maybe an inverted one.
So, how to change the color of background and objects/cords?
While we're at it, Purr Data has nice themes out of the box, I guess we could use at least a GUI plugin for that, but I don't think I could do that one.
cheers
Em sex, 8 de mar de 2019 às 17:20, IOhannes m zmölnig zmoelnig@iem.at escreveu:
just so it's clear, you mean we cannot write plugins for that, right?
or does it mean we can't even edit it without having to recompile from the source?
Em sex, 8 de mar de 2019 às 18:09, Alexandre Torres Porres porres@gmail.com escreveu:
just so it's clear, you mean we cannot write plugins for that, right?
yes.
On 3/8/19 10:11 PM, Alexandre Torres Porres wrote:
or does it mean we can't even edit it without having to recompile from the source?
not sure i understand what you mean. if you have 'searched for "blue" or "black" in the src/ folder', you would see that these hardcoded values are in C-files (all files in src/ are C-files, btw) if you edit C-files, you need to recompile them in order to have an effect.
if the hardcoded values were on the GUI-side, we could always overwrite them with a plugin. however, they are not.
gmdasr IOhannes
Em sex, 8 de mar de 2019 às 19:55, IOhannes m zmölnig zmoelnig@iem.at escreveu:
I thought you meant the 'src' folder that comes with the Pd application.
But I also got confused, as I thought 'tcl' files were there, but they're not, they're in a separate 'tcl' folder.
And I actually already know you can edit at least the background color by editing pd-gui.tcl, for instance, by adding something like this to the end of the file.
option add *PatchWindow*Canvas.background #bbbbbb
I was having trouble, though, trying to find the other parameters to also change font/cord colors and stuff. But I'm assuming now it ain't possible.
I also believed it was possible to just edit the code or write a plugin for Vanilla because I saw these themes for Pd Extended https://forum.pdpatchrepo.info/topic/8555/gui-objects-and-color-scheme - which I tried but didn't work in Vanilla, of course.
cheers
On 3/9/19 1:47 AM, Alexandre Torres Porres wrote:
that's what i mean.
that's because the background colour is not set at all (by Pd). so it just uses the default, and you can override that.
I was having trouble, though, trying to find the other parameters to also change font/cord colors and stuff. But I'm assuming now it ain't possible.
what would you do, if i said that it was possible?
gfnrdsa IOhannes
Hi, I'm hoping to be able to change Pd's colors in the source code so I can come up with a different theme, a dark one, maybe an inverted one.
If you are on a cool operating system like Linux, you can simply invert your screen with xcalib -invert -alter