mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
84 lines
2.5 KiB
C++
84 lines
2.5 KiB
C++
#ifndef __DISPLAYCHANNELVIEWELEMENTS_H
|
|
#define __DISPLAYCHANNELVIEWELEMENTS_H
|
|
|
|
#include "../libtemplate/template.h"
|
|
#include "view.h"
|
|
#include "viewhelpers.h"
|
|
|
|
class cViewElementDevices : public cViewElement, public cViewHelpers {
|
|
private:
|
|
bool init;
|
|
bool light;
|
|
public:
|
|
cViewElementDevices(bool light, cTemplateViewElement *tmplViewElement);
|
|
virtual ~cViewElementDevices() {};
|
|
bool Render(void);
|
|
};
|
|
|
|
class cViewElementScraperContent : public cViewElement, public cViewHelpers {
|
|
private:
|
|
const cEvent *event;
|
|
const cRecording *recording;
|
|
public:
|
|
cViewElementScraperContent(const cEvent *event, const cRecording *recording, cTemplateViewElement *tmplViewElement);
|
|
virtual ~cViewElementScraperContent() {};
|
|
void SetEvent(const cEvent *event) { this->event = event; };
|
|
void SetRecording(const cRecording *recording) { this->recording = recording; };
|
|
bool Render(void);
|
|
};
|
|
|
|
class cViewElementCustomTokens : public cViewElement, public cViewHelpers {
|
|
private:
|
|
cTemplateView *tmplView;
|
|
public:
|
|
cViewElementCustomTokens(cTemplateViewElement *tmplViewElement, cTemplateView *tmplView);
|
|
virtual ~cViewElementCustomTokens() {};
|
|
bool Render(void);
|
|
};
|
|
|
|
class cViewElementTimers : public cViewElement, public cViewHelpers {
|
|
private:
|
|
public:
|
|
cViewElementTimers(cTemplateViewElement *tmplViewElement);
|
|
virtual ~cViewElementTimers() {};
|
|
bool Render(void);
|
|
};
|
|
|
|
class cViewElementLastRecordings : public cViewElement, public cViewHelpers {
|
|
private:
|
|
public:
|
|
cViewElementLastRecordings(cTemplateViewElement *tmplViewElement);
|
|
virtual ~cViewElementLastRecordings() {};
|
|
bool Render(void);
|
|
};
|
|
|
|
class cViewElementCurrentSchedule : public cViewElement, public cViewHelpers {
|
|
private:
|
|
string currentRecording;
|
|
public:
|
|
cViewElementCurrentSchedule(cTemplateViewElement *tmplViewElement, string currentRecording);
|
|
virtual ~cViewElementCurrentSchedule() {};
|
|
bool Render(void);
|
|
};
|
|
|
|
class cViewElementMenuHeader : public cViewElement, public cViewHelpers {
|
|
private:
|
|
eMenuCategory cat;
|
|
string menuTitle;
|
|
public:
|
|
cViewElementMenuHeader(cTemplateViewElement *tmplViewElement, eMenuCategory cat, string menuTitle);
|
|
virtual ~cViewElementMenuHeader() {};
|
|
bool Render(void);
|
|
};
|
|
|
|
class cViewElementMenuMessage : public cViewElement, public cViewHelpers {
|
|
private:
|
|
eMessageType type;
|
|
string text;
|
|
public:
|
|
cViewElementMenuMessage(cTemplateViewElement *tmplViewElement, eMessageType type, string text);
|
|
virtual ~cViewElementMenuMessage() {};
|
|
bool Render(void);
|
|
};
|
|
|
|
#endif //__DISPLAYCHANNELVIEWELEMENTS_H
|