summaryrefslogtreecommitdiff
path: root/displaymessage.c
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2013-09-23 11:43:34 +0200
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2013-09-23 11:43:34 +0200
commitd8f6341649120a3ae3d3bf82b2ce4c2b782a960d (patch)
tree3f5783c1d188153799426d2d78ca23bbfd6197d1 /displaymessage.c
downloadskin-flatplus-d8f6341649120a3ae3d3bf82b2ce4c2b782a960d.tar.gz
skin-flatplus-d8f6341649120a3ae3d3bf82b2ce4c2b782a960d.tar.bz2
initial commit
Diffstat (limited to 'displaymessage.c')
-rw-r--r--displaymessage.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/displaymessage.c b/displaymessage.c
new file mode 100644
index 00000000..ec23f23e
--- /dev/null
+++ b/displaymessage.c
@@ -0,0 +1,22 @@
+#include "displaymessage.h"
+
+cFlatDisplayMessage::cFlatDisplayMessage(void) {
+ CreateFullOsd();
+ TopBarCreate();
+ MessageCreate();
+}
+
+cFlatDisplayMessage::~cFlatDisplayMessage() {
+}
+
+void cFlatDisplayMessage::SetMessage(eMessageType Type, const char *Text) {
+ if (Text)
+ MessageSet(Type, Text);
+ else
+ MessageClear();
+}
+
+void cFlatDisplayMessage::Flush(void) {
+ TopBarUpdate();
+ osd->Flush();
+}