Otclient  14/8/2020
UIWidget Class Reference

#include <uiwidget.h>

Inheritance diagram for UIWidget:
Collaboration diagram for UIWidget:

Public Member Functions

 UIWidget ()
 
virtual ~UIWidget ()
 
void addChild (const UIWidgetPtr &child)
 
void insertChild (int index, const UIWidgetPtr &child)
 
void removeChild (UIWidgetPtr child)
 
void focusChild (const UIWidgetPtr &child, Fw::FocusReason reason)
 
void focusNextChild (Fw::FocusReason reason, bool rotate=false)
 
void focusPreviousChild (Fw::FocusReason reason, bool rotate=false)
 
void lowerChild (UIWidgetPtr child)
 
void raiseChild (UIWidgetPtr child)
 
void moveChildToIndex (const UIWidgetPtr &child, int index)
 
void lockChild (const UIWidgetPtr &child)
 
void unlockChild (const UIWidgetPtr &child)
 
void mergeStyle (const OTMLNodePtr &styleNode)
 
void applyStyle (const OTMLNodePtr &styleNode)
 
void addAnchor (Fw::AnchorEdge anchoredEdge, const std::string &hookedWidgetId, Fw::AnchorEdge hookedEdge)
 
void removeAnchor (Fw::AnchorEdge anchoredEdge)
 
void fill (const std::string &hookedWidgetId)
 
void centerIn (const std::string &hookedWidgetId)
 
void breakAnchors ()
 
void updateParentLayout ()
 
void updateLayout ()
 
void lock ()
 
void unlock ()
 
void focus ()
 
void recursiveFocus (Fw::FocusReason reason)
 
void lower ()
 
void raise ()
 
void grabMouse ()
 
void ungrabMouse ()
 
void grabKeyboard ()
 
void ungrabKeyboard ()
 
void bindRectToParent ()
 
void destroy ()
 
void destroyChildren ()
 
void setId (const std::string &id)
 
void setParent (const UIWidgetPtr &parent)
 
void setLayout (const UILayoutPtr &layout)
 
bool setRect (const Rect &rect)
 
void setStyle (const std::string &styleName)
 
void setStyleFromNode (const OTMLNodePtr &styleNode)
 
void setEnabled (bool enabled)
 
void setVisible (bool visible)
 
void setOn (bool on)
 
void setChecked (bool checked)
 
void setFocusable (bool focusable)
 
void setPhantom (bool phantom)
 
void setDraggable (bool draggable)
 
void setFixedSize (bool fixed)
 
void setClipping (bool clipping)
 
void setLastFocusReason (Fw::FocusReason reason)
 
void setAutoFocusPolicy (Fw::AutoFocusPolicy policy)
 
void setAutoRepeatDelay (int delay)
 
void setVirtualOffset (const Point &offset)
 
bool isAnchored ()
 
bool isChildLocked (const UIWidgetPtr &child)
 
bool hasChild (const UIWidgetPtr &child)
 
int getChildIndex (const UIWidgetPtr &child)
 
Rect getPaddingRect ()
 
Rect getMarginRect ()
 
Rect getChildrenRect ()
 
UIAnchorLayoutPtr getAnchoredLayout ()
 
UIWidgetPtr getRootParent ()
 
UIWidgetPtr getChildAfter (const UIWidgetPtr &relativeChild)
 
UIWidgetPtr getChildBefore (const UIWidgetPtr &relativeChild)
 
UIWidgetPtr getChildById (const std::string &childId)
 
UIWidgetPtr getChildByPos (const Point &childPos)
 
UIWidgetPtr getChildByIndex (int index)
 
UIWidgetPtr recursiveGetChildById (const std::string &id)
 
UIWidgetPtr recursiveGetChildByPos (const Point &childPos, bool wantsPhantom)
 
UIWidgetList recursiveGetChildren ()
 
UIWidgetList recursiveGetChildrenByPos (const Point &childPos)
 
UIWidgetList recursiveGetChildrenByMarginPos (const Point &childPos)
 
UIWidgetPtr backwardsGetWidgetById (const std::string &id)
 
void resize (int width, int height)
 
void move (int x, int y)
 
void rotate (float degrees)
 
void hide ()
 
void show ()
 
void disable ()
 
void enable ()
 
bool isActive ()
 
bool isEnabled ()
 
bool isDisabled ()
 
bool isFocused ()
 
bool isHovered ()
 
bool isPressed ()
 
bool isFirst ()
 
bool isMiddle ()
 
bool isLast ()
 
bool isAlternate ()
 
bool isChecked ()
 
bool isOn ()
 
bool isDragging ()
 
bool isVisible ()
 
bool isHidden ()
 
bool isExplicitlyEnabled ()
 
bool isExplicitlyVisible ()
 
bool isFocusable ()
 
bool isPhantom ()
 
bool isDraggable ()
 
bool isFixedSize ()
 
bool isClipping ()
 
bool isDestroyed ()
 
bool hasChildren ()
 
bool containsMarginPoint (const Point &point)
 
bool containsPaddingPoint (const Point &point)
 
bool containsPoint (const Point &point)
 
std::string getId ()
 
UIWidgetPtr getParent ()
 
UIWidgetPtr getFocusedChild ()
 
UIWidgetList getChildren ()
 
UIWidgetPtr getFirstChild ()
 
UIWidgetPtr getLastChild ()
 
UILayoutPtr getLayout ()
 
OTMLNodePtr getStyle ()
 
int getChildCount ()
 
Fw::FocusReason getLastFocusReason ()
 
Fw::AutoFocusPolicy getAutoFocusPolicy ()
 
int getAutoRepeatDelay ()
 
Point getVirtualOffset ()
 
std::string getStyleName ()
 
Point getLastClickPosition ()
 
void setX (int x)
 
void setY (int y)
 
void setWidth (int width)
 
void setHeight (int height)
 
void setSize (const Size &size)
 
void setPosition (const Point &pos)
 
void setColor (const Color &color)
 
void setBackgroundColor (const Color &color)
 
void setBackgroundOffsetX (int x)
 
void setBackgroundOffsetY (int y)
 
void setBackgroundOffset (const Point &pos)
 
void setBackgroundWidth (int width)
 
void setBackgroundHeight (int height)
 
void setBackgroundSize (const Size &size)
 
void setBackgroundRect (const Rect &rect)
 
void setIcon (const std::string &iconFile)
 
void setIconColor (const Color &color)
 
void setIconOffsetX (int x)
 
void setIconOffsetY (int y)
 
void setIconOffset (const Point &pos)
 
void setIconWidth (int width)
 
void setIconHeight (int height)
 
void setIconSize (const Size &size)
 
void setIconRect (const Rect &rect)
 
void setIconClip (const Rect &rect)
 
void setIconAlign (Fw::AlignmentFlag align)
 
void setBorderWidth (int width)
 
void setBorderWidthTop (int width)
 
void setBorderWidthRight (int width)
 
void setBorderWidthBottom (int width)
 
void setBorderWidthLeft (int width)
 
void setBorderColor (const Color &color)
 
void setBorderColorTop (const Color &color)
 
void setBorderColorRight (const Color &color)
 
void setBorderColorBottom (const Color &color)
 
void setBorderColorLeft (const Color &color)
 
void setMargin (int margin)
 
void setMarginHorizontal (int margin)
 
void setMarginVertical (int margin)
 
void setMarginTop (int margin)
 
void setMarginRight (int margin)
 
void setMarginBottom (int margin)
 
void setMarginLeft (int margin)
 
void setPadding (int padding)
 
void setPaddingHorizontal (int padding)
 
void setPaddingVertical (int padding)
 
void setPaddingTop (int padding)
 
void setPaddingRight (int padding)
 
void setPaddingBottom (int padding)
 
void setPaddingLeft (int padding)
 
void setOpacity (float opacity)
 
void setRotation (float degrees)
 
int getX ()
 
int getY ()
 
Point getPosition ()
 
int getWidth ()
 
int getHeight ()
 
Size getSize ()
 
Rect getRect ()
 
Color getColor ()
 
Color getBackgroundColor ()
 
int getBackgroundOffsetX ()
 
int getBackgroundOffsetY ()
 
Point getBackgroundOffset ()
 
int getBackgroundWidth ()
 
int getBackgroundHeight ()
 
Size getBackgroundSize ()
 
Rect getBackgroundRect ()
 
Color getIconColor ()
 
int getIconOffsetX ()
 
int getIconOffsetY ()
 
Point getIconOffset ()
 
