From 5adba898ef57cf43fca775e25a2f90fc32f4b2a0 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sat, 13 Apr 2013 13:37:30 -0700 Subject: [PATCH] Mixer: Tweak plugin chooser appearance. --- mixer/src/Plugin_Chooser.C | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mixer/src/Plugin_Chooser.C b/mixer/src/Plugin_Chooser.C index ddecb4a..1de46de 100644 --- a/mixer/src/Plugin_Chooser.C +++ b/mixer/src/Plugin_Chooser.C @@ -145,15 +145,19 @@ void Plugin_Table::draw_cell(TableContext context, case CONTEXT_CELL: { + fl_font(FL_HELVETICA, 12); + const char *s2 = (char*)s; Fl_Align a = FL_ALIGN_CENTER; int symbol = 0; - + Fl_Color c = FL_FOREGROUND_COLOR; switch ( C ) { case 0: - sprintf( s, "%s", _plugin_rows[R]->favorite ? "@circle" : "" ); + sprintf( s, "%s", "@circle" ); + c = _plugin_rows[R]->favorite ? FL_LIGHT2 : FL_BLACK; symbol = 1; + fl_font(FL_HELVETICA, 9 ); break; case 1: a = FL_ALIGN_LEFT; @@ -181,7 +185,7 @@ void Plugin_Table::draw_cell(TableContext context, fl_rectf(X, Y, W, H); // TEXT - fl_color(FL_FOREGROUND_COLOR); + fl_color(c); fl_draw(s2, X, Y, W, H, a, 0, symbol ); // BORDER