mirror of
https://github.com/opentx/opentx.git
synced 2025-07-17 21:35:27 +03:00
Bsongis/gui refactoring for x7 d (#3701)
* [X7D] New board added * Cosmetics
This commit is contained in:
parent
282b856309
commit
d3ae3c035d
233 changed files with 7472 additions and 4560 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue