zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 8b6ed110e6f9af96deabdb6f174d488cbd089c12
parent b165f7089dc40ebc2c56180386865c26bb5760bb
Author: fundamental <[email protected]>
Date:   Fri, 27 Feb 2015 20:19:47 -0500

UI: Adjust OscilSpectra Color Palette

Diffstat:
Msrc/UI/Fl_OscilSpectrum.h | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/UI/Fl_OscilSpectrum.h b/src/UI/Fl_OscilSpectrum.h @@ -70,10 +70,12 @@ class Fl_OscilSpectrum : public Fl_Box, Fl_Osc_Widget int n=lx/GX-1; if (n>synth->oscilsize/2) n=synth->oscilsize/2; + + fl_rectf(ox,oy,lx,ly,0,0,0); //draw if(this->active_r()) - fl_color(this->parent()->labelcolor()); + fl_color(0,0,255); else fl_color(this->parent()->color()); fl_line_style(FL_DOT); @@ -93,7 +95,7 @@ class Fl_OscilSpectrum : public Fl_Box, Fl_Osc_Widget } if (this->active_r()) - fl_color(this->parent()->selection_color()); + fl_color(0,255,0); else fl_color(this->parent()->color()); fl_line_style(0);