CScrollController.h
上传用户:hhs829
上传日期:2022-06-17
资源大小:586k
文件大小:1k
- //
- // CScrollController.h
- //
- #ifndef __H_CScrollController__
- #define __H_CScrollController__
- /*
- Scrolling always from the right to the left.
- There are two scrolling type, bottom-scrolling and up-scrolling.
- */
- class COverlayController;
- class CScrollController : public COverlayController
- {
- private:
- const double cDefaultStride;
- BOOL mIsBottomScrolling;
- RECT mValidTitleRect;
- double mScrollStride;
- public:
- CScrollController();
- ~CScrollController();
- public:
- virtual BOOL StartTitleOverlay(void);
- void SetScrollBottomOrTop(BOOL inIsBottom);
- protected:
- void CalculateScrollStride(void);
- virtual void SideEffectProgressChanged(void);
- virtual BOOL BeforeActualOverlay(void);
- virtual BOOL ActualOverlay(PBYTE inImage);
- };
- #endif // __H_CScrollController__