int getIconWidth ()
 
int getIconHeight ()
 
Size getIconSize ()
 
Rect getIconRect ()
 
Rect getIconClip ()
 
Fw::AlignmentFlag getIconAlign ()
 
Color getBorderTopColor ()
 
Color getBorderRightColor ()
 
Color getBorderBottomColor ()
 
Color getBorderLeftColor ()
 
int getBorderTopWidth ()
 
int getBorderRightWidth ()
 
int getBorderBottomWidth ()
 
int getBorderLeftWidth ()
 
int getMarginTop ()
 
int getMarginRight ()
 
int getMarginBottom ()
 
int getMarginLeft ()
 
int getPaddingTop ()
 
int getPaddingRight ()
 
int getPaddingBottom ()
 
int getPaddingLeft ()
 
float getOpacity ()
 
float getRotation ()
 
void setImageSource (const std::string &source)
 
void setImageClip (const Rect &clipRect)
 
void setImageOffsetX (int x)
 
void setImageOffsetY (int y)
 
void setImageOffset (const Point &pos)
 
void setImageWidth (int width)
 
void setImageHeight (int height)
 
void setImageSize (const Size &size)
 
void setImageRect (const Rect &rect)
 
void setImageColor (const Color &color)
 
void setImageFixedRatio (bool fixedRatio)
 
void setImageRepeated (bool repeated)
 
void setImageSmooth (bool smooth)
 
void setImageAutoResize (bool autoResize)
 
void setImageBorderTop (int border)
 
void setImageBorderRight (int border)
 
void setImageBorderBottom (int border)
 
void setImageBorderLeft (int border)
 
void setImageBorder (int border)
 
Rect getImageClip ()
 
int getImageOffsetX ()
 
int getImageOffsetY ()
 
Point getImageOffset ()
 
int getImageWidth ()
 
int getImageHeight ()
 
Size getImageSize ()
 
Rect getImageRect ()
 
Color getImageColor ()
 
bool isImageFixedRatio ()
 
bool isImageSmooth ()
 
bool isImageAutoResize ()
 
int getImageBorderTop ()
 
int getImageBorderRight ()
 
int getImageBorderBottom ()
 
int getImageBorderLeft ()
 
int getImageTextureWidth ()
 
int getImageTextureHeight ()
 
void resizeToText ()
 
void clearText ()
 
void setText (std::string text, bool dontFireLuaCall=false)
 
void setTextAlign (Fw::AlignmentFlag align)
 
void setTextOffset (const Point &offset)
 
void setTextWrap (bool textWrap)
 
void setTextAutoResize (bool textAutoResize)
 
void setTextHorizontalAutoResize (bool textAutoResize)
 
void setTextVerticalAutoResize (bool textAutoResize)
 
void setTextOnlyUpperCase (bool textOnlyUpperCase)
 
void setFont (const std::string &fontName)
 
std::string getText ()
 
std::string getDrawText ()
 
Fw::AlignmentFlag getTextAlign ()
 
Point getTextOffset ()
 
bool getTextWrap ()
 
std::string getFont ()
 
Size getTextSize ()
 
- Public Member Functions inherited from LuaObject
 LuaObject ()
 
virtual ~LuaObject ()
 
template<typename T >
void connectLuaField (const std::string &field, const std::function< T > &f, bool pushFront=false)
 
template<typename... T>
int luaCallLuaField (const std::string &field, const T &... args)
 
template<typename R , typename... T>
callLuaField (const std::string &field, const T &... args)
 
template<typename... T>
void callLuaField (const std::string &field, const T &... args)
 
bool hasLuaField (const std::string &field)
 Returns true if the lua field exists. More...
 
template<typename T >
void setLuaField (const std::string &key, const T &value)
 Sets a field in this lua object. More...
 
template<typename T >
getLuaField (const std::string &key)
 Gets a field from this lua object. More...
 
void releaseLuaFieldsTable ()
 Release fields table reference. More...
 
void luaSetField (const std::string &key)
 Sets a field from this lua object, the value must be on the stack. More...
 
void luaGetField (const std::string &key)
 Gets a field from this lua object, the result is pushed onto the stack. More...
 
void luaGetMetatable ()
 Get object's metatable. More...
 
void luaGetFieldsTable ()
 Gets the table containing all stored fields of this lua object, the result is pushed onto the stack. More...
 
int getUseCount ()
 
std::string getClassName ()
 Returns the derived class name, its the same name used in Lua. More...
 
LuaObjectPtr asLuaObject ()
 
void operator= (const LuaObject &)
 
- Public Member Functions inherited from stdext::shared_object
 shared_object ()
 
virtual ~shared_object ()
 
void add_ref ()
 
void dec_ref ()
 
refcount_t ref_count ()
 
template<typename T >
stdext::shared_object_ptr< T > static_self_cast ()
 
template<typename T >
stdext::shared_object_ptr< T > dynamic_self_cast ()
 
template<typename T >
stdext::shared_object_ptr< T > const_self_cast ()
 

Protected Member Functions

virtual void draw (const Rect &visibleRect, Fw::DrawPane drawPane)
 
virtual void drawSelf (Fw::DrawPane drawPane)
 
virtual void drawChildren (const Rect &visibleRect, Fw::DrawPane drawPane)
 
bool setState (Fw::WidgetState state, bool on)
 
bool hasState (Fw::WidgetState state)
 
virtual void onStyleApply (const std::string &styleName, const OTMLNodePtr &styleNode)
 
virtual void onGeometryChange (const Rect &oldRect, const Rect &newRect)
 
virtual void onLayoutUpdate ()
 
virtual void onFocusChange (bool focused, Fw::FocusReason reason)
 
virtual void onChildFocusChange (const UIWidgetPtr &focusedChild, const UIWidgetPtr &unfocusedChild, Fw::FocusReason reason)
 
virtual void onHoverChange (bool hovered)
 
virtual void onVisibilityChange (bool visible)
 
virtual bool onDragEnter (const Point &mousePos)
 
virtual bool onDragLeave (UIWidgetPtr droppedWidget, const Point &mousePos)
 
virtual bool onDragMove (const Point &mousePos, const Point &mouseMoved)
 
virtual bool onDrop (UIWidgetPtr draggedWidget, const Point &mousePos)
 
virtual bool onKeyText (const std::string &keyText)
 
virtual bool onKeyDown (uchar keyCode, int keyboardModifiers)
 
virtual bool onKeyPress (uchar keyCode, int keyboardModifiers, int autoRepeatTicks)
 
virtual bool onKeyUp (uchar keyCode, int keyboardModifiers)
 
virtual bool onMousePress (const Point &mousePos, Fw::MouseButton button)
 
virtual bool onMouseRelease (const Point &mousePos, Fw::MouseButton button)
 
virtual bool onMouseMove (const Point &mousePos, const Point &mouseMoved)
 
virtual bool onMouseWheel (const Point &mousePos, Fw::MouseWheelDirection direction)
 
virtual bool onClick (const Point &mousePos)
 
virtual bool onDoubleClick (const Point &mousePos)
 
bool propagateOnKeyText (const std::string &keyText)
 
bool propagateOnKeyDown (uchar keyCode, int keyboardModifiers)
 
bool propagateOnKeyPress (uchar keyCode, int keyboardModifiers, int autoRepeatTicks)
 
bool propagateOnKeyUp (uchar keyCode, int keyboardModifiers)
 
bool propagateOnMouseEvent (const Point &mousePos, UIWidgetList &widgetList)
 
bool propagateOnMouseMove (const Point &mousePos, const Point &mouseMoved, UIWidgetList &widgetList)
 
void drawBackground (const Rect &screenCoords)
 
void drawBorder (const Rect &screenCoords)
 
void drawIcon (const Rect &screenCoords)
 
void drawImage (const Rect &screenCoords)
 
virtual void updateText ()
 
void drawText (const Rect &screenCoords)
 
virtual void onTextChange (const std::string &text, const std::string &oldText)
 
virtual void onFontChange (const std::string &font)
 

Protected Attributes

std::string m_id
 
Rect m_rect
 
Point m_virtualOffset
 
stdext::boolean< true > m_enabled
 
stdext::boolean< true > m_visible
 
stdext::boolean< true > m_focusable
 
stdext::boolean< false > m_fixedSize
 
stdext::boolean< false > m_phantom
 
stdext::boolean< false > m_draggable
 
stdext::boolean< false > m_destroyed
 
stdext::boolean< false > m_clipping
 
UILayoutPtr m_layout
 
UIWidgetPtr m_parent
 
