ScummVM API documentation
BladeRunner::UIImagePicker Class Reference

Public Member Functions

 UIImagePicker (BladeRunnerEngine *vm, int imageCount)
 
void resetImages ()
 
bool defineImage (int i, Common::Rect rect, const Shape *shapeUp, const Shape *shapeHovered, const Shape *shapeDown, const char *tooltip)
 
bool setImageTop (int i, int top)
 
bool setImageLeft (int i, int left)
 
bool setImageWidth (int i, int16 width)
 
bool setImageShapeUp (int i, const Shape *shapeUp)
 
bool setImageShapeHovered (int i, const Shape *shapeHovered)
 
bool setImageShapeDown (int i, const Shape *shapeDown)
 
bool setImageTooltip (int i, const char *tooltip)
 
int getImageTop (int i)
 
int getImageLeft (int i)
 
int getImageWidth (int i)
 
bool resetActiveImage (int i)
 
void activate (UIImagePickerCallback *mouseInCallback, UIImagePickerCallback *mouseOutCallback, UIImagePickerCallback *mouseDownCallback, UIImagePickerCallback *mouseUpCallback, void *callbackData)
 
void deactivate ()
 
void draw (Graphics::Surface &surface)
 
void drawTooltip (Graphics::Surface &surface, int x, int y)
 
bool handleMouseAction (int x, int y, bool down, bool up, bool ignore=false)
 
void resetImage (int i)
 
bool hasHoveredImage ()
 
void reset ()
 

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