#include <title_background.h>
Public Member Functions | |
bool | msgGame (const GameMessage &msg) override |
void | draw () override |
![]() | |
View (const Common::String &name, UIElement *uiParent) | |
View (const Common::String &name) | |
bool | msgFocus (const FocusMessage &msg) override |
bool | msgUnfocus (const UnfocusMessage &msg) override |
bool | msgMouseMove (const MouseMoveMessage &msg) override |
bool | msgMouseDown (const MouseDownMessage &msg) override |
bool | msgMouseUp (const MouseUpMessage &msg) override |
![]() | |
UIElement (const Common::String &name, UIElement *uiParent) | |
UIElement (const Common::String &name) | |
bool | needsRedraw () const |
void | redraw () |
virtual void | close () |
virtual void | replaceView (UIElement *ui, bool replaceAllViews=false, bool fadeOutIn=false) |
virtual void | replaceView (const Common::String &name, bool replaceAllViews=false, bool fadeOutIn=false) |
virtual void | addView (UIElement *ui) |
virtual void | addView (const Common::String &name) |
void | addView () |
void | open () |
int | getRandomNumber (int minNumber, int maxNumber) |
int | getRandomNumber (int maxNumber) |
virtual void | setBounds (const Common::Rect &r) |
Common::Rect | getBounds () const |
const Common::String & | getName () const |
Gfx::GfxSurface | getSurface (bool innerBounds=false) const |
virtual bool | tick () |
virtual UIElement * | findView (const Common::String &name) |
bool | send (const MouseMoveMessage &msg) |
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 MouseEnterMessage &msg) |
bool | send (const MouseEnterMessage &msg) |
bool | send (const Common::String &viewName, const MouseLeaveMessage &msg) |
bool | send (const MouseLeaveMessage &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 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 ValueMessage &msg) |
bool | send (const ValueMessage &msg) |
Additional Inherited Members | |
![]() | |
void | playSound (int index, bool priority_override) |
void | playSound (const Gfx::GraphicChunk &src) |
void | musicPlay (int num, bool override) |
void | musicPlay (const char *name, bool override) |
void | musicPause () |
void | musicResume () |
void | musicStop () |
bool | musicIsOn () const |
void | fadeOut () |
void | fadeIn (const byte *pal=nullptr) |
![]() | |
bool | isDelayActive () const |
void | cancelDelay () |
virtual void | timeout () |
virtual bool | msgMouseEnter (const MouseEnterMessage &e) |
virtual bool | msgMouseLeave (const MouseLeaveMessage &e) |
virtual bool | msgKeypress (const KeypressMessage &e) |
virtual bool | msgAction (const ActionMessage &e) |
virtual bool | msgValue (const ValueMessage &e) |
![]() | |
UIElement * | _parent |
Common::Array< UIElement * > | _children |
Common::Rect | _innerBounds |
Bounds | _bounds |
bool | _needsRedraw = true |
Common::String | _name |
This view provides the green background for the main menu and other dialogs on the title screen
|
overridevirtual |
Draws the element
Reimplemented from Got::UIElement.