3#include <game/bases/d_2d/resource.hpp>
4#include <game/mLib/m_2d.hpp>
5#include <game/mLib/m_vec.hpp>
15 mEnabled = other.mEnabled;
virtual ~Multi_c()
Destroys the layout.
void calcAfter()
Calculates the view rectangle and view matrix after the main calculation.
m2d::Layout_c mLayout
The layout instance.
ScissorMask mScissorMask
The scissor mask for the layout.
virtual void draw()
Draws the layout.
void entry()
Registers the layout to be drawn.
nw4r::lyt::Picture * findPictureByName(const char *name)
Finds a picture pane by name.
virtual void calc()
Applies the view matrix.
nw4r::lyt::DrawInfo mDrawInfo
The parameters for drawing the layout.
u32 mFlags
The flags for the layout.
nw4r::lyt::TextBox * findTextBoxByName(const char *name)
Finds a text box pane by name.
nw4r::lyt::Pane * getRootPane()
Gets the root pane of the layout.
ResAccMult_c * mpResAccessor
The resource accessor for the layout.
void calcBefore()
Calculates an animation step before the main calculation.
nw4r::lyt::Pane * findPaneByName(const char *name)
Finds a pane by name.
Multi_c()
Creates a layout.
virtual bool build(const char *name, ResAccMult_c *resAcc)
Builds the layout from a binary layout file.
mVec2_c mPos
The position of the layout.
nw4r::lyt::Window * findWindowByName(const char *name)
Finds a window pane by name.
A two-dimensional floating point vector.
2D engine namespace. Deals with drawing anything 2D, like the HUD and small scores.
Stores clipping settings for a layout.