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

#include <CommonWindow.h>

Public Types

enum  Type {
  cType_WinText_Title = 0 , cType_WinText_Pause , cType_WinText_ReturnPlayerNum , cType_WinText_QuickSave ,
  cType_WinText_QuickSaveEnd , cType_WinText_ChangePlayStyle , cType_CourseSelect_NumBtn_warning , cType_CourseSelect_PlayStyleBtn_warning ,
  cType_CoinEditMenu_Reset_confirm , cType_WinText_Save , cType_WinText_SaveEnd , cType_WinText_ChallengeExit_0 ,
  cType_WinText_ChallengeRetry , cType_CoinEditMenu_Save_confirm , cType_WinText_EditSave , cType_CoinEditMenu_End_confirm ,
  cType_WinText_ChallengeTitle , cType_WinText_VSTitle , cType_WinText_SCoinMovie , cType_Olive_UpWindow_0 ,
  cType_Olive_UpWindow_1 , cType_Olive_UpWindow_2 , cType_Olive_UpWindow_3 , cType_Olive_UpWindow_4 ,
  cType_Olive_UpWindow_5 , cType_Olive_UpWindow_6 , cType_Olive_UpWindow_7 , cType_27 ,
  cType_Olive_ClearUpWindow_0 , cType_Olive_ClearUpWindow_1 , cType_Olive_ClearUpWindow_2 , cType_Olive_ClearUpWindow_3 ,
  cType_Olive_ClearUpWindow_4 , cType_Olive_ClearUpWindow_5 , cType_Olive_ClearUpWindow_8 , cType_WinText_FreeExit ,
  cType_WinText_FreeTitle , cType_WinText_VSExit , cType_WinText_ChallengeExit_1 , cType_Olive_ClearUpWindow_6 ,
  cType_Olive_ClearUpWindow_7 , cType_WinText_InitialSave_1 , cType_WinText_InitialSave_2 , cType_WinText_Boss_0 ,
  cType_WinText_Boss_1 , cType_WinText_Boss_2 , cType_WinText_Boss_3 , cType_WinText_Boss_4 ,
  cType_WinText_Boss_5 , cType_WinText_EndingSave , cType_WinText_Item , cType_WinText_ReKinoko ,
  cType_SetUpOlive_Warning , cType_SetUpOlive_NoSelect_0 , cType_SetUpOlive_NoSelect_1 , cType_WinText_Boss_6 ,
  cType_Olive_UpWindow_8 , cType_Olive_ClearUpWindow_9 , cType_DL_WinText_PlayerBlock , cType_WinText_SetUpBtn ,
  cType_Num , cDefaultMsgTextType = cType_Olive_UpWindow_0
}
enum  Color {
  cColor_Default = 0 , cColor_Coin , cColor_1UP , cColor_Special ,
  cColor_Assist , cColor_Num
}

Public Member Functions

 CommonWindow ()
virtual ~CommonWindow ()
bool cursorIsOnLeftButton () const
bool cursorIsOnRightButton () const
void cursorTriggerDecide ()
void cursorResetDecideTrig ()
bool cursorIsNoPadInput () const

Protected Attributes

FStateMgr< CommonWindowmStateMgr
AnimLayout< 2 > mLayout
PaCursor mPaCursor
sead::SafeArray< nw::lyt::Pane *, 8 > mNPane
sead::SafeArray< TextBox *, 23 > mTPane
sead::SafeArray< nw::lyt::Parts *, 15 > mPaPane
sead::SafeArray< nw::lyt::Window *, 1 > mWPane
sead::SafeArray< nw::lyt::Picture *, 1 > mPPane
sead::SafeArray< SysControllerWrapper, SysController::cId_MaxmControllers
Type mType
Type mMsgTextType
s32 _1a98
s32 _1a9c
Color mColor
SysController::Id mCurrentControllerId
bool mRequestOpen
bool mIsVisible
bool mIsTransitionAnime
bool mRequestClose
bool mKeepOpenPostDecide
bool mHideBackButton
bool mIsDRC
bool mIsFadeOut
bool mIsDoneOutQuickSaveAnime
bool mIsBgmVolumeAlreadyAdjusted
bool mSetSeDecideToBackForLeftBtn
bool mSetSeDecideForPlayStyleBtn
bool mIsSystemDRC
bool mFreezePostDecide
bool mIsDecidedTwoButtons
bool mIsURCC

Friends

class CommonWindowMgr

Member Enumeration Documentation

◆ Type

