/* ========================================================================== * ÀÛ ¼º ÀÚ : À̼ø±Ô * ÀÛ ¼º ÀÏ : 2007.07.10 * ³» ¿ë : Àκ¥Å丮 ½¬Æ® À©µµ¿ì * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once #include "UIWindow.h" #include "ItemManager.h" /// Àκ¥Å丮 ½¬Æ® À©µµ¿ì class cItemIcon; class cInvenSheetWindow : public cUIWindow { public: cInvenSheetWindow( eUINodeType type = eUINODE_TABSHEET ); virtual ~cInvenSheetWindow(); bool BindSlot( unsigned int tabIndex ); protected: void OnIconDragged( cUINode* caller, unsigned int id, const cUIPos& pos, bool shift ); void OnIconDoubleClicked( cUINode* caller, unsigned int id ); void OnIconClicked( cUINode* caller, unsigned int id ); void OnIconRightClicked( cUINode* caller, unsigned int id, bool shift ); protected: /// ÅÇ À妽º unsigned int mTabIndex; /// ¾ÆÀÌÄÜ cItemIcon* mIcon[INVENSHEET_SLOT_COUNT]; };