ScummVM API documentation
MTropolis::VisualElementRenderProperties Class Reference

Public Types

enum  InkMode {
  kInkModeCopy = 0x0, kInkModeTransparent = 0x1, kInkModeGhost = 0x3, kInkModeReverseCopy = 0x4,
  kInkModeReverseGhost = 0x7, kInkModeReverseTransparent = 0x9, kInkModeBlend = 0x20, kInkModeBackgroundTransparent = 0x24,
  kInkModeChameleonDark = 0x25, kInkModeChameleonLight = 0x27, kInkModeBackgroundMatte = 0x224, kInkModeInvisible = 0xffff,
  kInkModeXor = 0x7ffffff0, kInkModeDefault = 0x7fffffff
}
 
enum  Shape {
  kShapeRect = 0x1, kShapeRoundedRect = 0x2, kShapeOval = 0x3, kShapePolygon = 0x9,
  kShapeStar = 0xb, kShapeObsidianCanvasPuzzleTri1 = 0x7ffffff1, kShapeObsidianCanvasPuzzleTri2 = 0x7ffffff2, kShapeObsidianCanvasPuzzleTri3 = 0x7ffffff3,
  kShapeObsidianCanvasPuzzleTri4 = 0x7ffffff4
}
 

Public Member Functions

 VisualElementRenderProperties (const VisualElementRenderProperties &)=default
 
InkMode getInkMode () const
 
void setInkMode (InkMode inkMode)
 
Shape getShape () const
 
void setShape (Shape shape)
 
const ColorRGB8getForeColor () const
 
void setForeColor (const ColorRGB8 &color)
 
const ColorRGB8getBackColor () const
 
void setBackColor (const ColorRGB8 &color)
 
const ColorRGB8getBorderColor () const
 
void setBorderColor (const ColorRGB8 &color)
 
const ColorRGB8getShadowColor () const
 
void setShadowColor (const ColorRGB8 &color)
 
uint16 getBorderSize () const
 
void setBorderSize (uint16 size)
 
uint16 getShadowSize () const
 
void setShadowSize (uint16 size)
 
const Common::Array< Common::Point > & getPolyPoints () const
 
Common::Array< Common::Point > & modifyPolyPoints ()
 
bool isDirty () const
 
void clearDirty ()
 
VisualElementRenderPropertiesoperator= (const VisualElementRenderProperties &other)
 

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