|
|
| ButtonWidget (int x, int y, Common::String txt, bool gamefont, int font, uint32 mouseOverBlendCol=0, int width=0, int height=0, int32 layer=LAYER_NORMAL) |
| |
|
| ButtonWidget (int x, int y, FrameID frame_up, FrameID frame_down, bool mouseOver=false, int32 layer=LAYER_NORMAL) |
| |
| void | InitGump (Gump *newparent, bool take_focus=true) override |
| |
| uint16 | TraceObjId (int32 mx, int32 my) override |
| | Trace a click, and return ObjId. More...
|
| |
| bool | PointOnGump (int mx, int my) override |
| | Detect if a point is on the gump. More...
|
| |
| Gump * | onMouseDown (int button, int32 mx, int32 my) override |
| |
| void | onMouseUp (int button, int32 mx, int32 my) override |
| |
| void | onMouseClick (int button, int32 mx, int32 my) override |
| |
| void | onMouseDouble (int button, int32 mx, int32 my) override |
| |
| void | onMouseOver () override |
| |
| void | onMouseLeft () override |
| |
|
int | getVlead () |
| | return the textwidget's vlead, or 0 for an image button
|
| |
|
bool | loadData (Common::ReadStream *rs, uint32 version) |
| |
| void | saveData (Common::WriteStream *ws) override |
| |
|
| Gump (int x, int y, int width, int height, uint16 owner=0, uint32 flags=0, int32 layer=LAYER_NORMAL) |
| |
|
virtual void | CreateNotifier () |
| |
|
void | SetNotifyProcess (GumpNotifyProcess *proc) |
| |
|
GumpNotifyProcess * | GetNotifyProcess () |
| |
|
uint32 | GetResult () |
| |
|
void | SetResult (uint32 res) |
| |
|
void | SetShape (const Shape *shape, uint32 frameNum) |
| | Set the Gump's shape/frame.
|
| |
|
void | SetShape (FrameID frame, bool adjustsize=false) |
| |
|
void | UpdateDimsFromShape () |
| | Update the width/height to match the gump's current shape frame.
|
| |
|
void | Set_frameNum (uint32 frameNum) |
| | Set the Gump's frame.
|
| |
| virtual void | InitGump (Gump *newparent, bool take_focus=true) |
| |
| virtual Gump * | FindGump (FindGumpPredicate predicate, bool recursive=true) |
| |
| template<class T > |
| Gump * | FindGump (bool recursive=true) |
| |
| virtual Gump * | FindGump (int mx, int my) |
| |
| virtual bool | GetMouseCursor (int32 mx, int32 my, Shape &shape, int32 &frame) |
| |
|
virtual void | RenderSurfaceChanged () |
| |
| virtual void | run () |
| | Run the gump. More...
|
| |
| virtual void | CloseItemDependents () |
| |
| virtual void | Paint (RenderSurface *surf, int32 lerp_factor, bool scaled) |
| |
| virtual void | PaintCompositing (RenderSurface *surf, int32 lerp_factor, int32 scalex, int32 scaley) |
| |
| virtual void | Close (bool no_del=false) |
| |
|
bool | IsClosing () const |
| | Check to see if a Gump is Closing.
|
| |
| virtual void | Move (int32 x, int32 y) |
| | Move this gump. More...
|
| |
|
virtual void | MoveRelative (int x, int y) |
| | Move this gump relative to its current position.
|
| |
|
void | getLocation (int32 &x, int32 &y) const |
| |
|
virtual void | setRelativePosition (Position pos, int xoffset=0, int yoffset=0) |
| | Moves this gump to a relative location on the parent gump.
|
| |
|
const Common::Rect32 & | getDims () const |
| | Get the _dims.
|
| |
|
void | setDims (const Common::Rect32 &d) |
| | Set the _dims.
|
| |
| virtual bool | PointOnGump (int mx, int my) |
| | Detect if a point is on the gump. More...
|
| |
|
virtual void | ScreenSpaceToGump (int32 &sx, int32 &sy, PointRoundDir r=ROUND_TOPLEFT) |
| | Convert a screen space point to a gump point.
|
| |
|
virtual void | GumpToScreenSpace (int32 &gx, int32 &gy, PointRoundDir r=ROUND_TOPLEFT) |
| | Convert a gump point to a screen space point.
|
| |
| virtual void | ParentToGump (int32 &px, int32 &py, PointRoundDir r=ROUND_TOPLEFT) |
| | Convert a parent relative point to a gump point. More...
|
| |
| virtual void | GumpToParent (int32 &gx, int32 &gy, PointRoundDir r=ROUND_TOPLEFT) |
| | Convert a gump point to parent relative point. More...
|
| |
|
virtual void | GumpRectToScreenSpace (Common::Rect32 &gr, RectRoundDir r=ROUND_OUTSIDE) |
| | Transform a rectangle to screenspace from gumpspace.
|
| |
|
virtual void | ScreenSpaceToGumpRect (Common::Rect32 &sr, RectRoundDir r=ROUND_OUTSIDE) |
| | Transform a rectangle to gumpspace from screenspace.
|
| |
| virtual uint16 | TraceObjId (int32 mx, int32 my) |
| | Trace a click, and return ObjId. More...
|
| |
| virtual bool | GetLocationOfItem (uint16 itemid, int32 &gx, int32 &gy, int32 lerp_factor=256) |
| |
|
virtual Gump * | onMouseDown (int button, int32 mx, int32 my) |
| |
|
virtual void | onMouseUp (int button, int32 mx, int32 my) |
| |
|
virtual void | onMouseClick (int button, int32 mx, int32 my) |
| |
|
virtual void | onMouseDouble (int button, int32 mx, int32 my) |
| |
|
virtual Gump * | onMouseMotion (int32 mx, int32 my) |
| |
|
virtual void | onMouseOver () |
| |
|
virtual void | onMouseLeft () |
| |
|
virtual bool | OnKeyDown (int key, int mod) |
| |
|
virtual bool | OnKeyUp (int key) |
| |
|
virtual bool | OnTextInput (int unicode) |
| |
|
virtual void | OnFocus (bool) |
| |
|
virtual void | MakeFocus () |
| |
|
bool | IsFocus () |
| |
|
Gump * | GetFocusChild () |
| |
|
void | FindNewFocusChild () |
| |
|
virtual void | AddChild (Gump *, bool take_focus=true) |
| | Add a gump to the child list.
|
| |
|
virtual void | RemoveChild (Gump *) |
| | Remove a gump from the child list.
|
| |
|
virtual void | MoveChildToFront (Gump *) |
| | Move child to front (within its layer)
|
| |
|
Gump * | GetParent () |
| | Get the parent.
|
| |
|
Gump * | GetRootGump () |
| | Get the root gump (or self)
|
| |
| virtual void | ChildNotify (Gump *child, uint32 message) |
| |
|
void | SetIndex (int32 i) |
| |
|
int32 | GetIndex () const |
| |
| virtual bool | onDragStart (int32 mx, int32 my) |
| |
|
virtual void | onDragStop (int32 mx, int32 my) |
| |
|
virtual void | onDrag (int32 mx, int32 my) |
| |
| virtual bool | StartDraggingItem (Item *item, int mx, int my) |
| |
| virtual bool | DraggingItem (Item *item, int mx, int my) |
| |
| virtual void | DraggingItemLeftGump (Item *item) |
| | Called when an item that was being dragged over the gump left the gump. More...
|
| |
| virtual void | StopDraggingItem (Item *item, bool moved) |
| |
| virtual void | DropItem (Item *item, int mx, int my) |
| |
|
bool | hasFlags (uint flags) const |
| | Does this gump have any of the given flags mask set.
|
| |
|
bool | IsHidden () const |
| |
|
bool | IsDraggable () const |
| |
|
virtual void | HideGump () |
| |
|
virtual void | UnhideGump () |
| |
|
void | SetVisibility (bool visible) |
| |
|
bool | mustSave (bool toplevel) const |
| |
|
bool | loadData (Common::ReadStream *rs, uint32 version) |
| |
| void | saveData (Common::WriteStream *ws) override |
| |
|
ObjId | getObjId () const |
| | get this Object's objID
|
| |
| virtual ObjId | assignObjId () |
| |
| virtual void | clearObjId () |
| | Clear objID of self and contents (if any) More...
|
| |
| virtual Common::String | dumpInfo () const |
| | dump some info about this object to a string More...
|
| |
| ProcId | callUsecode (uint16 classid, uint16 offset, const uint8 *args=0, int argsize=0) |
| |
|
bool | loadData (Common::ReadStream *rs, uint32 version) |
| |
|
virtual void | saveData (Common::WriteStream *ws) |
| |