diff options
author | chriszero <zerov83@gmail.com> | 2015-04-12 12:45:12 +0200 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-04-12 12:45:12 +0200 |
commit | 18194b793d6542340080b27d72f0b66e656ae7bf (patch) | |
tree | b4f7e848a1a1bc358255fb83a785ab8d689b0d8d /libskindesigner/osdelements.h | |
parent | 4bf454247a21b684f2bb0ac763adeea18a86d153 (diff) | |
download | vdr-plugin-plex-18194b793d6542340080b27d72f0b66e656ae7bf.tar.gz vdr-plugin-plex-18194b793d6542340080b27d72f0b66e656ae7bf.tar.bz2 |
libskindesignerapi support
Diffstat (limited to 'libskindesigner/osdelements.h')
-rw-r--r-- | libskindesigner/osdelements.h | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/libskindesigner/osdelements.h b/libskindesigner/osdelements.h deleted file mode 100644 index 147de7a..0000000 --- a/libskindesigner/osdelements.h +++ /dev/null @@ -1,93 +0,0 @@ -#ifndef __OSDELEMENTS_H -#define __OSDELEMENTS_H - -using namespace std; - -#include <vdr/plugin.h> -#include "services.h" - -/********************************************************************** -* cOsdElement -**********************************************************************/ - -class cOsdElement { -protected: - cSkinDisplayPlugin *view; - map < string, string > stringTokens; - map < string, int > intTokens; - map < string, vector< map< string, string > > > loopTokens; -public: - cOsdElement(cSkinDisplayPlugin *view); - virtual ~cOsdElement(); - void AddLoopToken(string loopName, map<string, string> &tokens); - void AddStringToken(string key, string value); - void AddIntToken(string key, int value); - void ClearTokens(void); - bool ChannelLogoExists(string channelId); - string GetEpgImagePath(void); -}; - -/********************************************************************** -* cViewElement -**********************************************************************/ -class cViewElement : public cOsdElement { -private: - int viewElementID; -public: - cViewElement(cSkinDisplayPlugin *view, int viewElementID); - virtual ~cViewElement(); - void Clear(void); - void Display(void); -}; - -/********************************************************************** -* cViewGrid -**********************************************************************/ -class cViewGrid : public cOsdElement { -private: - int viewGridID; -public: - cViewGrid(cSkinDisplayPlugin *view, int viewGridID); - virtual ~cViewGrid(); - void SetGrid(long gridID, double x, double y, double width, double height); - void SetCurrent(long gridID, bool current); - void MoveGrid(long gridID, double x, double y, double width, double height); - void Delete(long gridID); - void Clear(void); - void Display(void); -}; - -/********************************************************************** -* cViewTab -**********************************************************************/ -class cViewTab : public cOsdElement { -private: -public: - cViewTab(cSkinDisplayPlugin *view); - virtual ~cViewTab(); - void Init(void); - void Left(void); - void Right(void); - void Up(void); - void Down(void); - void Display(void); -}; - -/********************************************************************** -* cOsdView -**********************************************************************/ -class cOsdView { -private: - cSkinDisplayPlugin *displayPlugin; -public: - cOsdView(cSkinDisplayPlugin *displayPlugin); - virtual ~cOsdView(); - void Deactivate(bool hide); - void Activate(void); - cViewElement *GetViewElement(int viewElementID); - cViewGrid *GetViewGrid(int viewGridID); - cViewTab *GetViewTabs(void); - void Display(void); -}; - -#endif // __OSDELEMENTS_H
\ No newline at end of file |