|
| ResizableControl (Gwk::Control::Base *parent) |
|
virtual void | SetClampMovement (bool shouldClamp) |
|
virtual bool | GetClampMovement () |
|
virtual void | SetMinimumSize (const Gwk::Point &minSize) |
|
Gwk::Point | GetMinimumSize () override |
|
virtual void | DisableResizing () |
|
bool | SetBounds (int x, int y, int w, int h) override |
|
virtual void | OnResized () |
|
virtual ControlsInternal::Resizer * | GetResizer (int iResizer) |
|
| Base (Base *parent, const Gwk::String &Name="") |
|
virtual const char * | GetTypeName () const |
|
virtual const char * | GetParentTypeName () const |
|
virtual void | DelayedDelete () |
|
virtual void | PreDelete (Gwk::Skin::Base *skin) |
|
virtual void | SetParent (Controls::Base *parent) |
|
virtual Controls::Base * | GetParent () const |
|
virtual Controls::Canvas * | GetCanvas () |
|
virtual Base::List & | GetChildren () |
|
virtual bool | IsChild (Controls::Base *child) |
|
virtual unsigned int | NumChildren () |
|
virtual Controls::Base * | GetChild (unsigned int i) |
|
virtual bool | SizeToChildren (bool w=true, bool h=true) |
|
virtual Gwk::Point | ChildrenSize () |
|
virtual Controls::Base * | FindChildByName (const Gwk::String &name, bool bRecursive=false) |
|
template<class T > |
T * | FindChild (const Gwk::String &name, bool bRecursive=false) |
|
virtual void | SetName (const Gwk::String &name) |
|
virtual const Gwk::String & | GetName () |
|
virtual void | Think () |
|
virtual void | RemoveAllChildren () |
|
virtual void | SendToBack (void) |
|
virtual void | BringToFront (void) |
|
virtual void | BringNextToControl (Controls::Base *child, bool bBehind) |
|
virtual Gwk::Point | LocalPosToCanvas (const Gwk::Point &in=Point(0, 0)) |
|
virtual Gwk::Point | CanvasPosToLocal (const Gwk::Point &in) |
|
virtual void | Dock (Position dock) |
|
virtual Position | GetDock () const |
|
virtual void | RestrictToParent (bool restrict) |
|
virtual bool | ShouldRestrictToParent () |
|
virtual int | X () const |
| Get X position of Control.
|
|
virtual int | Y () const |
| Get Y position of Control.
|
|
virtual int | Width () const |
| Get Control width.
|
|
virtual int | Height () const |
| Get Control height.
|
|
virtual int | Bottom () const |
|
virtual int | Right () const |
| Get right boundary of control.
|
|
virtual const Margin & | GetMargin () const |
| Get the margin of the control.
|
|
virtual const Padding & | GetPadding () const |
| Get the padding for the control.
|
|
virtual void | SetPos (int x, int y) |
|
virtual void | SetPos (const Point &p) |
|
virtual Point | GetPos () const |
|
virtual void | SetWidth (int w) |
|
virtual void | SetHeight (int h) |
|
virtual bool | SetSize (int w, int h) |
|
virtual bool | SetSize (const Point &p) |
|
virtual Point | GetSize () const |
|
virtual bool | SetBounds (const Gwk::Rect &bounds) |
|
virtual void | SetPadding (const Padding &padding) |
|
virtual void | SetMargin (const Margin &margin) |
|
virtual void | MoveTo (int x, int y) |
| MoveTo is identical to SetPos except it uses ShouldRestrictToParent().
|
|
virtual void | MoveBy (int x, int y) |
|
virtual const Gwk::Rect & | GetBounds () const |
|
virtual Controls::Base * | GetControlAt (int x, int y, bool bOnlyIfMouseEnabled=true) |
|
virtual const Gwk::Rect & | GetInnerBounds () const |
|
virtual const Gwk::Rect & | GetRenderBounds () const |
|
virtual void | DoRender (Gwk::Skin::Base *skin) |
|
virtual void | DoCacheRender (Gwk::Skin::Base *skin, Gwk::Controls::Base *master) |
|
virtual void | RenderRecursive (Gwk::Skin::Base *skin, const Gwk::Rect &cliprect) |
|
virtual bool | ShouldClip () |
|
virtual void | SetHidden (bool hidden) |
|
virtual bool | Hidden () const |
| Returns true only if this control is hidden.
|
|
virtual bool | Visible () const |
| Returns false if this control or its parents are hidden.
|
|
virtual void | Hide () |
| Make control invisible.
|
|
virtual void | Show () |
| Make control visible if hidden.
|
|
virtual void | SetSkin (Skin::Base *skin, bool doChildren=false) |
|
virtual Gwk::Skin::Base * | GetSkin (void) |
|
virtual bool | ShouldDrawBackground () |
|
virtual void | SetShouldDrawBackground (bool b) |
|
virtual void | OnMouseMoved (int x, int y, int deltaX, int deltaY) |
|
virtual bool | OnMouseWheeled (int iDelta) |
|
virtual void | OnMouseClickLeft (int, int, bool) |
|
virtual void | OnMouseClickRight (int, int, bool) |
|
virtual void | OnMouseDoubleClickLeft (int x, int y) |
|
virtual void | OnMouseDoubleClickRight (int x, int y) |
|
virtual void | OnMouseEnter () |
|
virtual void | OnMouseLeave () |
|
virtual void | OnLostKeyboardFocus () |
|
virtual void | OnKeyboardFocus () |
|
virtual void | SetMouseInputEnabled (bool b) |
|
virtual bool | GetMouseInputEnabled () |
|
virtual void | SetKeyboardInputEnabled (bool b) |
|
virtual bool | GetKeyboardInputEnabled () const |
|
virtual bool | NeedsInputChars () |
|
virtual bool | OnChar (Gwk::UnicodeChar) |
|
virtual bool | OnKeyPress (int iKey, bool bPress=true) |
|
virtual bool | OnKeyRelease (int iKey) |
|
virtual void | OnPaste (Controls::Base *) |
|
virtual void | OnCopy (Controls::Base *) |
|
virtual void | OnCut (Controls::Base *) |
|
virtual void | OnSelectAll (Controls::Base *) |
|
virtual bool | OnKeyTab (bool bDown) |
|
virtual bool | OnKeySpace (bool) |
|
virtual bool | OnKeyReturn (bool) |
|
virtual bool | OnKeyBackspace (bool) |
|
virtual bool | OnKeyDelete (bool) |
|
virtual bool | OnKeyRight (bool) |
|
virtual bool | OnKeyLeft (bool) |
|
virtual bool | OnKeyHome (bool) |
|
virtual bool | OnKeyEnd (bool) |
|
virtual bool | OnKeyUp (bool) |
|
virtual bool | OnKeyDown (bool) |
|
virtual bool | OnKeyEscape (bool) |
|
virtual bool | IsHovered () const |
|
virtual bool | ShouldDrawHover () const |
|
virtual void | Touch () |
|
virtual void | OnChildTouched (Controls::Base *child) |
|
virtual bool | IsOnTop () |
|
virtual bool | IsFocussed () |
|
virtual void | Focus () |
|
virtual void | Unfocus () |
|
virtual void | SetDisabled (bool active) |
|
virtual bool | IsDisabled () |
|
virtual void | Redraw () |
|
virtual void | UpdateColors () |
|
virtual void | EnableCacheToTexture () |
|
virtual bool | IsCachedToTexture () const |
| Query if this control is cached to a texture.
|
|
virtual void | SetCursor (unsigned char c) |
|
virtual void | UpdateCursor () |
|
virtual Gwk::Point | GetMaximumSize () |
|
virtual void | SetToolTip (const Gwk::String &strText) |
|
virtual void | SetToolTip (Base *tooltip) |
|
virtual Base * | GetToolTip () |
|
virtual bool | IsMenuComponent () |
|
virtual void | CloseMenus () |
|
virtual bool | IsTabable () |
|
virtual void | SetTabable (bool isTabable) |
|
void | DefaultAccel (Gwk::Controls::Base *) |
|
virtual void | AcceleratePressed () |
|
virtual bool | AccelOnlyFocus () |
|
virtual bool | HandleAccelerator (Gwk::String &accelerator) |
|
template<typename T > |
void | AddAccelerator (const String &accelerator, T func, Gwk::Event::Handler *handler=nullptr) |
|
void | AddAccelerator (const String &accelerator) |
|
bool | NeedsLayout () |
|
void | Invalidate () |
|
void | InvalidateParent () |
|
void | InvalidateChildren (bool bRecursive=false) |
|
void | SetPosition (Position pos, int xpadding=0, int ypadding=0) |
|
virtual void | DragAndDrop_SetPackage (bool bDraggable, const String &strName="", void *userData=nullptr) |
|
virtual bool | DragAndDrop_Draggable () |
|
virtual bool | DragAndDrop_ShouldStartDrag () |
|
virtual void | DragAndDrop_StartDragging (Gwk::DragAndDrop::Package *package, int x, int y) |
|
virtual Gwk::DragAndDrop::Package * | DragAndDrop_GetPackage (int x, int y) |
|
virtual void | DragAndDrop_EndDragging (bool, int, int) |
|
virtual void | DragAndDrop_HoverEnter (Gwk::DragAndDrop::Package *, int, int) |
|
virtual void | DragAndDrop_HoverLeave (Gwk::DragAndDrop::Package *) |
|
virtual void | DragAndDrop_Hover (Gwk::DragAndDrop::Package *, int, int) |
|
virtual bool | DragAndDrop_HandleDrop (Gwk::DragAndDrop::Package *package, int x, int y) |
|
virtual bool | DragAndDrop_CanAcceptPackage (Gwk::DragAndDrop::Package *) |
|
virtual Gwk::Controls::Base * | DynamicCast (const char *Variable) |
|
void | DoNotIncludeInSize () |
|
bool | ShouldIncludeInSize () |
|
virtual String | GetChildValue (const Gwk::String &strName) |
|
virtual String | GetValue () |
|
virtual void | SetValue (const String &strValue) |
|
virtual void | DoAction () |
|
virtual void | SetAction (Event::Handler *object, Handler::FunctionWithInformation function, const Gwk::Event::Packet &packet) |
|
virtual int | GetNamedChildren (Gwk::ControlList &list, const Gwk::String &strName, bool bDeep=true) |
|
virtual Gwk::ControlList | GetNamedChildren (const Gwk::String &strName, bool bDeep=true) |
|
Public Member Functions inherited from Gwk::Event::Handler |
void | RegisterCaller (Caller *) |
|
void | UnRegisterCaller (Caller *) |
|