2014-09-27 09:25:14 +02:00
|
|
|
#ifndef __DISPLAYMESSAGEVIEW_H
|
|
|
|
#define __DISPLAYMESSAGEVIEW_H
|
|
|
|
|
|
|
|
#include "../libtemplate/template.h"
|
|
|
|
#include "view.h"
|
|
|
|
|
2015-05-14 11:26:30 +02:00
|
|
|
class cDisplayMessageView : public cView, public cViewHelpers {
|
2014-09-27 09:25:14 +02:00
|
|
|
public:
|
|
|
|
cDisplayMessageView(cTemplateView *tmplView);
|
|
|
|
virtual ~cDisplayMessageView();
|
|
|
|
bool createOsd(void);
|
|
|
|
void DrawBackground(void);
|
|
|
|
void DrawMessage(eMessageType type, const char *text);
|
2014-11-18 18:33:27 +01:00
|
|
|
void ClearMessage(void);
|
2014-09-27 09:25:14 +02:00
|
|
|
void DoFadeIn(void) { Start(); };
|
|
|
|
void Flush(void) { DoFlush(); };
|
|
|
|
};
|
|
|
|
#endif //__DISPLAYMESSAGEVIEW_H
|