UIWidgetList m_children
 
UIWidgetList m_lockedChildren
 
UIWidgetPtr m_focusedChild
 
OTMLNodePtr m_style
 
Timer m_clickTimer
 
Fw::FocusReason m_lastFocusReason
 
Fw::AutoFocusPolicy m_autoFocusPolicy
 
Color m_color
 
Color m_backgroundColor
 
Rect m_backgroundRect
 
TexturePtr m_icon
 
Color m_iconColor
 
Rect m_iconRect
 
Rect m_iconClipRect
 
Fw::AlignmentFlag m_iconAlign
 
EdgeGroup< Colorm_borderColor
 
EdgeGroup< int > m_borderWidth
 
EdgeGroup< int > m_margin
 
EdgeGroup< int > m_padding
 
float m_opacity
 
float m_rotation
 
int m_autoRepeatDelay
 
Point m_lastClickPosition
 
TexturePtr m_imageTexture
 
Rect m_imageClipRect
 
Rect m_imageRect
 
Color m_imageColor
 
Point m_iconOffset
 
stdext::boolean< false > m_imageFixedRatio
 
stdext::boolean< false > m_imageRepeated
 
stdext::boolean< false > m_imageSmooth
 
stdext::boolean< false > m_imageAutoResize
 
EdgeGroup< int > m_imageBorder
 
std::string m_text
 
std::string m_drawText
 
Fw::AlignmentFlag m_textAlign
 
Point m_textOffset
 
stdext::boolean< false > m_textWrap
 
stdext::boolean< false > m_textVerticalAutoResize
 
stdext::boolean< false > m_textHorizontalAutoResize
 
stdext::boolean< false > m_textOnlyUpperCase
 
BitmapFontPtr m_font
 

Friends

class UIManager
 
class UILayout
 

Detailed Description

Definition at line 47 of file uiwidget.h.

Constructor & Destructor Documentation

◆ UIWidget()

UIWidget::UIWidget ( )

Definition at line 36 of file uiwidget.cpp.

Here is the call graph for this function:

◆ ~UIWidget()

UIWidget::~UIWidget ( )
virtual

Definition at line 49 of file uiwidget.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addAnchor()

void UIWidget::addAnchor ( Fw::AnchorEdge  anchoredEdge,
const std::string &  hookedWidgetId,
Fw::AnchorEdge  hookedEdge 
)

Definition at line 569 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addChild()

void UIWidget::addChild ( const UIWidgetPtr child)

Definition at line 138 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ applyStyle()

void UIWidget::applyStyle ( const OTMLNodePtr styleNode)

Definition at line 526 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ backwardsGetWidgetById()

UIWidgetPtr UIWidget::backwardsGetWidgetById ( const std::string &  id)

Definition at line 1239 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bindRectToParent()

void UIWidget::bindRectToParent ( )

Definition at line 735 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ breakAnchors()

void UIWidget::breakAnchors ( )

Definition at line 611 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ centerIn()

void UIWidget::centerIn ( const std::string &  hookedWidgetId)

Definition at line 585 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearText()

void UIWidget::clearText ( )
inline

Definition at line 493 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ containsMarginPoint()

bool UIWidget::containsMarginPoint ( const Point point)
inline

Definition at line 250 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ containsPaddingPoint()

bool UIWidget::containsPaddingPoint ( const Point point)
inline

Definition at line 251 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ containsPoint()

bool UIWidget::containsPoint ( const Point point)
inline

Definition at line 252 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ destroy()

void UIWidget::destroy ( )

Definition at line 774 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ destroyChildren()

void UIWidget::destroyChildren ( )

Definition at line 789 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ disable()

void UIWidget::disable ( )
inline

Definition at line 222 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw()

void UIWidget::draw ( const Rect visibleRect,
Fw::DrawPane  drawPane 
)
protectedvirtual

Definition at line 58 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawBackground()

void UIWidget::drawBackground ( const Rect screenCoords)
protected

Definition at line 336 of file uiwidgetbasestyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawBorder()

void UIWidget::drawBorder ( const Rect screenCoords)
protected

Definition at line 348 of file uiwidgetbasestyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawChildren()

void UIWidget::drawChildren ( const Rect visibleRect,
Fw::DrawPane  drawPane 
)
protectedvirtual

Definition at line 106 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawIcon()

void UIWidget::drawIcon ( const Rect screenCoords)
protected

Definition at line 380 of file uiwidgetbasestyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawImage()

void UIWidget::drawImage ( const Rect screenCoords)
protected

Definition at line 78 of file uiwidgetimage.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawSelf()

void UIWidget::drawSelf ( Fw::DrawPane  drawPane)
protectedvirtual

Reimplemented in UIMap, UIItem, UIMinimap, UIProgressRect, UIParticles, UITextEdit, UICreature, and UISprite.

Definition at line 88 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawText()

void UIWidget::drawText ( const Rect screenCoords)
protected

Definition at line 83 of file uiwidgettext.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enable()

void UIWidget::enable ( )
inline

Definition at line 223 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fill()

void UIWidget::fill ( const std::string &  hookedWidgetId)

Definition at line 597 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ focus()

void UIWidget::focus ( )

Definition at line 663 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ focusChild()

void UIWidget::focusChild ( const UIWidgetPtr child,
Fw::FocusReason  reason 
)

Definition at line 253 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ focusNextChild()

void UIWidget::focusNextChild ( Fw::FocusReason  reason,
bool  rotate = false 
)

Definition at line 288 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ focusPreviousChild()

void UIWidget::focusPreviousChild ( Fw::FocusReason  reason,
bool  rotate = false 
)

Definition at line 331 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAnchoredLayout()

UIAnchorLayoutPtr UIWidget::getAnchoredLayout ( )

Definition at line 1093 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAutoFocusPolicy()

Fw::AutoFocusPolicy UIWidget::getAutoFocusPolicy ( )
inline

Definition at line 264 of file uiwidget.h.

Here is the caller graph for this function:

◆ getAutoRepeatDelay()

int UIWidget::getAutoRepeatDelay ( )
inline

Definition at line 265 of file uiwidget.h.

Here is the caller graph for this function:

◆ getBackgroundColor()

Color UIWidget::getBackgroundColor ( )
inline

Definition at line 360 of file uiwidget.h.

Here is the caller graph for this function:

◆ getBackgroundHeight()

int UIWidget::getBackgroundHeight ( )
inline

Definition at line 365 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBackgroundOffset()

Point UIWidget::getBackgroundOffset ( )
inline

Definition at line 363 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBackgroundOffsetX()

int UIWidget::getBackgroundOffsetX ( )
inline

Definition at line 361 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBackgroundOffsetY()

int UIWidget::getBackgroundOffsetY ( )
inline

Definition at line 362 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBackgroundRect()

Rect UIWidget::getBackgroundRect ( )
inline

Definition at line 367 of file uiwidget.h.

Here is the caller graph for this function:

◆ getBackgroundSize()

Size UIWidget::getBackgroundSize ( )
inline

Definition at line 366 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBackgroundWidth()

int UIWidget::getBackgroundWidth ( )
inline

Definition at line 364 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBorderBottomColor()

Color UIWidget::getBorderBottomColor ( )
inline

Definition at line 380 of file uiwidget.h.

Here is the caller graph for this function:

◆ getBorderBottomWidth()

int UIWidget::getBorderBottomWidth ( )
inline

Definition at line 384 of file uiwidget.h.

Here is the caller graph for this function:

◆ getBorderLeftColor()

Color UIWidget::getBorderLeftColor ( )
inline

Definition at line 381 of file uiwidget.h.

Here is the caller graph for this function:

◆ getBorderLeftWidth()

int UIWidget::getBorderLeftWidth ( )
inline

Definition at line 385 of file uiwidget.h.

Here is the caller graph for this function:

◆ getBorderRightColor()

Color UIWidget::getBorderRightColor ( )
inline

Definition at line 379 of file uiwidget.h.

Here is the caller graph for this function:

◆ getBorderRightWidth()

int UIWidget::getBorderRightWidth ( )
inline

Definition at line 383 of file uiwidget.h.

Here is the caller graph for this function:

◆ getBorderTopColor()

Color UIWidget::getBorderTopColor ( )
inline

Definition at line 378 of file uiwidget.h.

Here is the caller graph for this function:

◆ getBorderTopWidth()

int UIWidget::getBorderTopWidth ( )
inline

Definition at line 382 of file uiwidget.h.

Here is the caller graph for this function:

◆ getChildAfter()

