diff options
| author | louis <louis.braun@gmx.de> | 2015-05-10 12:55:23 +0200 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2015-05-10 12:55:23 +0200 |
| commit | 28743412fed4d9d59100c38f4def327122ed0e2c (patch) | |
| tree | abfca0011e69b0e39973de807b2b3e99ff7936bb /libcore/pixmapcontainer.h | |
| parent | c5edc10fbd57d17e774a07b659996bdffe16242c (diff) | |
| download | vdr-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.h | 6 |
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); |
