/* ========================================================================== * ÀÛ ¼º ÀÚ : À̼ø±Ô * ÀÛ ¼º ÀÏ : 2007.02.12 * ³» ¿ë : ¹Ì´Ï¸Ê â * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once #include "SmallMiniMapWindow.h" class cPlaneObject; struct sChaseData { cPlaneObject* pImage; // ÃßÀû À̹ÌÁö cStringT title; // Äù½ºÆ®¸í int x; int y; int textX; int textY; float scale; sChaseData() { pImage = 0; x = 0; y = 0; textX = 0; textY = 0; scale = 1.0f; } }; class cLabel; class cPushButton; class cCheckBox; class cMiniMapWindow : public cSmallMiniMapWindow { public: cMiniMapWindow(); virtual ~cMiniMapWindow(); virtual void Open(); virtual void Clear(); void SetMapData(); // virtual void AddNpc( sNpcData* data ); virtual void AddPortal( unsigned long index ); virtual void AddFindPosition( float xpos, float ypos ); void SetPressExplain( bool press ); bool IsPressExplain(); void SetPressQuestView( bool press ); bool IsPressQuestView(); // Äù½ºÆ® ÃßÀû±â´É À̹ÌÁö °»½Å void UpdateQuestChase(); protected: bool OnCreate( cUINodeProperty* pproperty ); void OnProcess( unsigned long deltaTime, unsigned long accumTime ); void OnRender( cUIFontItemKeeper* pKeeper ); void OnPushButtonPressed(cUINode* , unsigned int id ); void OnMouseMove( const cUIPos& pos ); void OnMouseLeft( const cUIPos& pos ); void OnLButtonDown(const cUIPos& pos, bool ctrl, bool alt, bool ); void UpdateRect(); void UpdateSkin(); void OnShow(); /// À̸§Á¤º¸ À§Ä¡ ¾÷µ¥ÀÌÆ® void UpdateNamePos(); // void ClearChaseImage(); private: cLabel* mpExplain; cLabel* mpQuestViewText; // Äù½ºÆ® º¸±â ±â´É cCheckBox* mpQuestView; cPushButton* mpPush; /// ¸¶¿ì½º ÁÂÇ¥ cStringT mPosStr; // Äù½ºÆ® ÃßÀû À̹ÌÁö cUINodeSkin* mpChaseSkin; // Äù½ºÆ® ÃßÀû À̹ÌÁö °ü¸®ÀÚ (sChaseData) typedef tPointerArray cChaseImageArr; cChaseImageArr mChaseImageArr; };