UIWidgetPtr UIWidget::getChildAfter ( const UIWidgetPtr relativeChild)

Definition at line 1113 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ getChildBefore()

UIWidgetPtr UIWidget::getChildBefore ( const UIWidgetPtr relativeChild)

Definition at line 1121 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ getChildById()

UIWidgetPtr UIWidget::getChildById ( const std::string &  childId)

Definition at line 1129 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ getChildByIndex()

UIWidgetPtr UIWidget::getChildByIndex ( int  index)

Definition at line 1152 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ getChildByPos()

UIWidgetPtr UIWidget::getChildByPos ( const Point childPos)

Definition at line 1138 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getChildCount()

int UIWidget::getChildCount ( )
inline

Definition at line 262 of file uiwidget.h.

Here is the caller graph for this function:

◆ getChildIndex()

int UIWidget::getChildIndex ( const UIWidgetPtr child)

Definition at line 1043 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ getChildren()

UIWidgetList UIWidget::getChildren ( )
inline

Definition at line 257 of file uiwidget.h.

Here is the caller graph for this function:

◆ getChildrenRect()

Rect UIWidget::getChildrenRect ( )

Definition at line 1068 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getColor()

Color UIWidget::getColor ( )
inline

Definition at line 359 of file uiwidget.h.

Here is the caller graph for this function:

◆ getDrawText()

std::string UIWidget::getDrawText ( )
inline

Definition at line 506 of file uiwidget.h.

Here is the caller graph for this function:

◆ getFirstChild()

UIWidgetPtr UIWidget::getFirstChild ( )
inline

Definition at line 258 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFocusedChild()

UIWidgetPtr UIWidget::getFocusedChild ( )
inline

Definition at line 256 of file uiwidget.h.

Here is the caller graph for this function:

◆ getFont()

std::string UIWidget::getFont ( )
inline

Definition at line 510 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getHeight()

int UIWidget::getHeight ( )
inline

Definition at line 356 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIconAlign()

Fw::AlignmentFlag UIWidget::getIconAlign ( )
inline

Definition at line 377 of file uiwidget.h.

Here is the caller graph for this function:

◆ getIconClip()

Rect UIWidget::getIconClip ( )
inline

Definition at line 376 of file uiwidget.h.

Here is the caller graph for this function:

◆ getIconColor()

Color UIWidget::getIconColor ( )
inline

Definition at line 368 of file uiwidget.h.

Here is the caller graph for this function:

◆ getIconHeight()

int UIWidget::getIconHeight ( )
inline

Definition at line 373 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIconOffset()

Point UIWidget::getIconOffset ( )
inline

Definition at line 371 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIconOffsetX()

int UIWidget::getIconOffsetX ( )
inline

Definition at line 369 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIconOffsetY()

int UIWidget::getIconOffsetY ( )
inline

Definition at line 370 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIconRect()

Rect UIWidget::getIconRect ( )
inline

Definition at line 375 of file uiwidget.h.

Here is the caller graph for this function:

◆ getIconSize()

Size UIWidget::getIconSize ( )
inline

Definition at line 374 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIconWidth()

int UIWidget::getIconWidth ( )
inline

Definition at line 372 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getId()

std::string UIWidget::getId ( )
inline

Definition at line 254 of file uiwidget.h.

Here is the caller graph for this function:

◆ getImageBorderBottom()

int UIWidget::getImageBorderBottom ( )
inline

Definition at line 460 of file uiwidget.h.

Here is the caller graph for this function:

◆ getImageBorderLeft()

int UIWidget::getImageBorderLeft ( )
inline

Definition at line 461 of file uiwidget.h.

Here is the caller graph for this function:

◆ getImageBorderRight()

int UIWidget::getImageBorderRight ( )
inline

Definition at line 459 of file uiwidget.h.

Here is the caller graph for this function:

◆ getImageBorderTop()

int UIWidget::getImageBorderTop ( )
inline

Definition at line 458 of file uiwidget.h.

Here is the caller graph for this function:

◆ getImageClip()

Rect UIWidget::getImageClip ( )
inline

Definition at line 446 of file uiwidget.h.

Here is the caller graph for this function:

◆ getImageColor()

Color UIWidget::getImageColor ( )
inline

Definition at line 454 of file uiwidget.h.

Here is the caller graph for this function:

◆ getImageHeight()

int UIWidget::getImageHeight ( )
inline

Definition at line 451 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getImageOffset()

Point UIWidget::getImageOffset ( )
inline

Definition at line 449 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getImageOffsetX()

int UIWidget::getImageOffsetX ( )
inline

Definition at line 447 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getImageOffsetY()

int UIWidget::getImageOffsetY ( )
inline

Definition at line 448 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getImageRect()

Rect UIWidget::getImageRect ( )
inline

Definition at line 453 of file uiwidget.h.

Here is the caller graph for this function:

◆ getImageSize()

Size UIWidget::getImageSize ( )
inline

Definition at line 452 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getImageTextureHeight()

int UIWidget::getImageTextureHeight ( )
inline

Definition at line 463 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getImageTextureWidth()

int UIWidget::getImageTextureWidth ( )
inline

Definition at line 462 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getImageWidth()

int UIWidget::getImageWidth ( )
inline

Definition at line 450 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLastChild()

UIWidgetPtr UIWidget::getLastChild ( )
inline

Definition at line 259 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLastClickPosition()

Point UIWidget::getLastClickPosition ( )
inline

Definition at line 268 of file uiwidget.h.

Here is the caller graph for this function:

◆ getLastFocusReason()

Fw::FocusReason UIWidget::getLastFocusReason ( )
inline

Definition at line 263 of file uiwidget.h.

Here is the caller graph for this function:

◆ getLayout()

UILayoutPtr UIWidget::getLayout ( )
inline

Definition at line 260 of file uiwidget.h.

Here is the caller graph for this function:

◆ getMarginBottom()

int UIWidget::getMarginBottom ( )
inline

Definition at line 388 of file uiwidget.h.

Here is the caller graph for this function:

◆ getMarginLeft()

int UIWidget::getMarginLeft ( )
inline

Definition at line 389 of file uiwidget.h.

Here is the caller graph for this function:

◆ getMarginRect()

Rect UIWidget::getMarginRect ( )

Definition at line 1061 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMarginRight()

int UIWidget::getMarginRight ( )
inline

Definition at line 387 of file uiwidget.h.

Here is the caller graph for this function:

◆ getMarginTop()

int UIWidget::getMarginTop ( )
inline

Definition at line 386 of file uiwidget.h.

Here is the caller graph for this function:

◆ getOpacity()

float UIWidget::getOpacity ( )
inline

Definition at line 394 of file uiwidget.h.

Here is the caller graph for this function:

◆ getPaddingBottom()

int UIWidget::getPaddingBottom ( )
inline

Definition at line 392 of file uiwidget.h.

Here is the caller graph for this function:

◆ getPaddingLeft()

int UIWidget::getPaddingLeft ( )
inline

Definition at line 393 of file uiwidget.h.

Here is the caller graph for this function:

◆ getPaddingRect()

Rect UIWidget::getPaddingRect ( )

Definition at line 1054 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPaddingRight()

int UIWidget::getPaddingRight ( )
inline

Definition at line 391 of file uiwidget.h.

Here is the caller graph for this function:

◆ getPaddingTop()

int UIWidget::getPaddingTop ( )
inline

Definition at line 390 of file uiwidget.h.

Here is the caller graph for this function:

◆ getParent()

UIWidgetPtr UIWidget::getParent ( )
inline

Definition at line 255 of file uiwidget.h.

Here is the caller graph for this function:

◆ getPosition()

Point UIWidget::getPosition ( )
inline

Definition at line 354 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRect()

Rect UIWidget::getRect ( )
inline

Definition at line 358 of file uiwidget.h.

Here is the caller graph for this function:

◆ getRootParent()

UIWidgetPtr UIWidget::getRootParent ( )

Definition at line 1105 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRotation()

float UIWidget::getRotation ( )
inline

Definition at line 395 of file uiwidget.h.

Here is the caller graph for this function:

◆ getSize()

Size UIWidget::getSize ( )
inline

Definition at line 357 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getStyle()

OTMLNodePtr UIWidget::getStyle ( )
inline

Definition at line 261 of file uiwidget.h.

Here is the caller graph for this function:

◆ getStyleName()

std::string UIWidget::getStyleName ( )
inline

Definition at line 267 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getText()

std::string UIWidget::getText ( )
inline

