|
|
| MacWidget (MacWidget *parent, int x, int y, int w, int h, MacWindowManager *wm, bool focusable, uint16 border=0, uint16 gutter=0, uint16 shadow=0, uint32 fgcolor=0, uint32 bgcolor=0xff) |
| |
| const Common::Rect & | getDimensions () |
| |
| virtual void | setActive (bool active) |
| |
| void | setDirty (bool dirty) |
| |
|
virtual bool | needsRedraw () |
| |
|
virtual bool | draw (ManagedSurface *g, bool forceRedraw=false) |
| |
|
virtual bool | draw (bool forceRedraw=false) |
| |
|
virtual void | blit (ManagedSurface *g, Common::Rect &dest) |
| |
|
virtual bool | processEvent (Common::Event &event) |
| |
|
virtual bool | hasAllFocus () |
| |
|
virtual bool | isEditable () |
| |
|
virtual void | setColors (uint32 fg, uint32 bg) |
| |
|
virtual void | setBorderColor (uint32 color) |
| |
|
virtual void | setDimensions (const Common::Rect &r) |
| |
|
Common::Point | getAbsolutePos () |
| |
|
MacWidget * | findEventHandler (Common::Event &event, int dx, int dy) |
| |
|
void | removeWidget (MacWidget *child, bool del=true) |
| |
|
Graphics::ManagedSurface * | getSurface () |
| |
|
|
uint16 | _border |
| |
|
uint16 | _gutter |
| |
|
uint16 | _shadow |
| |
|
uint32 | _borderColor |
| |
|
uint32 | _fgcolor |
| |
|
uint32 | _bgcolor |
| |
|
Graphics::ManagedSurface * | _composeSurface |
| |
|
bool | _contentIsDirty |
| |
◆ getDimensions()
Accessor method for the complete dimensions of the widget.
- Returns
- Dimensions of the widget relative to the parent's position.
◆ setActive()
| virtual void Graphics::MacWidget::setActive |
( |
bool |
active | ) |
|
|
virtual |
◆ setDirty()
| void Graphics::MacWidget::setDirty |
( |
bool |
dirty | ) |
|
|
inline |
Method for marking the widget for redraw.
- Parameters
-
| dirty | True if the widget needs to be redrawn. |
The documentation for this class was generated from the following file: