#include "stdafx.h" /// 2011.02.08 - prodongi #include "CharacterInfo/SUICharacterInfoSubMainWnd.h" void SUICharacterInfoSubMainWnd::PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam ) { switch( nMessage ) { case KUI_MESSAGE::KBUTTON_CLICK: /*{ if (_stricmp(lpszControlID, "button_unfold") == 0) { setExpand(true); } else if (_stricmp(lpszControlID, "button_fold") == 0) { setExpand(false); } }*/ // 캐릭터 확장 UI제거 break; } SUIWnd::PumpUpMessage( lpszControlID, nMessage, lparam, wparam ); } void SUICharacterInfoSubMainWnd::toggleExpand() { setExpand(!m_isExpand); } void SUICharacterInfoSubMainWnd::refreshExpand(bool applyParent) { setExpand(m_isExpand, applyParent); } void SUICharacterInfoSubMainWnd::setShowFoldButton(bool expand) { char const* controlName; SetChildShow("button_fold", false); SetChildShow("button_unfold", false); if (!expand) controlName = "button_unfold"; else controlName = "button_fold"; SetChildShow(controlName, true); }