summaryrefslogtreecommitdiff
path: root/libcore/pixmapcontainer.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-05-10 12:55:23 +0200
committerlouis <louis.braun@gmx.de>2015-05-10 12:55:23 +0200
commit28743412fed4d9d59100c38f4def327122ed0e2c (patch)
treeabfca0011e69b0e39973de807b2b3e99ff7936bb /libcore/pixmapcontainer.h
parentc5edc10fbd57d17e774a07b659996bdffe16242c (diff)
downloadvdr-plugin-skindesigner-28743412fed4d9d59100c38f4def327122ed0e2c.tar.gz
vdr-plugin-skindesigner-28743412fed4d9d59100c38f4def327122ed0e2c.tar.bz2
expanded shifting features
Diffstat (limited to 'libcore/pixmapcontainer.h')
-rw-r--r--libcore/pixmapcontainer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcore/pixmapcontainer.h b/libcore/pixmapcontainer.h
index d17753c..e924126 100644
--- a/libcore/pixmapcontainer.h
+++ b/libcore/pixmapcontainer.h
@@ -24,8 +24,12 @@ private:
bool checkRunning;
int fadeTime;
int shiftTime;
+ int shiftType;
+ int shiftMode;
cPoint startPos;
bool deleteOsdOnExit;
+ void ShiftInFromBorder(int frames, int frameTime);
+ void ShiftInFromPoint(int frames, int frameTime);
protected:
void SetInitFinished(void) { pixContainerInit = false; };
bool CreateOsd(int Left, int Top, int Width, int Height);
@@ -61,6 +65,8 @@ protected:
//HELPERS -- do not access the pixmaps array directly, use wrapper functions
void SetFadeTime(int fade) { fadeTime = fade; };
void SetShiftTime(int shift) { shiftTime = shift; };
+ void SetShiftType(int type) { shiftType = type; };
+ void SetShiftMode(int mode) { shiftMode = mode; };
void SetStartPos(int posX, int posY) { startPos.SetX(posX); startPos.SetY(posY); };
bool IsAnimated(void) { return (shiftTime > 0); };
void FadeIn(void);