#include <imageview.h>
Public Member Functions | |
ImageView (int x=0, int y=0, int width=320, int height=200) | |
void | draw (const Common::String &imageName, int x=0, int y=0) |
Public Member Functions inherited from Ultima::Ultima4::View | |
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 () |
Additional Inherited Members | |
Protected Member Functions inherited from Ultima::Ultima4::View | |
void | drawHighlighted () |
Protected Attributes inherited from Ultima::Ultima4::View | |
Common::Rect | _bounds |
Common::Rect | _highlightBounds |
bool | _highlighted |
Static Protected Attributes inherited from Ultima::Ultima4::View | |
static Image * | _screen |
A view for displaying bitmap images.
void Ultima::Ultima4::ImageView::draw | ( | const Common::String & | imageName, |
int | x = 0 , |
||
int | y = 0 |
||
) |
Draw the image at the optionally specified offset.