/* ========================================================================== * ÆÄ ÀÏ : TarotResultWindow.h * ¸ñ Àû : Á¡±¥ À©µµ¿ì * ÀÛ ¼º ÀÚ : ±è°¡¶÷ * ÀÛ ¼º ÀÏ : 2007-08-02 * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once #include "UIWindow.h" class cLabel; class cGauge; class cButton; class cUIImage; class cTarotWindow; class cTarotResultWindow : public cUIWindow { public: cTarotResultWindow(); virtual ~cTarotResultWindow(); /// Ÿ·ÎÁ¡±¥·Î ³ª¿Ã¼ö ÀÖ´Â ÃÖ´ë Á¡¼ö¼¼ÆÃ void SetMaxScore( unsigned int score ); /// Ä«µå ÇØ¼® void SetDescription( LPCTSTR desc ); protected: bool OnCreate( cUINodeProperty* pproperty ); void OnCommand( cUINode* pnode, unsigned int id ); void OnRender( cUIFontItemKeeper* pKeeper ); void OnShow(); void OnHide(); void UpdateSkin(); /// ¿ÀÇ īµå ÃÑ ¼öÄ¡ void SetTotalValue(); /// Ä«µå¿ÀÇ ¹öư º¸±â void ShowButton( bool show ); void UpdateButton(); private: cTarotWindow* mpMain; cLabel* mpDescription; /// Ä«µå ÇØ¼® cLabel* mpOpenValue[10]; /// ¿ÀÇ īµå ¼öÄ¡ ÃÑÇÕ cLabel* mpOpenTotal; cButton* mpRightBtn; /// Ä«µå ¿ÀÇÂ¿ë ¹öư (¿À¸¥ÂÊ) cButton* mpUpBtn; /// Ä«µå ¿ÀÇÂ¿ë ¹öư(À§) cButton* mpResult; /// ¿î¼¼ °á°ú¹Þ±â¹öư cButton* mpAllRandom; /// ¸ðµÎ ·£´ý cButton* mpAllStraight; /// ¸ðµÎ Á¤¹æÇâ cButton* mpAllInverse; /// ¸ðµÎ ¿ª¹æÇâ cButton* mpOneStraight; /// Çϳª¸¸ Á¤¹æÇâ cButton* mpOneInverse; /// Çϳª¸¸ ¿ª¹æÇâ /// Á¡±¥¼öÄ¡ °ÔÀÌÁö cGauge* mpResultGauge; }; //---------------------------------------------------------------------- class cTarotWindow; struct sNpcSpread; class cNpcTarotResultWindow : public cUIWindow { public: cNpcTarotResultWindow(); virtual ~cNpcTarotResultWindow(); void SetDesc( LPCTSTR desc ); /// Ä«µå ÇØ¼® »ðÀÔ void SetQuestion( LPCTSTR question ); /// Áú¹® void SetCardInfo( LPCTSTR info ); /// ¿ÀÇÂµÈ Ä«µåÁ¤º¸ void SetComment( LPCTSTR comment ); /// Áú¹®¿¡ ´ëÇÑ ÇØ¼® protected: bool OnCreate( cUINodeProperty* pproperty ); void OnCommand( cUINode* pnode, unsigned int id ); void OnRender( cUIFontItemKeeper* pKeeper ); void UpdateSkin(); void OnHide(); void OnShow(); void ShowButton( bool show ); void UpdateButton(); private: cTarotWindow* mpMain; cLabel* mpDesc; cLabel* mpQuestion; cLabel* mpOpenCardInfo; cLabel* mpComment; cButton* mpResult; cButton* mpRightBtn; cButton* mpUpBtn; cButton* mpStraightBtn; cButton* mpInverseBtn; sNpcSpread* mpSpread; };