diff options
Diffstat (limited to 'libtemplate/templateviewelement.h')
| -rw-r--r-- | libtemplate/templateviewelement.h | 127 |
1 files changed, 0 insertions, 127 deletions
diff --git a/libtemplate/templateviewelement.h b/libtemplate/templateviewelement.h deleted file mode 100644 index 189e9e5..0000000 --- a/libtemplate/templateviewelement.h +++ /dev/null @@ -1,127 +0,0 @@ -#ifndef __TEMPLATEVIEWELEMENT_H
-#define __TEMPLATEVIEWELEMENT_H
-
-#include <iostream>
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdint.h>
-#include <string>
-#include <vector>
-#include <map>
-#include <set>
-#include <sstream>
-
-#include "templatepixmap.h"
-#include "templatefunction.h"
-
-using namespace std;
-
-// --- cTemplateViewElement -------------------------------------------------------------
-
-enum eViewElement {
- //Common ViewElements
- veUndefined,
- veBackground,
- veDateTime,
- veTime,
- veMessage,
- veSortMode,
- veDevices,
- veCurrentWeather,
- veCustomTokens,
- //DisplayChannel ViewElements
- veChannelInfo,
- veChannelGroup,
- veEpgInfo,
- veProgressBar,
- veProgressBarBack,
- veStatusInfo,
- veAudioInfo,
- veScreenResolution,
- veSignalQuality,
- veSignalQualityBack,
- veScraperContent,
- veEcmInfo,
- //DisplayMenu ViewElements
- veHeader,
- veButtons,
- veDiscUsage,
- veSystemLoad,
- veSystemMemory,
- veVDRStats,
- veTemperatures,
- veTimers,
- veLastRecordings,
- veCurrentSchedule,
- veMenuItem,
- veMenuCurrentItemDetail,
- veScrollbar,
- veDetailHeader,
- veTabLabels,
- //DisplayReplay ViewElements
- veRecTitle,
- veRecInfo,
- veRecCurrent,
- veRecTotal,
- veRecEnd,
- veRecProgressBar,
- veCuttingMarks,
- veControlIcons,
- veControlIconsModeOnly,
- veProgressModeOnly,
- veBackgroundModeOnly,
- veRecJump,
- veOnPause,
- veOnPauseModeOnly,
- //DisplayVolume ViewElements
- veVolume
-};
-
-enum ePluginInteralViewElements {
- pveScrollbar = -1,
- pveTablabels = -2,
- pveUndefined = 0
-};
-
-class cTemplateViewElement {
-protected:
- bool debugTokens;
- cGlobals *globals;
- cTemplateFunction *parameters;
- int containerX;
- int containerY;
- int containerWidth;
- int containerHeight;
- vector<cTemplatePixmapNode*> viewPixmapNodes;
- vector<cTemplatePixmapNode*>::iterator pixmapNodeIterator;
- cTemplatePixmap *pixmapIterator;
- cTemplatePixmapContainer *currentNode;
- int pixOffset;
-public:
- cTemplateViewElement(void);
- virtual ~cTemplateViewElement(void);
- void SetContainer(int x, int y, int width, int height);
- virtual void SetGlobals(cGlobals *globals);
- void SetParameters(vector<pair<string, string> > ¶ms);
- bool CalculateParameters(void);
- virtual bool CalculatePixmapParameters(void);
- bool CalculatePixmapParametersList(int orientation, int numElements);
- void AddPixmap(cTemplatePixmapNode *pix) { viewPixmapNodes.push_back(pix); };
- int GetNumericParameter(eParamType type);
- void SetPixOffset(int offset) { pixOffset = offset; };
- int GetPixOffset(void) { return pixOffset; };
- virtual int GetNumPixmaps(void);
- bool GetName(string &name);
- void InitPixmapNodeIterator(void);
- cTemplatePixmapNode *GetNextPixmapNode(void);
- void InitPixmapIterator(void);
- cTemplatePixmap *GetNextPixmap(void);
- cTemplateFunction *GetFunction(string name);
- bool Execute(void);
- bool Detach(void);
- string GetMode(void);
- bool DebugTokens(void);
- virtual void Debug(void);
-};
-
-#endif //__TEMPLATEVIEWELEMENT_H
\ No newline at end of file |
