diff options
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -732,6 +732,13 @@ void cGraphLCDDisplay::Update() update = true; } +void cGraphLCDDisplay::Clear() +{ + bitmap->Clear(); + mLcd->SetScreen(bitmap->Data(), bitmap->Width(), bitmap->Height(), bitmap->LineSize()); + mLcd->Refresh(false); +} + void cGraphLCDDisplay::DisplayTime() { static char buffer[32]; @@ -2022,3 +2029,4 @@ const char * cGraphLCDDisplay::Convert(const char *s) return s_converted; } + |