Definition at line 505 of file uiwidget.h.

Here is the caller graph for this function:

◆ getTextAlign()

Fw::AlignmentFlag UIWidget::getTextAlign ( )
inline

Definition at line 507 of file uiwidget.h.

Here is the caller graph for this function:

◆ getTextOffset()

Point UIWidget::getTextOffset ( )
inline

Definition at line 508 of file uiwidget.h.

Here is the caller graph for this function:

◆ getTextSize()

Size UIWidget::getTextSize ( )
inline

Definition at line 511 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTextWrap()

bool UIWidget::getTextWrap ( )
inline

Definition at line 509 of file uiwidget.h.

Here is the caller graph for this function:

◆ getVirtualOffset()

Point UIWidget::getVirtualOffset ( )
inline

Definition at line 266 of file uiwidget.h.

Here is the caller graph for this function:

◆ getWidth()

int UIWidget::getWidth ( )
inline

Definition at line 355 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getX()

int UIWidget::getX ( )
inline

Definition at line 352 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getY()

int UIWidget::getY ( )
inline

Definition at line 353 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ grabKeyboard()

void UIWidget::grabKeyboard ( )

Definition at line 721 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ grabMouse()

void UIWidget::grabMouse ( )

Definition at line 707 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasChild()

bool UIWidget::hasChild ( const UIWidgetPtr child)

Definition at line 1035 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ hasChildren()

bool UIWidget::hasChildren ( )
inline

Definition at line 249 of file uiwidget.h.

Here is the caller graph for this function:

◆ hasState()

bool UIWidget::hasState ( Fw::WidgetState  state)
protected

Definition at line 1267 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ hide()

void UIWidget::hide ( )
inline

Definition at line 220 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ insertChild()

void UIWidget::insertChild ( int  index,
const UIWidgetPtr child 
)

Definition at line 179 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isActive()

bool UIWidget::isActive ( )
inline

Definition at line 225 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isAlternate()

bool UIWidget::isAlternate ( )
inline

Definition at line 234 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isAnchored()

bool UIWidget::isAnchored ( )

Definition at line 1021 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isChecked()

bool UIWidget::isChecked ( )
inline

Definition at line 235 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isChildLocked()

bool UIWidget::isChildLocked ( const UIWidgetPtr child)

Definition at line 1029 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ isClipping()

bool UIWidget::isClipping ( )
inline

Definition at line 246 of file uiwidget.h.

Here is the caller graph for this function:

◆ isDestroyed()

bool UIWidget::isDestroyed ( )
inline

Definition at line 247 of file uiwidget.h.

Here is the caller graph for this function:

◆ isDisabled()

bool UIWidget::isDisabled ( )
inline

Definition at line 227 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isDraggable()

bool UIWidget::isDraggable ( )
inline

Definition at line 244 of file uiwidget.h.

Here is the caller graph for this function:

◆ isDragging()

bool UIWidget::isDragging ( )
inline

Definition at line 237 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isEnabled()

bool UIWidget::isEnabled ( )
inline

Definition at line 226 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isExplicitlyEnabled()

bool UIWidget::isExplicitlyEnabled ( )
inline

Definition at line 240 of file uiwidget.h.

Here is the caller graph for this function:

◆ isExplicitlyVisible()

bool UIWidget::isExplicitlyVisible ( )
inline

Definition at line 241 of file uiwidget.h.

Here is the caller graph for this function:

◆ isFirst()

bool UIWidget::isFirst ( )
inline

Definition at line 231 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isFixedSize()

bool UIWidget::isFixedSize ( )
inline

Definition at line 245 of file uiwidget.h.

Here is the caller graph for this function:

◆ isFocusable()

bool UIWidget::isFocusable ( )
inline

Definition at line 242 of file uiwidget.h.

Here is the caller graph for this function:

◆ isFocused()

bool UIWidget::isFocused ( )
inline

Definition at line 228 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isHidden()

bool UIWidget::isHidden ( )
inline

Definition at line 239 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isHovered()

bool UIWidget::isHovered ( )
inline

Definition at line 229 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isImageAutoResize()

bool UIWidget::isImageAutoResize ( )
inline

Definition at line 457 of file uiwidget.h.

Here is the caller graph for this function:

◆ isImageFixedRatio()

bool UIWidget::isImageFixedRatio ( )
inline

Definition at line 455 of file uiwidget.h.

Here is the caller graph for this function:

◆ isImageSmooth()

bool UIWidget::isImageSmooth ( )
inline

Definition at line 456 of file uiwidget.h.

Here is the caller graph for this function:

◆ isLast()

bool UIWidget::isLast ( )
inline

Definition at line 233 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isMiddle()

bool UIWidget::isMiddle ( )
inline

Definition at line 232 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isOn()

bool UIWidget::isOn ( )
inline

Definition at line 236 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isPhantom()

bool UIWidget::isPhantom ( )
inline

Definition at line 243 of file uiwidget.h.

Here is the caller graph for this function:

◆ isPressed()

bool UIWidget::isPressed ( )
inline

Definition at line 230 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isVisible()

bool UIWidget::isVisible ( )
inline

Definition at line 238 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lock()

void UIWidget::lock ( )

Definition at line 645 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lockChild()

void UIWidget::lockChild ( const UIWidgetPtr child)

Definition at line 438 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lower()

void UIWidget::lower ( )

Definition at line 687 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lowerChild()

void UIWidget::lowerChild ( UIWidgetPtr  child)

Definition at line 374 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ mergeStyle()

void UIWidget::mergeStyle ( const OTMLNodePtr styleNode)

Definition at line 515 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ move()

void UIWidget::move ( int  x,
int  y 
)
inline

Definition at line 218 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ moveChildToIndex()

void UIWidget::moveChildToIndex ( const UIWidgetPtr child,
int  index 
)

Definition at line 413 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onChildFocusChange()

void UIWidget::onChildFocusChange ( const UIWidgetPtr focusedChild,
const UIWidgetPtr unfocusedChild,
Fw::FocusReason  reason 
)
protectedvirtual

Definition at line 1503 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onClick()

bool UIWidget::onClick ( const Point mousePos)
protectedvirtual

Definition at line 1590 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ onDoubleClick()

bool UIWidget::onDoubleClick ( const Point mousePos)
protectedvirtual

Reimplemented in UITextEdit.

Definition at line 1595 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ onDragEnter()

bool UIWidget::onDragEnter ( const Point mousePos)
protectedvirtual

Definition at line 1520 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ onDragLeave()

bool UIWidget::onDragLeave ( UIWidgetPtr  droppedWidget,
const Point mousePos 
)
protectedvirtual

Definition at line 1525 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ onDragMove()

bool UIWidget::onDragMove ( const Point mousePos,
const Point mouseMoved 
)
protectedvirtual

Definition at line 1530 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ onDrop()

bool UIWidget::onDrop ( UIWidgetPtr  draggedWidget,
const Point mousePos 
)
protectedvirtual

Definition at line 1535 of file uiwidget.cpp.

◆ onFocusChange()

void UIWidget::onFocusChange ( bool  focused,
Fw::FocusReason  reason 
)
protectedvirtual

Reimplemented in UITextEdit.

Definition at line 1498 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onFontChange()

void UIWidget::onFontChange ( const std::string &  font)
protectedvirtual

Definition at line 112 of file uiwidgettext.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onGeometryChange()

void UIWidget::onGeometryChange ( const Rect oldRect,
const Rect newRect 
)
protectedvirtual

Reimplemented in UITextEdit, and UIMap.

Definition at line 1477 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onHoverChange()

void UIWidget::onHoverChange ( bool  hovered)
protectedvirtual

Reimplemented in UITextEdit.

Definition at line 1508 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onKeyDown()

bool UIWidget::onKeyDown ( uchar  keyCode,
int  keyboardModifiers 
)
protectedvirtual

Definition at line 1545 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ onKeyPress()

bool UIWidget::onKeyPress ( uchar  keyCode,
int  keyboardModifiers,
int  autoRepeatTicks 
)
protectedvirtual

Reimplemented in UITextEdit.

Definition at line 1550 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ onKeyText()

bool UIWidget::onKeyText ( const std::string &  keyText)
protectedvirtual

Reimplemented in UITextEdit.

Definition at line 1540 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ onKeyUp()

bool UIWidget::onKeyUp ( uchar  keyCode,
int  keyboardModifiers 
)
protectedvirtual

Definition at line 1555 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ onLayoutUpdate()

void UIWidget::onLayoutUpdate ( )
protectedvirtual

