summaryrefslogtreecommitdiff
path: root/displaymessage.c
blob: ec23f23ea7590e53a427f87dc1b70c44de826b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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();
}