mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
MxVideoPresenter functions (#187)
* mxvideopresenter * Update mxvideopresenter.cpp * use inline getter for rectange width/height * Update mxvideopresenter.cpp * Match MxVideoPresenter::Destroy to ~88% --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -17,6 +17,16 @@ public:
|
||||
MxS32 m_top;
|
||||
MxS32 m_right;
|
||||
MxS32 m_bottom;
|
||||
|
||||
inline MxS32 GetWidth()
|
||||
{
|
||||
return (m_right - m_left) + 1;
|
||||
}
|
||||
|
||||
inline MxS32 GetHeight()
|
||||
{
|
||||
return (m_bottom - m_top) + 1;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // MXRECT32_H
|
||||
|
Reference in New Issue
Block a user