/* ========================================================================== * ÀÛ ¼º ÀÚ : À̼ø±Ô * ÀÛ ¼º ÀÏ : 2006.11.27 * ³» ¿ë : ÅÇ ¹öư ±×·ì * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once class cTabButton; /// ÅÇ ¹öư ±×·ì class cTabButtonGroup { friend class cTabButton; public: cTabButtonGroup(); ~cTabButtonGroup(); /// üũµÈ ¹öưÀ» ¼³Á¤ void SetCheckedButton( int id ); void SetCheckedButton( cTabButton* button ); /// üũµÈ ¹öưÀ» ¸®ÅÏ cTabButton* GetCheckedButton() const; protected: /// ¹öưÀ» Ãß°¡ void Add( cTabButton* button ); /// ¹öưÀ» Á¦°Å bool Remove( unsigned int index ); protected: /// ¹öư ¹è¿­ typedef tArray cButtonArray; cButtonArray mButtonArray; /// üũµÈ ¹öư cTabButton* mCheckedButton; }; inline cTabButton* cTabButtonGroup::GetCheckedButton() const { return mCheckedButton; }