chan color on chanosc channels
todo: gradient. storing a gradient per channel would be absurd. my idea is when the bg is set to chan color, make the gradient bg transparent, then mix the grad with the color in get()
This commit is contained in:
parent
fa0e5494ad
commit
c681ac507e
3 changed files with 8 additions and 2 deletions
|
|
@ -8402,6 +8402,7 @@ void FurnaceGUI::syncState() {
|
|||
chanOscTextColor.z=e->getConfFloat("chanOscTextColorB",1.0f);
|
||||
chanOscTextColor.w=e->getConfFloat("chanOscTextColorA",0.75f);
|
||||
chanOscUseGrad=e->getConfBool("chanOscUseGrad",false);
|
||||
chanOscUseChanColor=e->getConfBool("chanOscUseChanColor", false);
|
||||
chanOscGrad.fromString(e->getConfString("chanOscGrad",""));
|
||||
chanOscGrad.render();
|
||||
|
||||
|
|
@ -8576,6 +8577,7 @@ void FurnaceGUI::commitState(DivConfig& conf) {
|
|||
conf.set("chanOscTextColorA",chanOscTextColor.w);
|
||||
conf.set("chanOscUseGrad",chanOscUseGrad);
|
||||
conf.set("chanOscGrad",chanOscGrad.toString());
|
||||
conf.set("chanOscUseChanColor",chanOscUseChanColor);
|
||||
|
||||
// commit x-y osc state
|
||||
conf.set("xyOscXChannel",xyOscXChannel);
|
||||
|
|
@ -9200,6 +9202,7 @@ FurnaceGUI::FurnaceGUI():
|
|||
chanOscUseGrad(false),
|
||||
chanOscNormalize(false),
|
||||
chanOscRandomPhase(false),
|
||||
chanOscUseChanColor(false),
|
||||
chanOscTextFormat("%c"),
|
||||
chanOscColor(1.0f,1.0f,1.0f,1.0f),
|
||||
chanOscTextColor(1.0f,1.0f,1.0f,0.75f),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue