Bsongis/gui refactoring for x7 d (#3701)

* [X7D] New board added
* Cosmetics
This commit is contained in:
Bertrand Songis
2016-08-18 11:49:16 +02:00
committed by GitHub
parent 282b856309
commit d3ae3c035d
233 changed files with 7472 additions and 4560 deletions
+5 -5
View File
@@ -81,9 +81,9 @@ void ValueWidget::refresh()
if (timerState.val < 0) {
lcdSetColor(ALARM_COLOR_INDEX);
}
putsMixerSource(x+NUMBERS_PADDING, y+2, field, CUSTOM_COLOR);
putsMixerSource(x+NUMBERS_PADDING + 1, y + 3, field, BLACK);
putsTimer(xValue, yValue, abs(timerState.val), attrValue|DBLSIZE|CUSTOM_COLOR);
drawSource(x+NUMBERS_PADDING, y+2, field, CUSTOM_COLOR);
drawSource(x+NUMBERS_PADDING + 1, y + 3, field, BLACK);
drawTimer(xValue, yValue, abs(timerState.val), attrValue|DBLSIZE|CUSTOM_COLOR);
return;
}
@@ -94,8 +94,8 @@ void ValueWidget::refresh()
}
}
putsMixerSource(xLabel + 1, yLabel + 1, field, attrLabel|BLACK);
putsMixerSource(xLabel, yLabel, field, attrLabel|CUSTOM_COLOR);
drawSource(xLabel + 1, yLabel + 1, field, attrLabel|BLACK);
drawSource(xLabel, yLabel, field, attrLabel|CUSTOM_COLOR);
putsChannel(xValue + 1, yValue + 1, field, attrValue|BLACK);
putsChannel(xValue, yValue, field, attrValue|CUSTOM_COLOR);