ScummVM API documentation
Petka::QTextChoice Class Reference
Inheritance diagram for Petka::QTextChoice:
Petka::QText Petka::QVisibleObject

Public Member Functions

 QTextChoice (const Common::Array< Common::U32String > &choices, uint16 color, uint16 outlineColor, uint16 selectedColor)
 
void onMouseMove (Common::Point p) override
 
void onClick (Common::Point p) override
 
bool isInPoint (Common::Point p) override
 
- Public Member Functions inherited from Petka::QText
 QText (const Common::U32String &text, uint16 textColor, uint16 outlineColor)
 
void draw ()
 
void update (int time)
 
const Common::RectgetRect ()
 
- Public Member Functions inherited from Petka::QVisibleObject
virtual void updateZ ()
 
virtual void show (bool v)
 
virtual void setPos (Common::Point p, bool center)
 

Additional Inherited Members

- Public Attributes inherited from Petka::QVisibleObject
int32 _resourceId
 
int32 _z
 
- Static Protected Member Functions inherited from Petka::QText
static void drawOutline (Graphics::Surface *surface, uint16 color)
 
static Common::Rect calculateBoundingBoxForText (const Common::U32String &text, Graphics::Font &font)
 
static void drawText (Graphics::Surface &s, int y, int maxWidth, const Common::U32String &text, uint color, Graphics::Font &font, Graphics::TextAlign alignment)
 
- Protected Attributes inherited from Petka::QText
Common::Rect _rect
 

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