diff options
Diffstat (limited to 'libcore/pixmapcontainer.h')
| -rw-r--r-- | libcore/pixmapcontainer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcore/pixmapcontainer.h b/libcore/pixmapcontainer.h index eeff8cb..d17753c 100644 --- a/libcore/pixmapcontainer.h +++ b/libcore/pixmapcontainer.h @@ -23,6 +23,8 @@ private: int *pixmapsLayer; bool checkRunning; int fadeTime; + int shiftTime; + cPoint startPos; bool deleteOsdOnExit; protected: void SetInitFinished(void) { pixContainerInit = false; }; @@ -46,6 +48,7 @@ protected: void SetViewPort(int num, const cRect &rect); int Layer(int num); void Pos(int num, cPoint &pos); + cRect ViewPort(int num); int Width(int num); int Height(int num); int DrawportWidth(int num); @@ -57,8 +60,12 @@ protected: void UnsetCheckRunning(void) { checkRunning = false; }; //HELPERS -- do not access the pixmaps array directly, use wrapper functions void SetFadeTime(int fade) { fadeTime = fade; }; + void SetShiftTime(int shift) { shiftTime = shift; }; + void SetStartPos(int posX, int posY) { startPos.SetX(posX); startPos.SetY(posY); }; + bool IsAnimated(void) { return (shiftTime > 0); }; void FadeIn(void); void FadeOut(void); + void ShiftIn(void); void ScrollVertical(int num, int scrollDelay, int scrollSpeed); void ScrollHorizontal(int num, int scrollDelay, int scrollSpeed, int scrollMode); void CancelSave(void); |
