NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::ut::Rect Struct Reference

Description

Definition at line 10 of file ut_Rect.h.

Public Member Functions

 Rect (f32 l, f32 t, f32 r, f32 b)
 
void SetWidth (f32 width)
 
f32 GetWidth () const
 
void SetHeight (f32 height)
 
f32 GetHeight () const
 
void Normalize ()
 
void MoveTo (f32 x, f32 y)
 

Public Attributes

f32 left
 
f32 top
 
f32 right
 
f32 bottom
 

Constructor & Destructor Documentation

◆ Rect() [1/2]

nw4r::ut::Rect::Rect ( )
inline

Definition at line 16 of file ut_Rect.h.

◆ Rect() [2/2]

nw4r::ut::Rect::Rect ( f32 l,
f32 t,
f32 r,
f32 b )
inline

Definition at line 17 of file ut_Rect.h.

◆ ~Rect()

nw4r::ut::Rect::~Rect ( )
inline

Definition at line 18 of file ut_Rect.h.

Member Function Documentation

◆ SetWidth()

void nw4r::ut::Rect::SetWidth ( f32 width)
inline

Definition at line 20 of file ut_Rect.h.

◆ GetWidth()

f32 nw4r::ut::Rect::GetWidth ( ) const
inline

Definition at line 23 of file ut_Rect.h.

◆ SetHeight()

void nw4r::ut::Rect::SetHeight ( f32 height)
inline

Definition at line 27 of file ut_Rect.h.

◆ GetHeight()

f32 nw4r::ut::Rect::GetHeight ( ) const
inline

Definition at line 30 of file ut_Rect.h.

◆ Normalize()

void nw4r::ut::Rect::Normalize ( )
inline

Definition at line 34 of file ut_Rect.h.

◆ MoveTo()

void nw4r::ut::Rect::MoveTo ( f32 x,
f32 y )
inline

Definition at line 46 of file ut_Rect.h.

Member Data Documentation

◆ left

f32 nw4r::ut::Rect::left

Definition at line 11 of file ut_Rect.h.

◆ top

f32 nw4r::ut::Rect::top

Definition at line 12 of file ut_Rect.h.

◆ right

f32 nw4r::ut::Rect::right

Definition at line 13 of file ut_Rect.h.

◆ bottom

f32 nw4r::ut::Rect::bottom

Definition at line 14 of file ut_Rect.h.