#include <view.h>
Public Member Functions | |
| View (int x, int y, int width, int height) | |
| virtual void | reinit () |
| virtual void | clear () |
| virtual void | update () |
| virtual void | update (int x, int y, int width, int height) |
| virtual void | highlight (int x, int y, int width, int height) |
| virtual void | unhighlight () |
Protected Member Functions | |
| void | drawHighlighted () |
Protected Attributes | |
| Common::Rect | _bounds |
| Common::Rect | _highlightBounds |
| bool | _highlighted |
Static Protected Attributes | |
| static Image * | _screen |
Generic base class for reflecting the state of a game object onto the screen.
|
virtual |
Hook for reinitializing when graphics reloaded.
Reimplemented in Ultima::Ultima4::TextView, and Ultima::Ultima4::TileView.
|
virtual |
Clear the view to black.
|
virtual |
Update the view to the screen.
|
virtual |
Update a piece of the view to the screen.
|
virtual |
Highlight a piece of the screen by drawing it in inverted colors.