@@ -67,7 +67,7 @@ class RadioAnalogsDiagsWindow: public Window {
|
|||||||
|
|
||||||
void RadioAnalogsDiagsPage::buildHeader(Window * window)
|
void RadioAnalogsDiagsPage::buildHeader(Window * window)
|
||||||
{
|
{
|
||||||
new StaticText(window, {PAGE_TITLE_LEFT, PAGE_TITLE_TOP + 10, LCD_W - PAGE_TITLE_LEFT, PAGE_LINE_HEIGHT}, STR_MENU_RADIO_ANALOGS, 0, MENU_COLOR);
|
new StaticText(window, {PAGE_TITLE_LEFT, PAGE_TITLE_TOP + 10, LCD_W - PAGE_TITLE_LEFT, PAGE_LINE_HEIGHT}, STR_MENU_RADIO_ANALOGS, 0, MENU_HIGHLIGHT_COLOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RadioAnalogsDiagsPage::buildBody(Window * window)
|
void RadioAnalogsDiagsPage::buildBody(Window * window)
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ class RadioKeyDiagsWindow : public Window
|
|||||||
|
|
||||||
void RadioKeyDiagsPage::buildHeader(Window * window)
|
void RadioKeyDiagsPage::buildHeader(Window * window)
|
||||||
{
|
{
|
||||||
new StaticText(window, {PAGE_TITLE_LEFT, PAGE_TITLE_TOP + 10, LCD_W - PAGE_TITLE_LEFT, PAGE_LINE_HEIGHT}, STR_MENU_RADIO_SWITCHES, 0, MENU_COLOR);
|
new StaticText(window, {PAGE_TITLE_LEFT, PAGE_TITLE_TOP + 10, LCD_W - PAGE_TITLE_LEFT, PAGE_LINE_HEIGHT}, STR_MENU_RADIO_SWITCHES, 0, MENU_HIGHLIGHT_COLOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RadioKeyDiagsPage::buildBody(Window * window)
|
void RadioKeyDiagsPage::buildBody(Window * window)
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ class FileNameEditWindow : public Page
|
|||||||
FileNameEditWindow(const std::string iName) :
|
FileNameEditWindow(const std::string iName) :
|
||||||
Page(ICON_RADIO_SD_MANAGER), name(std::move(iName))
|
Page(ICON_RADIO_SD_MANAGER), name(std::move(iName))
|
||||||
{
|
{
|
||||||
buildBody(&body);
|
|
||||||
buildHeader(&header);
|
buildHeader(&header);
|
||||||
|
buildBody(&body);
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(DEBUG_WINDOWS)
|
#if defined(DEBUG_WINDOWS)
|
||||||
@@ -45,7 +45,7 @@ class FileNameEditWindow : public Page
|
|||||||
|
|
||||||
void buildHeader(Window *window)
|
void buildHeader(Window *window)
|
||||||
{
|
{
|
||||||
new StaticText(window, {70, 4, 180, 30}, STR_RENAME_FILE, MENU_BGCOLOR);
|
new StaticText(window, {PAGE_TITLE_LEFT, PAGE_TITLE_TOP + 10, LCD_W - PAGE_TITLE_LEFT, PAGE_LINE_HEIGHT}, STR_RENAME_FILE, 0, MENU_HIGHLIGHT_COLOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
void buildBody(Window *window)
|
void buildBody(Window *window)
|
||||||
|
|||||||
Reference in New Issue
Block a user