summaryrefslogtreecommitdiff
path: root/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'display.c')
-rw-r--r--display.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/display.c b/display.c
index 37361f0..0b437d5 100644
--- a/display.c
+++ b/display.c
@@ -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;
}
+