117 lines
3.0 KiB
C++
117 lines
3.0 KiB
C++
#pragma once
|
|
|
|
//#include "SUIWnd.h"
|
|
#include "SUIDefine.h"
|
|
class SUIDisplayInfo;
|
|
|
|
class SUIMotionWnd : public SUIWnd
|
|
{
|
|
public:
|
|
SUIMotionWnd( SGameManager* pGameManager, SUIDisplayInfo* pDisplayInfo )
|
|
: SUIWnd( pGameManager ), m_nTabType (0), m_nSysMenuPosX (-99), m_nSysMenuPosY (-99)
|
|
, m_pDisplayInfo( pDisplayInfo )
|
|
{ }
|
|
|
|
virtual void PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam );
|
|
virtual bool InitControls( KPoint kPos );
|
|
virtual bool InitData( bool bReload = false );
|
|
virtual void ProcMsgAtStatic( SGameMessage* pMsg );
|
|
virtual void* Perform( KID id, KArg& msg );
|
|
virtual void OnNotifyUIWindowOpen( bool bOpen, bool bLimitWnd = true );
|
|
|
|
private:
|
|
void RefreshSlots();
|
|
void RefreshClock();
|
|
|
|
void ShowClockBox( int nMotion, bool bDiable = false );
|
|
void CancelMotion( int nMotionID );
|
|
|
|
// 탭 ==========================
|
|
void ShowTabChild( int nTabType );
|
|
// 모션 사용 ===================
|
|
void UseMotion( int nIndex );
|
|
// 드래그앤드랍 ================
|
|
int GetMotionIDByCtrlName( const char* szCtrlName ) const;
|
|
// 선택 ========================
|
|
void HideSelectBar();
|
|
void ShowSelectBar( int nIndex );
|
|
void ToggleSelectBar( int nIndex );
|
|
|
|
private:
|
|
SUIDisplayInfo* m_pDisplayInfo;
|
|
|
|
int m_nTabType;
|
|
|
|
int m_nSysMenuPosX;
|
|
int m_nSysMenuPosY;
|
|
};
|
|
|
|
////////////////////////////////////////////////////
|
|
//
|
|
// SUIMotionNormalChild
|
|
//
|
|
////////////////////////////////////////////////////
|
|
//
|
|
//class SUIMotionNormalChild : public SUIWnd
|
|
//{
|
|
//public:
|
|
// SUIMotionNormalChild( SGameManager* pGameManager )
|
|
// : SUIWnd( pGameManager ) { }
|
|
//
|
|
// virtual void PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam );
|
|
// virtual bool InitControls( KPoint kPos );
|
|
// virtual void ProcMsgAtStatic( SGameMessage* pMsg );
|
|
//
|
|
//public:
|
|
// void SetMotionParent( SUIMotionWnd* pWnd ) { m_pWnd = pWnd; };
|
|
//
|
|
//
|
|
//private:
|
|
// SUIMotionWnd* m_pWnd;
|
|
// SUIMotionWnd* GetMotionParent() { return m_pWnd; };
|
|
//};
|
|
//
|
|
//////////////////////////////////////////////////////
|
|
////
|
|
//// SUIMotionPartyChild
|
|
////
|
|
//////////////////////////////////////////////////////
|
|
//class SUIMotionPartyChild : public SUIWnd
|
|
//{
|
|
//public:
|
|
// SUIMotionPartyChild( SGameManager* pGameManager )
|
|
// : SUIWnd( pGameManager ) { }
|
|
//
|
|
// virtual void PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam );
|
|
// virtual bool InitControls( KPoint kPos );
|
|
// virtual void ProcMsgAtStatic( SGameMessage* pMsg );
|
|
//
|
|
// // operators
|
|
//public:
|
|
//
|
|
//private:
|
|
//
|
|
//};
|
|
//
|
|
//
|
|
//////////////////////////////////////////////////////
|
|
////
|
|
//// SUIMotionGestureChild
|
|
////
|
|
//////////////////////////////////////////////////////
|
|
//class SUIMotionGestureChild : public SUIWnd
|
|
//{
|
|
//public:
|
|
// SUIMotionGestureChild( SGameManager* pGameManager )
|
|
// : SUIWnd( pGameManager ) { }
|
|
//
|
|
// virtual void PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam );
|
|
// virtual bool InitControls( KPoint kPos );
|
|
// virtual void ProcMsgAtStatic( SGameMessage* pMsg );
|
|
//
|
|
// // operators
|
|
//public:
|
|
//
|
|
//private:
|
|
//
|
|
//};
|