Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skin: Osc Wavefrom colors #1638

Closed
itsmedavep opened this issue Mar 19, 2020 · 2 comments
Closed

Skin: Osc Wavefrom colors #1638

itsmedavep opened this issue Mar 19, 2020 · 2 comments

Comments

@itsmedavep
Copy link
Contributor

itsmedavep commented Mar 19, 2020

I didn't touch these in the dark skin but eventually it would be good to expose the ability to color the:

OSC waveform
Upper/lower limit of waveform drawing (the lines at the top and bottom)
OSC waveform bg color (the area the waveform draws on top of)

@baconpaul
Copy link
Collaborator

Although there's no way for you to know this at current other than reading the source, I actually did this in round one!

paul:~/dev/music/surge$ grep -r getColor src/common/gui/COscillatorDisplay.cpp 
src/common/gui/COscillatorDisplay.cpp:         dc->setFrameColor(skin->getColor( "osc.midline", VSTGUI::CColor(90, 90, 90)) );
src/common/gui/COscillatorDisplay.cpp:         dc->setFrameColor(skin->getColor( "osc.topline", VSTGUI::CColor(70, 70, 70)) );
src/common/gui/COscillatorDisplay.cpp:            dc->setFontColor(skin->getColor( "osc.label", kWhiteCColor) );
src/common/gui/COscillatorDisplay.cpp:         dc->setFrameColor(skin->getColor( "osc.wave", VSTGUI::CColor(0xFF, 0x90, 0, 0xFF)) );
src/common/gui/COscillatorDisplay.cpp:      VSTGUI::CColor fgcol = skin->getColor( "osc.wavename.background", VSTGUI::CColor( 0xff, 0xA0, 0x10, 0xff ) );
src/common/gui/COscillatorDisplay.cpp:      dc->setFontColor(skin->getColor( "osc.wavename.foreground", kBlackCColor) );

@baconpaul
Copy link
Collaborator

I added an issue to make this easier to discover and am going to close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants