Browse Source

Mixer: Tweak strip highlighting.

tags/non-daw-v1.3.0
Jonathan Moore Liles 8 months ago
parent
commit
a59823e4c5
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      mixer/src/Mixer_Strip.C

+ 4
- 0
mixer/src/Mixer_Strip.C View File

@@ -1244,6 +1244,10 @@ Mixer_Strip::number ( int n )
char *s =NULL;
asprintf( &s,"%i", n+1 );
dsp_load_progress->label(s);
/* color code groups of eight */
dsp_load_progress->color( (n / 8) % 2 == 0 ? FL_BACKGROUND_COLOR : FL_BLACK );
/* dsp_load_progress->color( fl_color_average( (Fl_Color)n / 8, FL_BACKGROUND_COLOR, 0.66f )); */
dsp_load_progress->labelcolor(fl_contrast( FL_BACKGROUND_COLOR, dsp_load_progress->color() ));
}
}



Loading…
Cancel
Save