Cosmetics

This commit is contained in:
Bertrand Songis
2019-10-04 19:03:39 +02:00
parent 8e462fe9b5
commit 39b1b3eeec
-16
View File
@@ -37,22 +37,6 @@ void Choice::paint(BitmapBuffer * dc)
{
FormField::paint(dc);
theme->drawChoice(dc, this, textHandler ? textHandler(getValue()).c_str() : TEXT_AT_INDEX(values, getValue() - vmin).c_str());
//
//
// LcdFlags textColor;
// if (editMode)
// textColor = FOCUS_COLOR;
// else if (hasFocus())
// textColor = FOCUS_BGCOLOR;
// else
// textColor = 0;
//
// if (textHandler)
// dc->drawText(FIELD_PADDING_LEFT, FIELD_PADDING_TOP, , textColor);
// else
// dc->drawTextAtIndex(FIELD_PADDING_LEFT, FIELD_PADDING_TOP, values, getValue() - vmin, flags | textColor);
//
// dc->drawBitmapPattern(rect.w - 14, (rect.h - 5) / 2, LBM_DROPDOWN, textColor);
}
#if defined(HARDWARE_KEYS)