|
|
void | flee () override |
| |
| bool | canSwitchChar () override |
| |
| bool | selectCharByDefault () const override |
| |
| virtual void | viewAction () |
| |
| void | addText (const Common::String &str) |
| |
| void | clearButtons () |
| |
| void | addButton (const Common::String &str, char c) |
| |
| void | writeLine (int lineNum, const Common::String &str, TextAlign align=ALIGN_LEFT, int xp=0) |
| |
| void | writeLine (int lineNum, int value, TextAlign align=ALIGN_LEFT, int xp=0) |
| |
| virtual bool | canSwitchToChar (Character *dst) |
| |
| virtual void | charSwitched (Character *priorChar) |
| |
| void | frame () |
| |
| void | fill () |
| |
| void | writeSymbol (int symbolId) |
| |
| int | getButtonAt (const Common::Point &pos) |
| |
| size_t | getButtonCount () const |
| |
| void | drawButtons () |
| |
| byte | setTextColor (byte col) |
| |
| void | writeChar (unsigned char c) |
| |
|
void | writeChar (int x, int y, unsigned char c) |
| |
| void | writeString (const Common::String &str, TextAlign align=ALIGN_LEFT) |
| |
|
void | writeString (int x, int y, const Common::String &str, TextAlign align=ALIGN_LEFT) |
| |
| void | writeNumber (int val) |
| |
|
void | writeNumber (int x, int y, int val) |
| |
| void | writeLine (int lineNum, const Common::String &str, TextAlign align=ALIGN_LEFT, int xp=0) |
| |
| size_t | getStringWidth (const Common::String &str) |
| |
| Common::String | truncateString (const Common::String &str, int maxWidth) |
| |
| void | newLine () |
| |
| Common::StringArray | splitLines (const Common::String &str, int firstLineWidth=-1) |
| |
| void | clearSurface () override |
| |
|
void | drawGraphic (int gfxNum) |
| |
|
Common::Rect | getLineBounds (int line1, int line2) const |
| |
| void | delaySeconds (uint seconds) |
| |
| void | delayFrames (uint frames) |
| |
| bool | isDelayActive () const |
| |
| void | cancelDelay () |
| |
| bool | endDelay () |
| |
|
virtual bool | msgMouseMove (const MouseMoveMessage &e) |
| |
|
virtual bool | msgHeader (const HeaderMessage &e) |
| |
|
virtual bool | msgInfo (const InfoMessage &e) |
| |
|
virtual bool | msgDrawGraphic (const DrawGraphicMessage &e) |
| |
|
|
| Prisoner (const Common::String &name, int portrait, const Common::String &line1, byte flag, Alignment freeAlignment, Alignment leaveAlignment) |
| |
|
bool | msgFocus (const FocusMessage &msg) override |
| |
| bool | msgKeypress (const KeypressMessage &msg) override |
| |
| void | timeout () override |
| |
|
| Interaction (const Common::String &name, int portrait=-1) |
| |
| bool | msgGame (const GameMessage &msg) override |
| |
| bool | msgUnfocus (const UnfocusMessage &msg) override |
| |
| void | draw () override |
| |
| bool | tick () override |
| |
| void | leave () |
| |
| bool | msgAction (const ActionMessage &msg) override |
| |
| bool | msgMouseDown (const MouseDownMessage &msg) override |
| |
|
| PartyView (const Common::String &name) |
| |
|
| PartyView (const Common::String &name, UIElement *owner) |
| |
| void | draw () override |
| |
|
bool | msgFocus (const FocusMessage &msg) override |
| |
|
bool | msgUnfocus (const UnfocusMessage &msg) override |
| |
|
bool | msgMouseDown (const MouseDownMessage &msg) override |
| |
|
bool | msgGame (const GameMessage &msg) override |
| |
|
bool | msgAction (const ActionMessage &msg) override |
| |
|
| ScrollView (const Common::String &name) |
| |
|
| ScrollView (const Common::String &name, UIElement *owner) |
| |
| void | clearButtons () |
| |
| int | addButton (Shared::Xeen::SpriteResource *sprites, const Common::Point &pos, int frame, const Common::KeyState &key, bool halfSize=false) |
| |
| int | addButton (Shared::Xeen::SpriteResource *sprites, const Common::Point &pos, int frame, KeybindingAction action, bool halfSize=false) |
| |
| int | addButton (const Common::Rect &r, const Common::KeyState &key) |
| |
| int | addButton (const Common::Rect &r, KeybindingAction action) |
| |
| void | setButtonEnabled (int buttonNum, bool enabled) |
| |
| bool | isButtonEnabled (int buttonNum) const |
| |
| void | setButtonPos (int buttonNum, const Common::Point &pos) |
| |
| void | removeButtons (int start, int end=-2) |
| |
| void | resetSelectedButton () |
| |
| void | draw () override |
| |
| bool | msgFocus (const FocusMessage &msg) override |
| |
| bool | msgMouseDown (const MouseDownMessage &msg) override |
| |
| bool | msgMouseUp (const MouseUpMessage &msg) override |
| |
|
| TextView (const Common::String &name) |
| |
|
| TextView (const Common::String &name, UIElement *owner) |
| |
| void | setReduced (bool flag) |
| |
|
| UIElement (const Common::String &name, UIElement *uiParent) |
| |
| bool | needsRedraw () const |
| |
| void | redraw () |
| |
| void | focus () |
| |
| virtual void | close () |
| |
|
bool | isFocused () const |
| |
| void | replaceView (UIElement *ui, bool replaceAllViews=false) |
| |
|
void | replaceView (const Common::String &name, bool replaceAllViews=false) |
| |
| void | addView (UIElement *ui) |
| |
|
void | addView (const Common::String &name) |
| |
|
void | addView () |
| |
|
void | open () |
| |
| int | getRandomNumber (int minNumber, int maxNumber) |
| |
|
int | getRandomNumber (int maxNumber) |
| |
| Common::String | getName () const |
| |
| virtual void | setBounds (const Common::Rect &r) |
| |
| Common::Rect | getBounds () const |
| |
| Graphics::ManagedSurface | getSurface () const |
| |
| virtual UIElement * | findView (const Common::String &name) |
| |
|
bool | send (const Common::String &viewName, const FocusMessage &msg) |
| |
|
bool | send (const FocusMessage &msg) |
| |
|
bool | send (const Common::String &viewName, const UnfocusMessage &msg) |
| |
|
bool | send (const UnfocusMessage &msg) |
| |
|
bool | send (const Common::String &viewName, const KeypressMessage &msg) |
| |
|
bool | send (const KeypressMessage &msg) |
| |
|
bool | send (const Common::String &viewName, const MouseDownMessage &msg) |
| |
|
bool | send (const MouseDownMessage &msg) |
| |
|
bool | send (const Common::String &viewName, const MouseUpMessage &msg) |
| |
|
bool | send (const MouseUpMessage &msg) |
| |
|
bool | send (const Common::String &viewName, const MouseMoveMessage &msg) |
| |
|
bool | send (const MouseMoveMessage &msg) |
| |
|
bool | send (const Common::String &viewName, const ActionMessage &msg) |
| |
|
bool | send (const ActionMessage &msg) |
| |
|
bool | send (const Common::String &viewName, const GameMessage &msg) |
| |
|
bool | send (const GameMessage &msg) |
| |
|
bool | send (const Common::String &viewName, const HeaderMessage &msg) |
| |
|
bool | send (const HeaderMessage &msg) |
| |
|
bool | send (const Common::String &viewName, const InfoMessage &msg) |
| |
|
bool | send (const InfoMessage &msg) |
| |
|
bool | send (const Common::String &viewName, const DrawGraphicMessage &msg) |
| |
|
bool | send (const DrawGraphicMessage &msg) |
| |
|
Common::String | _title |
| |
|
Common::StringArray | _lines |
| |
|
Common::Array< InteractionButton > | _buttons |
| |
|
bool | _animated = true |
| |
|
int | _portraitNum = 0 |
| |
|
int | _selectedButton = -1 |
| |
|
Common::Point | _symbolPos |
| |
|
Common::Point | _textPos |
| |
|
int | _colorsNum = 0 |
| |
|
bool | _fontReduced = false |
| |
|
UIElement * | _parent |
| |
|
Common::Array< UIElement * > | _children |
| |
|
Common::Rect | _innerBounds |
| |
|
Bounds | _bounds |
| |
|
bool | _needsRedraw = true |
| |
|
Common::String | _name |
| |