Enumerator
cType_WinText_Title 
cType_WinText_Pause 
cType_WinText_ReturnPlayerNum 
cType_WinText_QuickSave 
cType_WinText_QuickSaveEnd 
cType_WinText_ChangePlayStyle 
cType_CourseSelect_NumBtn_warning 
cType_CourseSelect_PlayStyleBtn_warning 
cType_CoinEditMenu_Reset_confirm 
cType_WinText_Save 
cType_WinText_SaveEnd 
cType_WinText_ChallengeExit_0 
cType_WinText_ChallengeRetry 
cType_CoinEditMenu_Save_confirm 
cType_WinText_EditSave 
cType_CoinEditMenu_End_confirm 
cType_WinText_ChallengeTitle 
cType_WinText_VSTitle 
cType_WinText_SCoinMovie 
cType_Olive_UpWindow_0 
cType_Olive_UpWindow_1 
cType_Olive_UpWindow_2 
cType_Olive_UpWindow_3 
cType_Olive_UpWindow_4 
cType_Olive_UpWindow_5 
cType_Olive_UpWindow_6 
cType_Olive_UpWindow_7 
cType_27 
cType_Olive_ClearUpWindow_0 
cType_Olive_ClearUpWindow_1 
cType_Olive_ClearUpWindow_2 
cType_Olive_ClearUpWindow_3 
cType_Olive_ClearUpWindow_4 
cType_Olive_ClearUpWindow_5 
cType_Olive_ClearUpWindow_8 
cType_WinText_FreeExit 
cType_WinText_FreeTitle 
cType_WinText_VSExit 
cType_WinText_ChallengeExit_1 
cType_Olive_ClearUpWindow_6 
cType_Olive_ClearUpWindow_7 
cType_WinText_InitialSave_1 
cType_WinText_InitialSave_2 
cType_WinText_Boss_0 
cType_WinText_Boss_1 
cType_WinText_Boss_2 
cType_WinText_Boss_3 
cType_WinText_Boss_4 
cType_WinText_Boss_5 
cType_WinText_EndingSave 
cType_WinText_Item 
cType_WinText_ReKinoko 
cType_SetUpOlive_Warning 
cType_SetUpOlive_NoSelect_0 
cType_SetUpOlive_NoSelect_1 
cType_WinText_Boss_6 
cType_Olive_UpWindow_8 
cType_Olive_ClearUpWindow_9 
cType_DL_WinText_PlayerBlock 
cType_WinText_SetUpBtn 
cType_Num 
cDefaultMsgTextType 

◆ Color

Enumerator
cColor_Default 
cColor_Coin 
cColor_1UP 
cColor_Special 
cColor_Assist 
cColor_Num 

Constructor & Destructor Documentation

◆ CommonWindow()

CommonWindow::CommonWindow ( )

◆ ~CommonWindow()

virtual CommonWindow::~CommonWindow ( )
virtual

Member Function Documentation

◆ cursorIsOnLeftButton()

bool CommonWindow::cursorIsOnLeftButton ( ) const

◆ cursorIsOnRightButton()

bool CommonWindow::cursorIsOnRightButton ( ) const

◆ cursorTriggerDecide()

void CommonWindow::cursorTriggerDecide ( )
inline

◆ cursorResetDecideTrig()

void CommonWindow::cursorResetDecideTrig ( )
inline

◆ cursorIsNoPadInput()

bool CommonWindow::cursorIsNoPadInput ( ) const
inline

◆ CommonWindowMgr

friend class CommonWindowMgr
friend

Member Data Documentation

◆ mStateMgr

FStateMgr<CommonWindow> CommonWindow::mStateMgr
protected

◆ mLayout

AnimLayout<2> CommonWindow::mLayout
protected

◆ mPaCursor

PaCursor CommonWindow::mPaCursor
protected

◆ mNPane

sead::SafeArray<nw::lyt::Pane*, 8> CommonWindow::mNPane
protected

◆ mTPane

sead::SafeArray<TextBox*, 23> CommonWindow::mTPane
protected

◆ mPaPane

sead::SafeArray<nw::lyt::Parts*, 15> CommonWindow::mPaPane
protected

◆ mWPane

sead::SafeArray<nw::lyt::Window*, 1> CommonWindow::mWPane
protected

◆ mPPane

sead::SafeArray<nw::lyt::Picture*, 1> CommonWindow::mPPane
protected

◆ mControllers

sead::SafeArray< SysControllerWrapper, SysController::cId_Max > CommonWindow::mControllers
protected

◆ mType

Type CommonWindow::mType
protected

◆ mMsgTextType

Type CommonWindow::mMsgTextType
protected

◆ _1a98

s32 CommonWindow::_1a98
protected

◆ _1a9c

s32 CommonWindow::_1a9c
protected

◆ mColor

Color CommonWindow::mColor
protected

◆ mCurrentControllerId

SysController::Id CommonWindow::mCurrentControllerId
protected

◆ mRequestOpen

bool CommonWindow::mRequestOpen
protected

◆ mIsVisible

bool CommonWindow::mIsVisible
protected

◆ mIsTransitionAnime

bool CommonWindow::mIsTransitionAnime
protected

◆ mRequestClose

bool CommonWindow::mRequestClose
protected

◆ mKeepOpenPostDecide

bool CommonWindow::mKeepOpenPostDecide
protected

◆ mHideBackButton

bool CommonWindow::mHideBackButton
protected

◆ mIsDRC

bool CommonWindow::mIsDRC
protected

◆ mIsFadeOut

bool CommonWindow::mIsFadeOut
protected

◆ mIsDoneOutQuickSaveAnime

bool CommonWindow::mIsDoneOutQuickSaveAnime
protected

◆ mIsBgmVolumeAlreadyAdjusted

bool CommonWindow::mIsBgmVolumeAlreadyAdjusted
protected

◆ mSetSeDecideToBackForLeftBtn

bool CommonWindow::mSetSeDecideToBackForLeftBtn
protected

◆ mSetSeDecideForPlayStyleBtn

bool CommonWindow::mSetSeDecideForPlayStyleBtn
protected

◆ mIsSystemDRC

bool CommonWindow::mIsSystemDRC
protected

◆ mFreezePostDecide

bool CommonWindow::mFreezePostDecide
protected

◆ mIsDecidedTwoButtons

bool CommonWindow::mIsDecidedTwoButtons
protected

◆ mIsURCC

bool CommonWindow::mIsURCC
protected