New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
CommonWindowMgr Class Reference

#include <CommonWindowMgr.h>

Public Types

enum  PadTrigStatus {
  cStatus_Decide = 0 , cStatus_Back , cStatus_Disabled , cStatus_Dpad ,
  cStatus_Idle
}

Public Member Functions

 CommonWindowMgr ()
void create ()
void execute ()
void draw (const agl::lyr::RenderInfo &render_info) const
void drawDRC (const agl::lyr::RenderInfo &render_info) const
void drawDRC_System (const agl::lyr::RenderInfo &render_info) const
void open (CommonWindow::Type type, SysController::Id controller_id=SysController::cId_CafeDRC_SinglePlayer, CommonWindow::Type msg_text_type=CommonWindow::cDefaultMsgTextType)
void setHideBackButton (bool hide)
void setSystemDRC (bool enable)
void close ()
bool isOpen () const
bool isVisible () const
bool isTransitionAnime () const
bool isFadeOut () const
PadTrigStatus processPadTrig_TwoButtons (bool enable_back_button)
PadTrigStatus processPadTrig_OneButton ()
bool cursorIsOnLeftButton () const
bool cursorIsOnRightButton () const
void cursorTriggerDecide ()
bool cursorIsNoPadInput () const
void setFreezePostDecide (bool freeze)
bool isDoneOutQuickSaveAnime () const

Private Attributes

CommonWindow mCommonWindow
sead::SafeArray< SysControllerWrapper, SysController::cId_MaxmControllers
SysController::Id mCurrentControllerId
bool mIsActive

Member Enumeration Documentation

◆ PadTrigStatus

Enumerator
cStatus_Decide 
cStatus_Back 
cStatus_Disabled 
cStatus_Dpad 
cStatus_Idle 

Constructor & Destructor Documentation

◆ CommonWindowMgr()

CommonWindowMgr::CommonWindowMgr ( )

Member Function Documentation

◆ create()

void CommonWindowMgr::create ( )

◆ execute()

void CommonWindowMgr::execute ( )

◆ draw()

void CommonWindowMgr::draw ( const agl::lyr::RenderInfo & render_info) const

◆ drawDRC()

void CommonWindowMgr::drawDRC ( const agl::lyr::RenderInfo & render_info) const

◆ drawDRC_System()

void CommonWindowMgr::drawDRC_System ( const agl::lyr::RenderInfo & render_info) const

◆ open()

void CommonWindowMgr::open ( CommonWindow::Type type,
SysController::Id controller_id = SysController::cId_CafeDRC_SinglePlayer,
CommonWindow::Type msg_text_type = CommonWindow::cDefaultMsgTextType )
inline

◆ setHideBackButton()

void CommonWindowMgr::setHideBackButton ( bool hide)
inline

◆ setSystemDRC()

void CommonWindowMgr::setSystemDRC ( bool enable)
inline

◆ close()

void CommonWindowMgr::close ( )
inline

◆ isOpen()

bool CommonWindowMgr::isOpen ( ) const
inline

◆ isVisible()

bool CommonWindowMgr::isVisible ( ) const
inline

◆ isTransitionAnime()

bool CommonWindowMgr::isTransitionAnime ( ) const
inline

◆ isFadeOut()

bool CommonWindowMgr::isFadeOut ( ) const
inline

◆ processPadTrig_TwoButtons()

PadTrigStatus CommonWindowMgr::processPadTrig_TwoButtons ( bool enable_back_button)

◆ processPadTrig_OneButton()

PadTrigStatus CommonWindowMgr::processPadTrig_OneButton ( )

◆ cursorIsOnLeftButton()

bool CommonWindowMgr::cursorIsOnLeftButton ( ) const
inline

◆ cursorIsOnRightButton()

bool CommonWindowMgr::cursorIsOnRightButton ( ) const
inline

◆ cursorTriggerDecide()

void CommonWindowMgr::cursorTriggerDecide ( )
inline

◆ cursorIsNoPadInput()

bool CommonWindowMgr::cursorIsNoPadInput ( ) const
inline

◆ setFreezePostDecide()

void CommonWindowMgr::setFreezePostDecide ( bool freeze)
inline

◆ isDoneOutQuickSaveAnime()

bool CommonWindowMgr::isDoneOutQuickSaveAnime ( ) const
inline

Member Data Documentation

◆ mCommonWindow

CommonWindow CommonWindowMgr::mCommonWindow
private

◆ mControllers

sead::SafeArray< SysControllerWrapper, SysController::cId_Max > CommonWindowMgr::mControllers
private

◆ mCurrentControllerId

SysController::Id CommonWindowMgr::mCurrentControllerId
private

◆ mIsActive

bool CommonWindowMgr::mIsActive
private