Public Types | |
enum | { CONVERSATION_MAX_CHOICES = 4 } |
Public Types inherited from MutationOfJB::Widget | |
enum | : uint { DIRTY_NONE = 0, DIRTY_ALL = 0xFFFFFFFF } |
Public Member Functions | |
ConversationWidget (GuiScreen &gui, const Common::Rect &area, const Graphics::Surface &surface) | |
void | setCallback (ConversationWidgetCallback *callback) |
void | setChoice (int choiceNo, const Common::String &str, uint32 data=0) |
void | clearChoices () |
void | handleEvent (const Common::Event &event) override |
Public Member Functions inherited from MutationOfJB::Widget | |
Widget (GuiScreen &gui, const Common::Rect &area) | |
int | getId () const |
void | setId (int id) |
bool | isVisible () const |
void | setVisible (bool visible) |
bool | isEnabled () const |
void | setEnabled (bool enabled) |
Common::Rect | getArea () const |
void | setArea (const Common::Rect &area) |
bool | isDirty () const |
void | markDirty (uint32 dirtyBits=DIRTY_ALL) |
void | update (Graphics::ManagedSurface &) |
Protected Member Functions | |
void | draw (Graphics::ManagedSurface &surface) override |
Additional Inherited Members | |
Protected Attributes inherited from MutationOfJB::Widget | |
GuiScreen & | _gui |
Common::Rect | _area |
int | _id |
bool | _visible |
bool | _enabled |
uint32 | _dirtyBits |