/* ========================================================================== * ÀÛ ¼º ÀÚ : À̼ø±Ô * ÀÛ ¼º ÀÏ : 2007.08.03 * ³» ¿ë : * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once #include "UIWindow.h" enum eItemTry; class cNumberEditBox; /// ¾ÆÀÌÅÛ °³¼ö À©µµ¿ì class cItemCountWindow : public cUIWindow { public: cItemCountWindow(); virtual ~cItemCountWindow(); virtual void Open() {} void ShowModal( eMSGBox_Event eventtype, unsigned long slotIndex0, unsigned long slotIndex1 ); void ShowModal( eMSGBox_Event eventtype, unsigned long index ); void ShowModal( eMSGBox_Event eventtype, unsigned long slotIndex, unsigned long itemIndex, unsigned long maxValue, unsigned long price ); unsigned long GetItemIndex() { return mItemIndex; } unsigned long GetSlotIndex0() { return mSlotIndex0; } unsigned long GetSlotIndex1() { return mSlotIndex1; } int GetMaxCount() { return mMaxValue; } unsigned long GetPrice() { return mPrice; } unsigned short GetCount(); protected: bool OnCreate( cUINodeProperty* property ); void OnCommand( cUINode* node, unsigned int id ); void OnButtonDowned( cUINode* , unsigned int id ); bool HandleEvent( const cUIEvent& event ); void OnShow(); protected: /// ¼ýÀÚ ¿¡µðÆ® cNumberEditBox* mNumEdit; /// ½½·Ô À妽º unsigned long mSlotIndex0; unsigned long mSlotIndex1; /// ¾ÆÀÌÅÛ À妽º unsigned long mItemIndex; /// °ª unsigned long mMaxValue; // unsigned long mPrice; };