mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-24 13:58:09 +00:00
Update Screen.cpp
This commit is contained in:
parent
9993306751
commit
7554ff6c57
@ -2008,6 +2008,10 @@ static void drawNodeListWithCompasses(OLEDDisplay *display, OLEDDisplayUiState *
|
||||
drawNodeListWithExtrasScreen(display, state, x, y, "Bearings", drawEntryCompass, drawCompassArrow);
|
||||
}
|
||||
|
||||
// ********************************
|
||||
// * Node List Distance Screen *
|
||||
// ********************************
|
||||
|
||||
void drawNodeDistance(OLEDDisplay *display, meshtastic_NodeInfoLite *node, int16_t x, int16_t y, int columnWidth)
|
||||
{
|
||||
int screenWidth = display->getWidth();
|
||||
@ -2069,6 +2073,10 @@ static void drawDistanceScreen(OLEDDisplay *display, OLEDDisplayUiState *state,
|
||||
drawNodeListScreen(display, state, x, y, "Distances", drawNodeDistance);
|
||||
}
|
||||
|
||||
// ***********************
|
||||
// * Common Header *
|
||||
// ***********************
|
||||
|
||||
void drawCommonHeader(OLEDDisplay *display, int16_t x, int16_t y)
|
||||
{
|
||||
const bool isInverted = (config.display.displaymode == meshtastic_Config_DisplayConfig_DisplayMode_INVERTED);
|
||||
|
Loading…
Reference in New Issue
Block a user