#pragma once //#include "SUIWnd.h" class SUIDisplayInfo; class SUISysMenuWnd : public SUIWnd { public: SUISysMenuWnd( SGameManager* pGameManager, const SUIDisplayInfo* pDisplayInfo ) : SUIWnd( pGameManager ), m_nTabType (-1) , m_pDisplayInfo( pDisplayInfo ) { } virtual void PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam ); virtual bool InitData( bool bReload = false ); virtual void ProcMsgAtStatic( SGameMessage* pMsg ); private: UINT GetWindowType( int nTabType ); UINT GetTabType( int nWindowID ); void MoveTabWindow( int nTabType ); void SetButtonCheck( int nTabType, bool bShow ); virtual void OnNotifyUIWindowOpen( bool bOpen, bool bLimitWnd = true ); void OpenToggleWindow( int nTabType ); void CloseToggleWindow( int nTabType ); void CloseAllWindow(); private: int m_nTabType; const SUIDisplayInfo* m_pDisplayInfo; };