mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-03 08:30:45 +00:00
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "graphics/Screen.h"
|
||
|
|
#include <OLEDDisplay.h>
|
||
|
|
#include <OLEDDisplayUi.h>
|
||
|
|
|
||
|
|
namespace graphics
|
||
|
|
{
|
||
|
|
|
||
|
|
/// Forward declarations
|
||
|
|
class Screen;
|
||
|
|
class DebugInfo;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief Debug and diagnostic drawing functions
|
||
|
|
*
|
||
|
|
* Contains all functions related to drawing debug information,
|
||
|
|
* WiFi status, settings screens, and diagnostic data.
|
||
|
|
*/
|
||
|
|
namespace DebugRenderer
|
||
|
|
{
|
||
|
|
// Debug frame functions (friend functions for DebugInfo class)
|
||
|
|
void drawFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y);
|
||
|
|
void drawFrameSettings(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y);
|
||
|
|
void drawFrameWiFi(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y);
|
||
|
|
|
||
|
|
// Trampoline functions for DebugInfo class access
|
||
|
|
void drawDebugInfoTrampoline(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y);
|
||
|
|
void drawDebugInfoSettingsTrampoline(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y);
|
||
|
|
void drawDebugInfoWiFiTrampoline(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y);
|
||
|
|
|
||
|
|
} // namespace DebugRenderer
|
||
|
|
|
||
|
|
} // namespace graphics
|