summaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2012-03-28 17:54:20 +0300
committerVille Skyttä <ville.skytta@iki.fi>2012-03-28 17:54:20 +0300
commite74a3437211bed8e483ce289b87c99f479849a35 (patch)
tree001af70ff6ffad80f37411f507d6b8b97217b92a /render.h
parenteb464b67a9ea3ba12056d8f8353d28833dfe68e3 (diff)
downloadvdr-plugin-text2skin-e74a3437211bed8e483ce289b87c99f479849a35.tar.gz
vdr-plugin-text2skin-e74a3437211bed8e483ce289b87c99f479849a35.tar.bz2
Trim trailing whitespace.
Diffstat (limited to 'render.h')
-rw-r--r--render.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/render.h b/render.h
index 4088b87..f457a65 100644
--- a/render.h
+++ b/render.h
@@ -50,10 +50,10 @@ private:
std::vector<int> mDirtyItems;
uint mMaxItems;
cSkin *mFallback;
-
+
// update thread
bool mActive;
-
+
cCondVar mDoUpdate;
cMutex mDoUpdateMutex;
cCondVar mStarted;
@@ -80,9 +80,9 @@ protected:
int ListItem = -1, bool ForceUpdate = false);
void DrawItemText(cxObject *o, int i, const txPoint &ListOffset, const txSize &ListSize);
- void DrawBackground(const txPoint &Pos, const txSize &Size, const tColor *Bg, const tColor *Fg,
+ void DrawBackground(const txPoint &Pos, const txSize &Size, const tColor *Bg, const tColor *Fg,
int Alpha, const std::string &Path);
- void DrawImage(const txPoint &Pos, const txSize &Size, const tColor *Bg, const tColor *Fg,
+ void DrawImage(const txPoint &Pos, const txSize &Size, const tColor *Bg, const tColor *Fg,
const tColor *Mask, int Alpha, int Colors, const std::string &Path);
void DrawText(const txPoint &Pos, const txSize &Size, const tColor *Fg, const tColor *Bg,
const std::string &Text, const cFont *Font, int Align);
@@ -94,8 +94,8 @@ protected:
void DrawRectangle(const txPoint &Pos, const txSize &Size, const tColor *Fg);
void DrawEllipse(const txPoint &Pos, const txSize &Size, const tColor *Fg, int Arc);
void DrawSlope(const txPoint &Pos, const txSize &Size, const tColor *Fg, int Arc);
- void DrawProgressbar(const txPoint &Pos, const txSize &Size, int Current, int Total,
- const tColor *Bg, const tColor *Fg, const tColor *Selected,
+ void DrawProgressbar(const txPoint &Pos, const txSize &Size, int Current, int Total,
+ const tColor *Bg, const tColor *Fg, const tColor *Selected,
const tColor *Mark, const tColor *Cur, const cMarks *Marks = NULL);
void DrawMark(const txPoint &Pos, const txSize &Size, bool Start, bool Current, bool Horizontal,
const tColor *Mark, const tColor *Cur);
@@ -124,7 +124,7 @@ protected:
cSkin *Fallback(void) const { return mFallback; }
public:
- cText2SkinRender(cText2SkinLoader *Loader, cxDisplay::eType Section,
+ cText2SkinRender(cText2SkinLoader *Loader, cxDisplay::eType Section,
const std::string &BasePath = "", bool OffScreen = false);
virtual ~cText2SkinRender();
@@ -163,7 +163,7 @@ public:
} mUpdate;
};
-inline void cText2SkinRender::Flush(bool Force)
+inline void cText2SkinRender::Flush(bool Force)
{
if (Force)
// do a full redraw