ScummVM API documentation
Ultima::Ultima4::ImageView Class Reference

#include <imageview.h>

Inheritance diagram for Ultima::Ultima4::ImageView:
Ultima::Ultima4::View

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
 

Detailed Description

A view for displaying bitmap images.

Member Function Documentation

◆ draw()

void Ultima::Ultima4::ImageView::draw ( const Common::String imageName,
int  x = 0,
int  y = 0 
)

Draw the image at the optionally specified offset.


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