mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-04 16:51:37 -05:00
Give 'em proper colors!
This commit is contained in:
parent
8c78defafb
commit
888e639c97
1 changed files with 2 additions and 1 deletions
|
@ -218,7 +218,8 @@ void ClipSelector::draw()
|
|||
bool toRecord = clips[i].getBeats() <= 0 && clips[i].getBeatsToRecord() > 0; // If there are BeatsToRecord, but no Beats
|
||||
|
||||
if(strlen(bars)) {
|
||||
cairo_set_source_rgba( cr, 255 / 255.f, (toRecord) ? 0 : 255 / 255.f, 255 / 255.f , 0.9 );
|
||||
if(toRecord) cairo_set_source_rgba(cr, 1.f, 0 / 255.f , 0 / 255.f, 1.f);
|
||||
else cairo_set_source_rgba( cr, 255 / 255.f, 255 / 255.f, 255 / 255.f , 0.9 );
|
||||
|
||||
cairo_move_to( cr, x + clipWidth - 5 - getCairoTextWith(cr, bars), drawY + textHeight - 8);
|
||||
cairo_set_font_size( cr, 11 );
|
||||
|
|
Loading…
Add table
Reference in a new issue