Definition at line 1493 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onMouseMove()

bool UIWidget::onMouseMove ( const Point mousePos,
const Point mouseMoved 
)
protectedvirtual

Reimplemented in UITextEdit.

Definition at line 1580 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ onMousePress()

bool UIWidget::onMousePress ( const Point mousePos,
Fw::MouseButton  button 
)
protectedvirtual

Reimplemented in UITextEdit.

Definition at line 1560 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onMouseRelease()

bool UIWidget::onMouseRelease ( const Point mousePos,
Fw::MouseButton  button 
)
protectedvirtual

Reimplemented in UITextEdit.

Definition at line 1575 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ onMouseWheel()

bool UIWidget::onMouseWheel ( const Point mousePos,
Fw::MouseWheelDirection  direction 
)
protectedvirtual

Definition at line 1585 of file uiwidget.cpp.

◆ onStyleApply()

void UIWidget::onStyleApply ( const std::string &  styleName,
const OTMLNodePtr styleNode 
)
protectedvirtual

Reimplemented in UITextEdit, UIMap, UIMinimap, UIItem, UISprite, UICreature, UIProgressRect, and UIParticles.

Definition at line 1461 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onTextChange()

void UIWidget::onTextChange ( const std::string &  text,
const std::string &  oldText 
)
protectedvirtual

Definition at line 106 of file uiwidgettext.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onVisibilityChange()

void UIWidget::onVisibilityChange ( bool  visible)
protectedvirtual

Definition at line 1513 of file uiwidget.cpp.

Here is the call graph for this function:

◆ propagateOnKeyDown()

bool UIWidget::propagateOnKeyDown ( uchar  keyCode,
int  keyboardModifiers 
)
protected

Definition at line 1622 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ propagateOnKeyPress()

bool UIWidget::propagateOnKeyPress ( uchar  keyCode,
int  keyboardModifiers,
int  autoRepeatTicks 
)
protected

Definition at line 1644 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ propagateOnKeyText()

bool UIWidget::propagateOnKeyText ( const std::string &  keyText)
protected

Definition at line 1600 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ propagateOnKeyUp()

bool UIWidget::propagateOnKeyUp ( uchar  keyCode,
int  keyboardModifiers 
)
protected

Definition at line 1669 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ propagateOnMouseEvent()

bool UIWidget::propagateOnMouseEvent ( const Point mousePos,
UIWidgetList widgetList 
)
protected

Definition at line 1691 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ propagateOnMouseMove()

bool UIWidget::propagateOnMouseMove ( const Point mousePos,
const Point mouseMoved,
UIWidgetList widgetList 
)
protected

Definition at line 1713 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ raise()

void UIWidget::raise ( )

Definition at line 697 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ raiseChild()

void UIWidget::raiseChild ( UIWidgetPtr  child)

Definition at line 394 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ recursiveFocus()

void UIWidget::recursiveFocus ( Fw::FocusReason  reason)

Definition at line 675 of file uiwidget.cpp.

Here is the call graph for this function:

◆ recursiveGetChildById()

UIWidgetPtr UIWidget::recursiveGetChildById ( const std::string &  id)

Definition at line 1160 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ recursiveGetChildByPos()

UIWidgetPtr UIWidget::recursiveGetChildByPos ( const Point childPos,
bool  wantsPhantom 
)

Definition at line 1173 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ recursiveGetChildren()

UIWidgetList UIWidget::recursiveGetChildren ( )

Definition at line 1191 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ recursiveGetChildrenByMarginPos()

UIWidgetList UIWidget::recursiveGetChildrenByMarginPos ( const Point childPos)

Definition at line 1221 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ recursiveGetChildrenByPos()

UIWidgetList UIWidget::recursiveGetChildrenByPos ( const Point childPos)

Definition at line 1203 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeAnchor()

void UIWidget::removeAnchor ( Fw::AnchorEdge  anchoredEdge)

Definition at line 580 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeChild()

void UIWidget::removeChild ( UIWidgetPtr  child)

Definition at line 217 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ resize()

void UIWidget::resize ( int  width,
int  height 
)
inline

Definition at line 217 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ resizeToText()

void UIWidget::resizeToText ( )
inline

Definition at line 492 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rotate()

void UIWidget::rotate ( float  degrees)
inline

Definition at line 219 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAutoFocusPolicy()

void UIWidget::setAutoFocusPolicy ( Fw::AutoFocusPolicy  policy)

Definition at line 1009 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ setAutoRepeatDelay()

void UIWidget::setAutoRepeatDelay ( int  delay)
inline

Definition at line 134 of file uiwidget.h.

Here is the caller graph for this function:

◆ setBackgroundColor()

void UIWidget::setBackgroundColor ( const Color color)
inline

Definition at line 306 of file uiwidget.h.

Here is the caller graph for this function:

◆ setBackgroundHeight()

void UIWidget::setBackgroundHeight ( int  height)
inline

Definition at line 311 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBackgroundOffset()

void UIWidget::setBackgroundOffset ( const Point pos)
inline

Definition at line 309 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBackgroundOffsetX()

void UIWidget::setBackgroundOffsetX ( int  x)
inline

Definition at line 307 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBackgroundOffsetY()

void UIWidget::setBackgroundOffsetY ( int  y)
inline

Definition at line 308 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBackgroundRect()

void UIWidget::setBackgroundRect ( const Rect rect)
inline

Definition at line 313 of file uiwidget.h.

Here is the caller graph for this function:

◆ setBackgroundSize()

void UIWidget::setBackgroundSize ( const Size size)
inline

Definition at line 312 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBackgroundWidth()

void UIWidget::setBackgroundWidth ( int  width)
inline

Definition at line 310 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBorderColor()

void UIWidget::setBorderColor ( const Color color)
inline

Definition at line 330 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBorderColorBottom()

void UIWidget::setBorderColorBottom ( const Color color)
inline

Definition at line 333 of file uiwidget.h.

Here is the caller graph for this function:

◆ setBorderColorLeft()

void UIWidget::setBorderColorLeft ( const Color color)
inline

Definition at line 334 of file uiwidget.h.

Here is the caller graph for this function:

◆ setBorderColorRight()

void UIWidget::setBorderColorRight ( const Color color)
inline

Definition at line 332 of file uiwidget.h.

Here is the caller graph for this function:

◆ setBorderColorTop()

void UIWidget::setBorderColorTop ( const Color color)
inline

Definition at line 331 of file uiwidget.h.

Here is the caller graph for this function:

◆ setBorderWidth()

void UIWidget::setBorderWidth ( int  width)
inline

Definition at line 325 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBorderWidthBottom()

void UIWidget::setBorderWidthBottom ( int  width)
inline

Definition at line 328 of file uiwidget.h.

Here is the caller graph for this function:

◆ setBorderWidthLeft()

void UIWidget::setBorderWidthLeft ( int  width)
inline

Definition at line 329 of file uiwidget.h.

Here is the caller graph for this function:

◆ setBorderWidthRight()

void UIWidget::setBorderWidthRight ( int  width)
inline

Definition at line 327 of file uiwidget.h.

Here is the caller graph for this function:

◆ setBorderWidthTop()

void UIWidget::setBorderWidthTop ( int  width)
inline

Definition at line 326 of file uiwidget.h.

Here is the caller graph for this function:

◆ setChecked()

void UIWidget::setChecked ( bool  checked)

Definition at line 966 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setClipping()

void UIWidget::setClipping ( bool  clipping)
inline

Definition at line 131 of file uiwidget.h.

Here is the caller graph for this function:

◆ setColor()

void UIWidget::setColor ( const Color color)
inline

Definition at line 305 of file uiwidget.h.

Here is the caller graph for this function:

◆ setDraggable()

void UIWidget::setDraggable ( bool  draggable)

Definition at line 993 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ setEnabled()

void UIWidget::setEnabled ( bool  enabled)

Definition at line 926 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ setFixedSize()

void UIWidget::setFixedSize ( bool  fixed)

Definition at line 998 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFocusable()

void UIWidget::setFocusable ( bool  focusable)

Definition at line 972 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFont()

void UIWidget::setFont ( const std::string &  fontName)

Definition at line 136 of file uiwidgettext.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHeight()

void UIWidget::setHeight ( int  height)
inline

Definition at line 302 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setIcon()

void UIWidget::setIcon ( const std::string &  iconFile)

Definition at line 402 of file uiwidgetbasestyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setIconAlign()

void UIWidget::setIconAlign ( Fw::AlignmentFlag  align)
inline

Definition at line 324 of file uiwidget.h.

Here is the caller graph for this function:

◆ setIconClip()

void UIWidget::setIconClip ( const Rect rect)
inline

Definition at line 323 of file uiwidget.h.

Here is the caller graph for this function:

◆ setIconColor()

void UIWidget::setIconColor ( const Color color)
inline

Definition at line 315 of file uiwidget.h.

Here is the caller graph for this function:

◆ setIconHeight()

void UIWidget::setIconHeight ( int  height)
inline

Definition at line 320 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setIconOffset()

void UIWidget::setIconOffset ( const Point pos)
inline

Definition at line 318 of file uiwidget.h.

Here is the caller graph for this function:

◆ setIconOffsetX()

void UIWidget::setIconOffsetX ( int  x)
inline

Definition at line 316 of file uiwidget.h.

Here is the caller graph for this function:

◆ setIconOffsetY()

void UIWidget::setIconOffsetY ( int  y)
inline

Definition at line 317 of file uiwidget.h.

Here is the caller graph for this function:

◆ setIconRect()

void UIWidget::setIconRect ( const Rect rect)
inline

Definition at line 322 of file uiwidget.h.

Here is the caller graph for this function:

◆ setIconSize()

void UIWidget::setIconSize ( const Size size)
inline

Definition at line 321 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setIconWidth()

void UIWidget::setIconWidth ( int  width)
inline

Definition at line 319 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setId()

void UIWidget::setId ( const std::string &  id)

Definition at line 809 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setImageAutoResize()

void UIWidget::setImageAutoResize ( bool  autoResize)
inline

Definition at line 439 of file uiwidget.h.

Here is the caller graph for this function:

◆ setImageBorder()

void UIWidget::setImageBorder ( int  border)
inline

Definition at line 444 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setImageBorderBottom()

void UIWidget::setImageBorderBottom ( int  border)
inline

Definition at line 442 of file uiwidget.h.

Here is the caller graph for this function:

◆ setImageBorderLeft()

void UIWidget::setImageBorderLeft ( int  border)
inline

Definition at line 443 of file uiwidget.h.

Here is the caller graph for this function:

◆ setImageBorderRight()

void UIWidget::setImageBorderRight ( int  border)
inline

Definition at line 441 of file uiwidget.h.

Here is the caller graph for this function:

◆ setImageBorderTop()

void UIWidget::setImageBorderTop ( int  border)
inline

Definition at line 440 of file uiwidget.h.

Here is the caller graph for this function:

◆ setImageClip()

void UIWidget::setImageClip ( const Rect clipRect)
inline

Definition at line 427 of file uiwidget.h.

Here is the caller graph for this function:

◆ setImageColor()

void UIWidget::setImageColor ( const Color color)
inline

Definition at line 435 of file uiwidget.h.

Here is the caller graph for this function:

◆ setImageFixedRatio()

void UIWidget::setImageFixedRatio ( bool  fixedRatio)
inline

Definition at line 436 of file uiwidget.h.

Here is the caller graph for this function:

◆ setImageHeight()

void UIWidget::setImageHeight ( int  height)
inline

Definition at line 432 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setImageOffset()

void UIWidget::setImageOffset ( const Point pos)
inline

Definition at line 430 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setImageOffsetX()

void UIWidget::setImageOffsetX ( int  x)
inline

Definition at line 428 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setImageOffsetY()

void UIWidget::setImageOffsetY ( int  y)
inline

Definition at line 429 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setImageRect()

void UIWidget::setImageRect ( const Rect rect)
inline

Definition at line 434 of file uiwidget.h.

Here is the caller graph for this function:

◆ setImageRepeated()

void UIWidget::setImageRepeated ( bool  repeated)
inline

Definition at line 437 of file uiwidget.h.

Here is the caller graph for this function:

◆ setImageSize()

void UIWidget::setImageSize ( const Size size)
inline

Definition at line 433 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setImageSmooth()

void UIWidget::setImageSmooth ( bool  smooth)
inline

Definition at line 438 of file uiwidget.h.

Here is the caller graph for this function:

◆ setImageSource()

void UIWidget::setImageSource ( const std::string &  source)

Definition at line 178 of file uiwidgetimage.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setImageWidth()

void UIWidget::setImageWidth ( int  width)
inline

Definition at line 431 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLastFocusReason()

void UIWidget::setLastFocusReason ( Fw::FocusReason  reason)

Definition at line 1004 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ setLayout()

void UIWidget::setLayout ( const UILayoutPtr layout)

Definition at line 843 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMargin()

void UIWidget::setMargin ( int  margin)
inline

Definition at line 335 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMarginBottom()

void UIWidget::setMarginBottom ( int  margin)
inline

Definition at line 340 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMarginHorizontal()

void UIWidget::setMarginHorizontal ( int  margin)
inline

Definition at line 336 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMarginLeft()

void UIWidget::setMarginLeft ( int  margin)
inline

Definition at line 341 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMarginRight()

void UIWidget::setMarginRight ( int  margin)
inline

Definition at line 339 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMarginTop()

void UIWidget::setMarginTop ( int  margin)
inline

Definition at line 338 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMarginVertical()

void UIWidget::setMarginVertical ( int  margin)
inline

Definition at line 337 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setOn()

void UIWidget::setOn ( bool  on)

Definition at line 961 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setOpacity()

void UIWidget::setOpacity ( float  opacity)
inline

Definition at line 349 of file uiwidget.h.

Here is the caller graph for this function:

◆ setPadding()

void UIWidget::setPadding ( int  padding)
inline

Definition at line 342 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPaddingBottom()

void UIWidget::setPaddingBottom ( int  padding)
inline

Definition at line 347 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPaddingHorizontal()

void UIWidget::setPaddingHorizontal ( int  padding)
inline

Definition at line 343 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPaddingLeft()

void UIWidget::setPaddingLeft ( int  padding)
inline

Definition at line 348 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPaddingRight()

void UIWidget::setPaddingRight ( int  padding)
inline

Definition at line 346 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPaddingTop()

void UIWidget::setPaddingTop ( int  padding)
inline

Definition at line 345 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPaddingVertical()

void UIWidget::setPaddingVertical ( int  padding)
inline

Definition at line 344 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setParent()

void UIWidget::setParent ( const UIWidgetPtr parent)

Definition at line 817 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPhantom()

void UIWidget::setPhantom ( bool  phantom)

Definition at line 988 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ setPosition()

void UIWidget::setPosition ( const Point pos)
inline

Definition at line 304 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRect()

bool UIWidget::setRect ( const Rect rect)

Definition at line 870 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRotation()

void UIWidget::setRotation ( float  degrees)
inline

Definition at line 350 of file uiwidget.h.

Here is the caller graph for this function:

◆ setSize()

void UIWidget::setSize ( const Size size)
inline

Definition at line 303 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setState()

bool UIWidget::setState ( Fw::WidgetState  state,
bool  on 
)
protected

Definition at line 1249 of file uiwidget.cpp.

Here is the caller graph for this function:

◆ setStyle()

void UIWidget::setStyle ( const std::string &  styleName)

Definition at line 906 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStyleFromNode()

void UIWidget::setStyleFromNode ( const OTMLNodePtr styleNode)

Definition at line 919 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setText()

void UIWidget::setText ( std::string  text,
bool  dontFireLuaCall = false 
)

Definition at line 117 of file uiwidgettext.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTextAlign()

void UIWidget::setTextAlign ( Fw::AlignmentFlag  align)
inline

Definition at line 496 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTextAutoResize()

void UIWidget::setTextAutoResize ( bool  textAutoResize)
inline

Definition at line 499 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTextHorizontalAutoResize()

void UIWidget::setTextHorizontalAutoResize ( bool  textAutoResize)
inline

Definition at line 500 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTextOffset()

void UIWidget::setTextOffset ( const Point offset)
inline

Definition at line 497 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTextOnlyUpperCase()

void UIWidget::setTextOnlyUpperCase ( bool  textOnlyUpperCase)
inline

Definition at line 502 of file uiwidget.h.

Here is the call graph for this function:

◆ setTextVerticalAutoResize()

void UIWidget::setTextVerticalAutoResize ( bool  textAutoResize)
inline

Definition at line 501 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTextWrap()

void UIWidget::setTextWrap ( bool  textWrap)
inline

Definition at line 498 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setVirtualOffset()

void UIWidget::setVirtualOffset ( const Point offset)

Definition at line 1014 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setVisible()

void UIWidget::setVisible ( bool  visible)

