50 lines
1.4 KiB
C++
50 lines
1.4 KiB
C++
#include "stdafx.h"
|
|
#include "SUIArenaGameBingoWnd.h"
|
|
//#include "SGameMessageUI.h"
|
|
#include "SGameManager.h"
|
|
#include "SStringDB.h"
|
|
|
|
SUIArenaGameBingoWnd::SUIArenaGameBingoWnd(SGameManager* gameManager) : SUIArenaGameWnd(gameManager)
|
|
{
|
|
}
|
|
|
|
SUIArenaGameBingoWnd::~SUIArenaGameBingoWnd()
|
|
{
|
|
}
|
|
|
|
void SUIArenaGameBingoWnd::setTooltip()
|
|
{
|
|
SUIArenaGameWnd::setTooltip();
|
|
|
|
SetChildTooltip("panel_status_default_01", S(2316));
|
|
}
|
|
|
|
void SUIArenaGameBingoWnd::OnNotifyUIWindowOpen( bool bOpen, bool bLimitWnd )
|
|
{
|
|
SUIArenaGameWnd::OnNotifyUIWindowOpen(bOpen, bLimitWnd);
|
|
m_pGameManager->PostMsgAtDynamic( new SIMSG_SHOW_UIWINDOW( SIMSG_TOGGLE_UIWINDOW::UIWINDOW_ARENA_GAME_BINGO_BOARD, bOpen) );
|
|
}
|
|
|
|
void SUIArenaGameBingoWnd::setShow(bool show)
|
|
{
|
|
m_pGameManager->PostMsgAtDynamic( new SIMSG_SHOW_UIWINDOW( SIMSG_TOGGLE_UIWINDOW::UIWINDOW_ARENA_GAME_BINGO, show));
|
|
}
|
|
|
|
void SUIArenaGameBingoWnd::procMsgBattleStatus(SGameMessage* msg)
|
|
{
|
|
msg->bUse = true;
|
|
}
|
|
|
|
void SUIArenaGameBingoWnd::moveWnd()
|
|
{
|
|
SUIArenaGameWnd::moveWnd();
|
|
m_pGameManager->PostMsgAtDynamic( new SIMSG_UI_MOVE( SIMSG_TOGGLE_UIWINDOW::UIWINDOW_ARENA_GAME_BINGO_BOARD, GetRect().left, GetRect().bottom ) ); // 좌측 메뉴도 이동
|
|
}
|
|
|
|
void SUIArenaGameBingoWnd::setOpacity(bool opacity)
|
|
{
|
|
SUIArenaGameWnd::setOpacity(opacity);
|
|
|
|
m_pGameManager->ProcMsgAtStatic( &SIMSG_UI_SEND_DATA( SIMSG_TOGGLE_UIWINDOW::_UIWINDOW_TYPE::UIWINDOW_ARENA_GAME_BINGO_BOARD, "bingoboard_opacity", !!opacity));
|
|
}
|