mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 01:14:19 +00:00
Implement FUN_100b6e10 and MxRect32 adjustments (#390)
* Some WIP rect * Adjustments to MxRect32 * Spacing * Changes * Spacing * Spacing
This commit is contained in:
committed by
GitHub
parent
b4b73465d0
commit
bb22b21260
@@ -6,13 +6,13 @@
|
||||
class MxSize32 {
|
||||
public:
|
||||
MxSize32() {}
|
||||
MxSize32(MxS32 p_width, MxS32 p_height) { Assign(p_width, p_height); }
|
||||
MxSize32(MxS32 p_width, MxS32 p_height) { CopyFrom(p_width, p_height); }
|
||||
|
||||
inline MxS32 GetWidth() const { return m_width; }
|
||||
inline MxS32 GetHeight() const { return m_height; }
|
||||
|
||||
private:
|
||||
inline void Assign(MxS32 p_width, MxS32 p_height)
|
||||
inline void CopyFrom(MxS32 p_width, MxS32 p_height)
|
||||
{
|
||||
this->m_width = p_width;
|
||||
this->m_height = p_height;
|
||||
|
||||
Reference in New Issue
Block a user