Definition at line 936 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWidth()

void UIWidget::setWidth ( int  width)
inline

Definition at line 301 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setX()

void UIWidget::setX ( int  x)
inline

Definition at line 299 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setY()

void UIWidget::setY ( int  y)
inline

Definition at line 300 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ show()

void UIWidget::show ( )
inline

Definition at line 221 of file uiwidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ungrabKeyboard()

void UIWidget::ungrabKeyboard ( )

Definition at line 729 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ungrabMouse()

void UIWidget::ungrabMouse ( )

Definition at line 715 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unlock()

void UIWidget::unlock ( )

Definition at line 654 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unlockChild()

void UIWidget::unlockChild ( const UIWidgetPtr child)

Definition at line 470 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateLayout()

void UIWidget::updateLayout ( )

Definition at line 631 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateParentLayout()

void UIWidget::updateParentLayout ( )

Definition at line 620 of file uiwidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateText()

void UIWidget::updateText ( )
protectedvirtual

Reimplemented in UITextEdit.

Definition at line 37 of file uiwidgettext.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ UILayout

friend class UILayout
friend

Definition at line 205 of file uiwidget.h.

◆ UIManager

friend class UIManager
friend

Definition at line 59 of file uiwidget.h.

Member Data Documentation

◆ m_autoFocusPolicy

Fw::AutoFocusPolicy UIWidget::m_autoFocusPolicy
protected

Definition at line 80 of file uiwidget.h.

◆ m_autoRepeatDelay

int UIWidget::m_autoRepeatDelay
protected

Definition at line 295 of file uiwidget.h.

◆ m_backgroundColor

Color UIWidget::m_backgroundColor
protected

Definition at line 282 of file uiwidget.h.

◆ m_backgroundRect

Rect UIWidget::m_backgroundRect
protected

Definition at line 283 of file uiwidget.h.

◆ m_borderColor

EdgeGroup<Color> UIWidget::m_borderColor
protected

Definition at line 289 of file uiwidget.h.

◆ m_borderWidth

EdgeGroup<int> UIWidget::m_borderWidth
protected

Definition at line 290 of file uiwidget.h.

◆ m_children

UIWidgetList UIWidget::m_children
protected

Definition at line 74 of file uiwidget.h.

◆ m_clickTimer

Timer UIWidget::m_clickTimer
protected

Definition at line 78 of file uiwidget.h.

◆ m_clipping

stdext::boolean<false> UIWidget::m_clipping
protected

Definition at line 71 of file uiwidget.h.

◆ m_color

Color UIWidget::m_color
protected

Definition at line 281 of file uiwidget.h.

◆ m_destroyed

stdext::boolean<false> UIWidget::m_destroyed
protected

Definition at line 70 of file uiwidget.h.

◆ m_draggable

stdext::boolean<false> UIWidget::m_draggable
protected

Definition at line 69 of file uiwidget.h.

◆ m_drawText

std::string UIWidget::m_drawText
protected

Definition at line 482 of file uiwidget.h.

◆ m_enabled

stdext::boolean<true> UIWidget::m_enabled
protected

Definition at line 64 of file uiwidget.h.

◆ m_fixedSize

stdext::boolean<false> UIWidget::m_fixedSize
protected

Definition at line 67 of file uiwidget.h.

◆ m_focusable

stdext::boolean<true> UIWidget::m_focusable
protected

Definition at line 66 of file uiwidget.h.

◆ m_focusedChild

UIWidgetPtr UIWidget::m_focusedChild
protected

Definition at line 76 of file uiwidget.h.

◆ m_font

BitmapFontPtr UIWidget::m_font
protected

Definition at line 489 of file uiwidget.h.

◆ m_icon

TexturePtr UIWidget::m_icon
protected

Definition at line 284 of file uiwidget.h.

◆ m_iconAlign

Fw::AlignmentFlag UIWidget::m_iconAlign
protected

Definition at line 288 of file uiwidget.h.

◆ m_iconClipRect

Rect UIWidget::m_iconClipRect
protected

Definition at line 287 of file uiwidget.h.

◆ m_iconColor

Color UIWidget::m_iconColor
protected

Definition at line 285 of file uiwidget.h.

◆ m_iconOffset

Point UIWidget::m_iconOffset
protected

Definition at line 418 of file uiwidget.h.

◆ m_iconRect

Rect UIWidget::m_iconRect
protected

Definition at line 286 of file uiwidget.h.

◆ m_id

std::string UIWidget::m_id
protected

Definition at line 61 of file uiwidget.h.

◆ m_imageAutoResize

stdext::boolean<false> UIWidget::m_imageAutoResize
protected

Definition at line 422 of file uiwidget.h.

◆ m_imageBorder

EdgeGroup<int> UIWidget::m_imageBorder
protected

Definition at line 423 of file uiwidget.h.

◆ m_imageClipRect

Rect UIWidget::m_imageClipRect
protected

Definition at line 415 of file uiwidget.h.

◆ m_imageColor

Color UIWidget::m_imageColor
protected

Definition at line 417 of file uiwidget.h.

◆ m_imageFixedRatio

stdext::boolean<false> UIWidget::m_imageFixedRatio
protected

Definition at line 419 of file uiwidget.h.

◆ m_imageRect

Rect UIWidget::m_imageRect
protected

Definition at line 416 of file uiwidget.h.

◆ m_imageRepeated

stdext::boolean<false> UIWidget::m_imageRepeated
protected

Definition at line 420 of file uiwidget.h.

◆ m_imageSmooth

stdext::boolean<false> UIWidget::m_imageSmooth
protected

Definition at line 421 of file uiwidget.h.

◆ m_imageTexture

TexturePtr UIWidget::m_imageTexture
protected

Definition at line 414 of file uiwidget.h.

◆ m_lastClickPosition

Point UIWidget::m_lastClickPosition
protected

Definition at line 296 of file uiwidget.h.

◆ m_lastFocusReason

Fw::FocusReason UIWidget::m_lastFocusReason
protected

Definition at line 79 of file uiwidget.h.

◆ m_layout

UILayoutPtr UIWidget::m_layout
protected

Definition at line 72 of file uiwidget.h.

◆ m_lockedChildren

UIWidgetList UIWidget::m_lockedChildren
protected

Definition at line 75 of file uiwidget.h.

◆ m_margin

EdgeGroup<int> UIWidget::m_margin
protected

Definition at line 291 of file uiwidget.h.

◆ m_opacity

float UIWidget::m_opacity
protected

Definition at line 293 of file uiwidget.h.

◆ m_padding

EdgeGroup<int> UIWidget::m_padding
protected

Definition at line 292 of file uiwidget.h.

◆ m_parent

UIWidgetPtr UIWidget::m_parent
protected

Definition at line 73 of file uiwidget.h.

◆ m_phantom

stdext::boolean<false> UIWidget::m_phantom
protected

Definition at line 68 of file uiwidget.h.

◆ m_rect

Rect UIWidget::m_rect
protected

Definition at line 62 of file uiwidget.h.

◆ m_rotation

float UIWidget::m_rotation
protected

Definition at line 294 of file uiwidget.h.

◆ m_style

OTMLNodePtr UIWidget::m_style
protected

Definition at line 77 of file uiwidget.h.

◆ m_text

std::string UIWidget::m_text
protected

Definition at line 481 of file uiwidget.h.

◆ m_textAlign

Fw::AlignmentFlag UIWidget::m_textAlign
protected

Definition at line 483 of file uiwidget.h.

◆ m_textHorizontalAutoResize

stdext::boolean<false> UIWidget::m_textHorizontalAutoResize
protected

Definition at line 487 of file uiwidget.h.

◆ m_textOffset

Point UIWidget::m_textOffset
protected

Definition at line 484 of file uiwidget.h.

◆ m_textOnlyUpperCase

stdext::boolean<false> UIWidget::m_textOnlyUpperCase
protected

Definition at line 488 of file uiwidget.h.

◆ m_textVerticalAutoResize

stdext::boolean<false> UIWidget::m_textVerticalAutoResize
protected

Definition at line 486 of file uiwidget.h.

◆ m_textWrap

stdext::boolean<false> UIWidget::m_textWrap
protected

Definition at line 485 of file uiwidget.h.

◆ m_virtualOffset

Point UIWidget::m_virtualOffset
protected

Definition at line 63 of file uiwidget.h.

◆ m_visible

stdext::boolean<true> UIWidget::m_visible
protected

Definition at line 65 of file uiwidget.h.


The documentation for this class was generated from the following files: