diff options
author | louis <louis.braun@gmx.de> | 2013-05-08 18:31:01 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-05-08 18:31:01 +0200 |
commit | ec606cea46a25009182b03eb9bbd53bea362bdbd (patch) | |
tree | 4bf273553e9bb826dd57c566e97cabc47ec2f008 /menuitem.h | |
parent | cdcbf602021a64393669a28fbd7de1c7ddd23fa1 (diff) | |
download | skin-nopacity-ec606cea46a25009182b03eb9bbd53bea362bdbd.tar.gz skin-nopacity-ec606cea46a25009182b03eb9bbd53bea362bdbd.tar.bz2 |
Introduced plain style without any blending effects
Diffstat (limited to 'menuitem.h')
-rw-r--r-- | menuitem.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -30,9 +30,9 @@ protected: virtual void SetTextFull(void) {}; virtual void SetTextShort(void) {}; void DrawDelimiter(const char *del, const char *icon, int handleBgrd); + void DrawRoundedCorners(tColor borderColor); virtual void Action(void); void DoSleep(int duration); - void DrawRoundedCorners(tColor borderColor); public: cNopacityMenuItem(cOsd *osd, const char *text, bool sel); virtual ~cNopacityMenuItem(void); @@ -64,6 +64,7 @@ private: std::string strEntryFull; static std::string items[16]; cString GetIconName(); + void DrawBackground(void); void SetTextFull(void); void SetTextShort(void); public: @@ -114,7 +115,7 @@ private: cRect *vidWin; void SetTextFull(void); void SetTextShort(void); - void DrawBackground(int handleBackground); + void DrawBackground(void); std::string readEPG(void); public: cNopacityChannelMenuItem(cOsd *osd, const cChannel *Channel, bool sel, cRect *vidWin); @@ -133,7 +134,7 @@ private: std::string strDateTime; void SetTextFull(void); void SetTextShort(void); - void DrawBackground(int handleBackground, int textLeft); + void DrawBackground(int textLeft); void DrawLogo(int logoWidth, int logoHeight); std::string CreateDate(void); public: @@ -159,6 +160,7 @@ private: void SetTextShortFolder(void); void SetTextFullRecording(void); void SetTextShortRecording(void); + void DrawBackground(void); int DrawRecordingNewIcon(void); int DrawRecordingEditedIcon(int startLeft); void DrawFolderIcon(void); @@ -178,6 +180,7 @@ public: class cNopacityDefaultMenuItem : public cNopacityMenuItem { private: bool CheckProgressBar(const char *text); + void DrawBackground(void); void DrawProgressBar(int x, int width, const char *bar, tColor color); bool DrawHeaderElement(void); std::string strEntry; |