2#include <game/bases/d_base.hpp>
3#include <game/bases/d_lytbase.hpp>
9class dYesNoWindow_c :
public dBase_c {
17 WATCH_UNLOCKED_HINT_MOVIE,
21 GOT_ALL_STAR_COINS_MENTION_W9,
22 BOWSERJR_SINGLEPLAYER,
26 BACK_TO_COURSE_SELECTION,
27 GOT_ALL_STAR_COINS_ALL_WORLDS,
30 ALL_TOAD_HOUSES_RETURNED,
32 COURSE_CLEAR_WITH_SUPER_GUIDE,
35 PROGRESS_AUTOSAVE_AFTER_W9_UNLOCK,
37 BLOCK_TRANSFORMATION_REVERSE,
dBase_c()
Constructs a new base.
Displays a confirmation prompt.
nw4r::lyt::Pane * mpRootPane
The root pane of the window.
bool mIsActive
Whether the window is currently open.
bool mHasLoadedLayout
Whether the layout has been loaded.
bool mHitButton
Whether a button has been pressed.
bool mKeepOpen
Whether the window should stay open after a button has been pressed.
LytBase_c mLayout
Waiting in an infinite loop after the button was pressed.
sFStateMgr_c< dYesNoWindow_c, sStateMethodUsr_FI_c > mStateMgr
The state manager for the window.
ANIMS_e
The animations used for the window.
CURSOR_POS_e
The possible cursor positions.
nw4r::lyt::Picture * getPicturePane(int n)
Gets the n-th picture pane.
virtual int execute()
do method for the execute operation.
bool mIsAnimating
Whether an animation is currently playing.
WINDOW_TYPE_e mType
The type of the window.
int mPrevCursorPos
The previous cursor position.
virtual int doDelete()
do method for the delete operation.
virtual int draw()
do method for the draw operation.
SOUND_e
The sound effect types used by the window.
int mStarCoinsRequired
The number of star coins required to unlock a hint movie.
bool mCancel
Whether the window has been cancelled (and closed).
bool mHideBG
Whether to hide the translucent background that fills the screen.
virtual int create()
do method for the create operation.
WINDOW_TYPE_e
The prompt type.
void populateLayout()
Fills out the window content according to the settings.
int mCursorPos
The current cursor position.
A wrapper for sStateMgr_c that uses sFStateFct_c and sStateIDChk_c.
#define STATE_FUNC_DECLARE(class, name)
Declares a state.