ScummVM API documentation
MM::MM1::Bounds Struct Reference

#include <events.h>

Public Member Functions

 Bounds (Common::Rect &innerBounds)
 
 operator const Common::Rect & () const
 
Boundsoperator= (const Common::Rect &r)
 
void setBorderSize (size_t borderSize)
 
size_t borderSize () const
 
int16 width () const
 
int16 height () const
 

Public Attributes

const int16 & left
 
const int16 & top
 
const int16 & right
 
const int16 & bottom
 

Detailed Description

Implements a thunk layer around an element's bounds, allowing access to it as if it were a simple Common::Rect, but any changes to it will also be applied to a linked inner bounds


The documentation for this struct was generated from the following file: