/* ========================================================================== * ÀÛ ¼º ÀÚ : À̼ø±Ô * ÀÛ ¼º ÀÏ : 2006.09.20 * * ³» ¿ë : * Ãß°¡³»¿ë : * ÀÛ¾÷ÀÏ ÀÛ¾÷ÀÚ ÀÛ¾÷³»¿ë * * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once class cSkinComponentResource; class cSkinImageSlideResource; /// ½ºÅ² À̹ÌÁö ½½¶óÀ̵å class cSkinImageSlide : public CStatic { public: cSkinImageSlide(); virtual ~cSkinImageSlide(); /// »ý¼º BOOL Create( cSkinComponentResource* resource, CWnd* parent, UINT id ); /// À̹ÌÁö À妽º¸¦ ¼³Á¤ void SetImageIndex( unsigned int index ); protected: afx_msg BOOL OnEraseBkgnd( CDC* dc ); afx_msg void OnPaint(); DECLARE_MESSAGE_MAP() protected: /// ¸®¼Ò½º cSkinImageSlideResource* mResource; /// Å©±â int mWidth; int mHeight; /// À̹ÌÁö ¼ö unsigned int mNumImages; /// À̹ÌÁö À妽º unsigned int mImageIndex; }; inline void cSkinImageSlide::SetImageIndex( unsigned int index ) { if( index < mNumImages ) { mImageIndex = index; } }