|
| MacStaticText (MacGuiImpl::MacDialogWindow *window, Common::Rect bounds, Common::String text, bool enabled, Graphics::TextAlign alignment=Graphics::kTextAlignLeft) |
|
void | getFocus () |
|
void | loseFocus () |
|
void | setWordWrap (bool wordWrap) |
|
void | setText (Common::String text) |
|
void | setColor (uint32 fg, uint32 bg) |
|
void | draw (bool drawFocused=false) |
|
| MacWidget (MacGuiImpl::MacDialogWindow *window, Common::Rect bounds, Common::String text, bool enabled) |
|
void | setId (int id) |
|
int | getId () const |
|
void | setType (MacWidgetType type) |
|
MacWidgetType | getType () |
|
void | setVisible (bool visible) |
|
virtual void | setRedraw (bool fullRedraw=false) |
|
void | setEnabled (bool enabled) |
|
virtual void | setValue (int value) |
|
int | getValue () const |
|
Common::String | getText () const |
|
virtual bool | useBeamCursor () |
|
virtual bool | findWidget (int x, int y) const |
|
virtual bool | shouldDeferAction () |
|
virtual void | handleMouseDown (Common::Event &event) |
|
virtual bool | handleDoubleClick (Common::Event &event) |
|
virtual bool | handleMouseUp (Common::Event &event) |
|
virtual void | handleMouseMove (Common::Event &event) |
|
virtual void | handleMouseHeld () |
|
virtual void | handleWheelUp () |
|
virtual void | handleWheelDown () |
|
virtual bool | handleKeyDown (Common::Event &event) |
|
| MacGuiObject (Common::Rect bounds, bool enabled) |
|
Common::Rect | getBounds () const |
|
bool | getRedraw () const |
|
bool | isEnabled () const |
|
bool | isVisible () const |
|
|
int | drawText (Common::String text, int x, int y, int w, uint32 fg=0, uint32 bg=0, Graphics::TextAlign align=Graphics::kTextAlignLeft, bool wordWrap=false, int deltax=0) const |
|
void | drawBitmap (Common::Rect r, const uint16 *bitmap, uint32 color) const |
|
MacGuiImpl::MacDialogWindow * | _window |
|
uint32 | _black |
|
uint32 | _white |
|
int | _id = -1 |
|
MacWidgetType | _type = kWidgetUnknown |
|
bool | _fullRedraw = false |
|
Common::String | _text |
|
int | _value = 0 |
|
Common::Rect | _bounds |
|
bool | _redraw = false |
|
bool | _enabled = false |
|
bool | _visible = true |
|
The documentation for this class was generated from the following file: