diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2013-09-23 11:43:34 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2013-09-23 11:43:34 +0200 |
commit | d8f6341649120a3ae3d3bf82b2ce4c2b782a960d (patch) | |
tree | 3f5783c1d188153799426d2d78ca23bbfd6197d1 /displaymessage.c | |
download | skin-flatplus-d8f6341649120a3ae3d3bf82b2ce4c2b782a960d.tar.gz skin-flatplus-d8f6341649120a3ae3d3bf82b2ce4c2b782a960d.tar.bz2 |
initial commit
Diffstat (limited to 'displaymessage.c')
-rw-r--r-- | displaymessage.c | 22 |
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(); +} |