mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-11-04 19:27:23 -05:00
Push CW settings text to left, version to right
This commit is contained in:
parent
0417907d03
commit
ceec8e2eb2
@ -511,13 +511,13 @@ void drawCWStatus(){
|
||||
itoa(globalSettings.cwSideToneFreq, c, 10);
|
||||
strncat(b, c, sizeof(b) - strlen(b));
|
||||
strncat_P(b,(const char*)F("hz"), sizeof(b) - strlen(b));
|
||||
displayText(b, LAYOUT_CW_TEXT_X, LAYOUT_CW_TEXT_Y, LAYOUT_CW_TEXT_WIDTH, LAYOUT_CW_TEXT_HEIGHT, COLOR_TEXT, COLOR_BACKGROUND, COLOR_BACKGROUND);
|
||||
displayText(b, LAYOUT_CW_TEXT_X, LAYOUT_CW_TEXT_Y, LAYOUT_CW_TEXT_WIDTH, LAYOUT_CW_TEXT_HEIGHT, COLOR_TEXT, COLOR_BACKGROUND, COLOR_BACKGROUND, TextJustification_e::Left);
|
||||
}
|
||||
|
||||
void drawVersion()
|
||||
{
|
||||
strncpy_P(b,VERSION_STRING,sizeof(b));
|
||||
displayText(b, LAYOUT_VERSION_TEXT_X, LAYOUT_VERSION_TEXT_Y, LAYOUT_VERSION_TEXT_WIDTH, LAYOUT_VERSION_TEXT_HEIGHT, COLOR_VERSION_TEXT, COLOR_BACKGROUND, COLOR_BACKGROUND);
|
||||
displayText(b, LAYOUT_VERSION_TEXT_X, LAYOUT_VERSION_TEXT_Y, LAYOUT_VERSION_TEXT_WIDTH, LAYOUT_VERSION_TEXT_HEIGHT, COLOR_VERSION_TEXT, COLOR_BACKGROUND, COLOR_BACKGROUND, TextJustification_e::Right);
|
||||
}
|
||||
|
||||
void drawTx(){
|
||||
|
Loading…
Reference in New Issue
Block a user