3#include <game/bases/d_base.hpp>
4#include <game/bases/d_lytbase.hpp>
5#include <game/bases/d_2d/multi.hpp>
101 void SetPane(
const nw4r::lyt::Pane *pane,
int layoutId,
bool forceTopDrawOrder);
106 void SetAlpha(
const nw4r::lyt::Pane *pane,
int layoutId);
dBase_c()
Constructs a new base.
A cursor layout instance.
mVec2_c mPaneGlbMtxScale
The scale of the parent pane's global matrix.
u8 mPaneBasePosH
The horizontal base position of the parent pane. Value is a nw4r::lyt::HorizontalPosition.
LytBase_c mBase
The layout of the instance.
nw4r::lyt::Size mPaneSize
The size of the parent pane.
int mPaneAlpha
The opacity of the layout.
nw4r::lyt::Pane * mpNullPanes[N_COUNT]
The null panes of the view.
bool mDoFade
Whether the layout should be faded out and deactivated.
u8 mPaneBasePosV
The vertical base position of the parent pane. Value is a nw4r::lyt::VerticalPosition.
char mPaneName[100]
The name of the parent pane.
nw4r::lyt::Pane * mpRootPane
The root pane of the view.
nw4r::lyt::Picture * mpPicturePanes[P_COUNT]
The picture panes of the view.
mVec2_c mPaneGlbMtxTrans
The translation of the parent pane's global matrix.
bool mIsActive
Whether the layout is drawn.
mVec2_c mRootPaneOffset
Additional offset from the layout root pane.
float m_254
Only set to 0, never read.
nw4r::lyt::Size mPaneOffset
The offset of the parent pane.
void PosSet(int layoutId)
Updates the position of an attached cursor layout.
void Cancel(int layoutId)
Deactivates and hides the specified cursor layout.
dSelectCursor_c()
Constructs a new base.
int execute()
do method for the execute operation.
bool mHasLoadedLayout
Whether the layout has been loaded.
ANIM_e
The animations used in the layout.
int doDelete()
do method for the delete operation.
LAYOUT_e
The possible cursor slots.
void SetPane(const nw4r::lyt::Pane *pane, int layoutId, bool forceTopDrawOrder)
Attaches a cursor to the given pane.
void SetAlpha(const nw4r::lyt::Pane *pane, int layoutId)
Sets the alpha of a cursor to match the given pane.
virtual ~dSelectCursor_c()
Destroys the base.
Layout_c mLayouts[LAYOUT_COUNT]
The cursor layout instances.
N_PANE_e
The null panes used in the layout.
P_PANE_e
The picture panes used in the layout.
d2d::ResAccMultLoader_c mResLoader
The resource loader for the layout.
int create()
do method for the create operation.
static dSelectCursor_c * m_instance
The static instance of the selection cursor manager.
int draw()
do method for the draw operation.
A two-dimensional floating point vector.