Otclient
14/8/2020
|
#include <uiwidget.h>
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> | |
R | 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 > | |
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) |
Friends | |
class | UIManager |
class | UILayout |
Definition at line 47 of file uiwidget.h.
UIWidget::UIWidget | ( | ) |
|
virtual |
void UIWidget::addAnchor | ( | Fw::AnchorEdge | anchoredEdge, |
const std::string & | hookedWidgetId, | ||
Fw::AnchorEdge | hookedEdge | ||
) |
Definition at line 569 of file uiwidget.cpp.
void UIWidget::addChild | ( | const UIWidgetPtr & | child | ) |
Definition at line 138 of file uiwidget.cpp.
void UIWidget::applyStyle | ( | const OTMLNodePtr & | styleNode | ) |
Definition at line 526 of file uiwidget.cpp.
UIWidgetPtr UIWidget::backwardsGetWidgetById | ( | const std::string & | id | ) |
Definition at line 1239 of file uiwidget.cpp.
void UIWidget::bindRectToParent | ( | ) |
Definition at line 735 of file uiwidget.cpp.
void UIWidget::breakAnchors | ( | ) |
Definition at line 611 of file uiwidget.cpp.
void UIWidget::centerIn | ( | const std::string & | hookedWidgetId | ) |
Definition at line 585 of file uiwidget.cpp.
|
inline |
Definition at line 493 of file uiwidget.h.
|
inline |
Definition at line 250 of file uiwidget.h.
|
inline |
Definition at line 251 of file uiwidget.h.
|
inline |
Definition at line 252 of file uiwidget.h.
void UIWidget::destroy | ( | ) |
Definition at line 774 of file uiwidget.cpp.
void UIWidget::destroyChildren | ( | ) |
Definition at line 789 of file uiwidget.cpp.
|
inline |
Definition at line 222 of file uiwidget.h.
|
protectedvirtual |
Definition at line 58 of file uiwidget.cpp.
|
protected |
Definition at line 336 of file uiwidgetbasestyle.cpp.
|
protected |
Definition at line 348 of file uiwidgetbasestyle.cpp.
|
protectedvirtual |
Definition at line 106 of file uiwidget.cpp.
|
protected |
Definition at line 380 of file uiwidgetbasestyle.cpp.
|
protected |
Definition at line 78 of file uiwidgetimage.cpp.
|
protectedvirtual |
Reimplemented in UIMap, UIItem, UIMinimap, UIProgressRect, UIParticles, UITextEdit, UICreature, and UISprite.
Definition at line 88 of file uiwidget.cpp.
|
protected |
Definition at line 83 of file uiwidgettext.cpp.
|
inline |
Definition at line 223 of file uiwidget.h.
void UIWidget::fill | ( | const std::string & | hookedWidgetId | ) |
Definition at line 597 of file uiwidget.cpp.
void UIWidget::focus | ( | ) |
Definition at line 663 of file uiwidget.cpp.
void UIWidget::focusChild | ( | const UIWidgetPtr & | child, |
Fw::FocusReason | reason | ||
) |
Definition at line 253 of file uiwidget.cpp.
void UIWidget::focusNextChild | ( | Fw::FocusReason | reason, |
bool | rotate = false |
||
) |
Definition at line 288 of file uiwidget.cpp.
void UIWidget::focusPreviousChild | ( | Fw::FocusReason | reason, |
bool | rotate = false |
||
) |
Definition at line 331 of file uiwidget.cpp.
UIAnchorLayoutPtr UIWidget::getAnchoredLayout | ( | ) |
Definition at line 1093 of file uiwidget.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 365 of file uiwidget.h.
|
inline |
Definition at line 363 of file uiwidget.h.
|
inline |
Definition at line 361 of file uiwidget.h.
|
inline |
Definition at line 362 of file uiwidget.h.
|
inline |
|
inline |
Definition at line 366 of file uiwidget.h.
|
inline |
Definition at line 364 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
UIWidgetPtr UIWidget::getChildAfter | ( | const UIWidgetPtr & | relativeChild | ) |
UIWidgetPtr UIWidget::getChildBefore | ( | const UIWidgetPtr & | relativeChild | ) |
UIWidgetPtr UIWidget::getChildById | ( | const std::string & | childId | ) |
UIWidgetPtr UIWidget::getChildByIndex | ( | int | index | ) |
UIWidgetPtr UIWidget::getChildByPos | ( | const Point & | childPos | ) |
Definition at line 1138 of file uiwidget.cpp.
|
inline |
int UIWidget::getChildIndex | ( | const UIWidgetPtr & | child | ) |
|
inline |
Rect UIWidget::getChildrenRect | ( | ) |
Definition at line 1068 of file uiwidget.cpp.
|
inline |
|
inline |
|
inline |
Definition at line 258 of file uiwidget.h.
|
inline |
|
inline |
Definition at line 510 of file uiwidget.h.
|
inline |
Definition at line 356 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 373 of file uiwidget.h.
|
inline |
Definition at line 371 of file uiwidget.h.
|
inline |
Definition at line 369 of file uiwidget.h.
|
inline |
Definition at line 370 of file uiwidget.h.
|
inline |
|
inline |
Definition at line 374 of file uiwidget.h.
|
inline |
Definition at line 372 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 451 of file uiwidget.h.
|
inline |
Definition at line 449 of file uiwidget.h.
|
inline |
Definition at line 447 of file uiwidget.h.
|
inline |
Definition at line 448 of file uiwidget.h.
|
inline |
|
inline |
Definition at line 452 of file uiwidget.h.
|
inline |
Definition at line 463 of file uiwidget.h.
|
inline |
Definition at line 462 of file uiwidget.h.
|
inline |
Definition at line 450 of file uiwidget.h.
|
inline |
Definition at line 259 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Rect UIWidget::getMarginRect | ( | ) |
Definition at line 1061 of file uiwidget.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Rect UIWidget::getPaddingRect | ( | ) |
Definition at line 1054 of file uiwidget.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 354 of file uiwidget.h.
|
inline |
UIWidgetPtr UIWidget::getRootParent | ( | ) |
Definition at line 1105 of file uiwidget.cpp.
|
inline |
|
inline |
Definition at line 357 of file uiwidget.h.
|
inline |
|
inline |
Definition at line 267 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 511 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
Definition at line 355 of file uiwidget.h.
|
inline |
Definition at line 352 of file uiwidget.h.
|
inline |
Definition at line 353 of file uiwidget.h.
void UIWidget::grabKeyboard | ( | ) |
Definition at line 721 of file uiwidget.cpp.
void UIWidget::grabMouse | ( | ) |
Definition at line 707 of file uiwidget.cpp.
bool UIWidget::hasChild | ( | const UIWidgetPtr & | child | ) |
|
inline |
|
protected |
|
inline |
Definition at line 220 of file uiwidget.h.
void UIWidget::insertChild | ( | int | index, |
const UIWidgetPtr & | child | ||
) |
Definition at line 179 of file uiwidget.cpp.
|
inline |
Definition at line 225 of file uiwidget.h.
|
inline |
Definition at line 234 of file uiwidget.h.
bool UIWidget::isAnchored | ( | ) |
Definition at line 1021 of file uiwidget.cpp.
|
inline |
Definition at line 235 of file uiwidget.h.
bool UIWidget::isChildLocked | ( | const UIWidgetPtr & | child | ) |
|
inline |
|
inline |
|
inline |
Definition at line 227 of file uiwidget.h.
|
inline |
|
inline |
Definition at line 237 of file uiwidget.h.
|
inline |
Definition at line 226 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
Definition at line 231 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
Definition at line 228 of file uiwidget.h.
|
inline |
Definition at line 239 of file uiwidget.h.
|
inline |
Definition at line 229 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 233 of file uiwidget.h.
|
inline |
Definition at line 232 of file uiwidget.h.
|
inline |
Definition at line 236 of file uiwidget.h.
|
inline |
|
inline |
Definition at line 230 of file uiwidget.h.
|
inline |
Definition at line 238 of file uiwidget.h.
void UIWidget::lock | ( | ) |
Definition at line 645 of file uiwidget.cpp.
void UIWidget::lockChild | ( | const UIWidgetPtr & | child | ) |
Definition at line 438 of file uiwidget.cpp.
void UIWidget::lower | ( | ) |
Definition at line 687 of file uiwidget.cpp.
void UIWidget::lowerChild | ( | UIWidgetPtr | child | ) |
void UIWidget::mergeStyle | ( | const OTMLNodePtr & | styleNode | ) |
Definition at line 515 of file uiwidget.cpp.
|
inline |
Definition at line 218 of file uiwidget.h.
void UIWidget::moveChildToIndex | ( | const UIWidgetPtr & | child, |
int | index | ||
) |
Definition at line 413 of file uiwidget.cpp.
|
protectedvirtual |
Definition at line 1503 of file uiwidget.cpp.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in UITextEdit.
Definition at line 1595 of file uiwidget.cpp.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Definition at line 1535 of file uiwidget.cpp.
|
protectedvirtual |
Reimplemented in UITextEdit.
Definition at line 1498 of file uiwidget.cpp.
|
protectedvirtual |
Definition at line 112 of file uiwidgettext.cpp.
Reimplemented in UITextEdit, and UIMap.
Definition at line 1477 of file uiwidget.cpp.
|
protectedvirtual |
Reimplemented in UITextEdit.
Definition at line 1508 of file uiwidget.cpp.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in UITextEdit.
Definition at line 1550 of file uiwidget.cpp.
|
protectedvirtual |
Reimplemented in UITextEdit.
Definition at line 1540 of file uiwidget.cpp.
|
protectedvirtual |
|
protectedvirtual |
Definition at line 1493 of file uiwidget.cpp.
Reimplemented in UITextEdit.
Definition at line 1580 of file uiwidget.cpp.
|
protectedvirtual |
Reimplemented in UITextEdit.
Definition at line 1560 of file uiwidget.cpp.
|
protectedvirtual |
Reimplemented in UITextEdit.
Definition at line 1575 of file uiwidget.cpp.
|
protectedvirtual |
Definition at line 1585 of file uiwidget.cpp.
|
protectedvirtual |
Reimplemented in UITextEdit, UIMap, UIMinimap, UIItem, UISprite, UICreature, UIProgressRect, and UIParticles.
Definition at line 1461 of file uiwidget.cpp.
|
protectedvirtual |
Definition at line 106 of file uiwidgettext.cpp.
|
protectedvirtual |
|
protected |
Definition at line 1622 of file uiwidget.cpp.
|
protected |
Definition at line 1644 of file uiwidget.cpp.
|
protected |
Definition at line 1600 of file uiwidget.cpp.
|
protected |
Definition at line 1669 of file uiwidget.cpp.
|
protected |
Definition at line 1691 of file uiwidget.cpp.
|
protected |
Definition at line 1713 of file uiwidget.cpp.
void UIWidget::raise | ( | ) |
Definition at line 697 of file uiwidget.cpp.
void UIWidget::raiseChild | ( | UIWidgetPtr | child | ) |
void UIWidget::recursiveFocus | ( | Fw::FocusReason | reason | ) |
UIWidgetPtr UIWidget::recursiveGetChildById | ( | const std::string & | id | ) |
Definition at line 1160 of file uiwidget.cpp.
UIWidgetPtr UIWidget::recursiveGetChildByPos | ( | const Point & | childPos, |
bool | wantsPhantom | ||
) |
Definition at line 1173 of file uiwidget.cpp.
UIWidgetList UIWidget::recursiveGetChildren | ( | ) |
UIWidgetList UIWidget::recursiveGetChildrenByMarginPos | ( | const Point & | childPos | ) |
Definition at line 1221 of file uiwidget.cpp.
UIWidgetList UIWidget::recursiveGetChildrenByPos | ( | const Point & | childPos | ) |
Definition at line 1203 of file uiwidget.cpp.
void UIWidget::removeAnchor | ( | Fw::AnchorEdge | anchoredEdge | ) |
Definition at line 580 of file uiwidget.cpp.
void UIWidget::removeChild | ( | UIWidgetPtr | child | ) |
Definition at line 217 of file uiwidget.cpp.
|
inline |
Definition at line 217 of file uiwidget.h.
|
inline |
Definition at line 492 of file uiwidget.h.
|
inline |
Definition at line 219 of file uiwidget.h.
void UIWidget::setAutoFocusPolicy | ( | Fw::AutoFocusPolicy | policy | ) |
|
inline |
|
inline |
|
inline |
Definition at line 311 of file uiwidget.h.
|
inline |
Definition at line 309 of file uiwidget.h.
|
inline |
Definition at line 307 of file uiwidget.h.
|
inline |
Definition at line 308 of file uiwidget.h.
|
inline |
|
inline |
Definition at line 312 of file uiwidget.h.
|
inline |
Definition at line 310 of file uiwidget.h.
|
inline |
Definition at line 330 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 325 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
|
inline |
void UIWidget::setChecked | ( | bool | checked | ) |
Definition at line 966 of file uiwidget.cpp.
|
inline |
|
inline |
void UIWidget::setDraggable | ( | bool | draggable | ) |
void UIWidget::setEnabled | ( | bool | enabled | ) |
void UIWidget::setFixedSize | ( | bool | fixed | ) |
Definition at line 998 of file uiwidget.cpp.
void UIWidget::setFocusable | ( | bool | focusable | ) |
Definition at line 972 of file uiwidget.cpp.
void UIWidget::setFont | ( | const std::string & | fontName | ) |
Definition at line 136 of file uiwidgettext.cpp.
|
inline |
Definition at line 302 of file uiwidget.h.
void UIWidget::setIcon | ( | const std::string & | iconFile | ) |
Definition at line 402 of file uiwidgetbasestyle.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 320 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 321 of file uiwidget.h.
|
inline |
Definition at line 319 of file uiwidget.h.
void UIWidget::setId | ( | const std::string & | id | ) |
Definition at line 809 of file uiwidget.cpp.
|
inline |
|
inline |
Definition at line 444 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 432 of file uiwidget.h.
|
inline |
Definition at line 430 of file uiwidget.h.
|
inline |
Definition at line 428 of file uiwidget.h.
|
inline |
Definition at line 429 of file uiwidget.h.
|
inline |
|
inline |
|
inline |
Definition at line 433 of file uiwidget.h.
|
inline |
void UIWidget::setImageSource | ( | const std::string & | source | ) |
Definition at line 178 of file uiwidgetimage.cpp.
|
inline |
Definition at line 431 of file uiwidget.h.
void UIWidget::setLastFocusReason | ( | Fw::FocusReason | reason | ) |
void UIWidget::setLayout | ( | const UILayoutPtr & | layout | ) |
Definition at line 843 of file uiwidget.cpp.
|
inline |
Definition at line 335 of file uiwidget.h.
|
inline |
Definition at line 340 of file uiwidget.h.
|
inline |
Definition at line 336 of file uiwidget.h.
|
inline |
Definition at line 341 of file uiwidget.h.
|
inline |
Definition at line 339 of file uiwidget.h.
|
inline |
Definition at line 338 of file uiwidget.h.
|
inline |
Definition at line 337 of file uiwidget.h.
void UIWidget::setOn | ( | bool | on | ) |
Definition at line 961 of file uiwidget.cpp.
|
inline |
|
inline |
Definition at line 342 of file uiwidget.h.
|
inline |
Definition at line 347 of file uiwidget.h.
|
inline |
Definition at line 343 of file uiwidget.h.
|
inline |
Definition at line 348 of file uiwidget.h.
|
inline |
Definition at line 346 of file uiwidget.h.
|
inline |
Definition at line 345 of file uiwidget.h.
|
inline |
Definition at line 344 of file uiwidget.h.
void UIWidget::setParent | ( | const UIWidgetPtr & | parent | ) |
Definition at line 817 of file uiwidget.cpp.
void UIWidget::setPhantom | ( | bool | phantom | ) |
|
inline |
Definition at line 304 of file uiwidget.h.
bool UIWidget::setRect | ( | const Rect & | rect | ) |
Definition at line 870 of file uiwidget.cpp.
|
inline |
|
inline |
Definition at line 303 of file uiwidget.h.
|
protected |
void UIWidget::setStyle | ( | const std::string & | styleName | ) |
Definition at line 906 of file uiwidget.cpp.
void UIWidget::setStyleFromNode | ( | const OTMLNodePtr & | styleNode | ) |
Definition at line 919 of file uiwidget.cpp.
void UIWidget::setText | ( | std::string | text, |
bool | dontFireLuaCall = false |
||
) |
Definition at line 117 of file uiwidgettext.cpp.
|
inline |
Definition at line 496 of file uiwidget.h.
|
inline |
Definition at line 499 of file uiwidget.h.
|
inline |
Definition at line 500 of file uiwidget.h.
|
inline |
Definition at line 497 of file uiwidget.h.
|
inline |
|
inline |
Definition at line 501 of file uiwidget.h.
|
inline |
Definition at line 498 of file uiwidget.h.
void UIWidget::setVirtualOffset | ( | const Point & | offset | ) |
Definition at line 1014 of file uiwidget.cpp.
void UIWidget::setVisible | ( | bool | visible | ) |
Definition at line 936 of file uiwidget.cpp.
|
inline |
Definition at line 301 of file uiwidget.h.
|
inline |
Definition at line 299 of file uiwidget.h.
|
inline |
Definition at line 300 of file uiwidget.h.
|
inline |
Definition at line 221 of file uiwidget.h.
void UIWidget::ungrabKeyboard | ( | ) |
Definition at line 729 of file uiwidget.cpp.
void UIWidget::ungrabMouse | ( | ) |
Definition at line 715 of file uiwidget.cpp.
void UIWidget::unlock | ( | ) |
Definition at line 654 of file uiwidget.cpp.
void UIWidget::unlockChild | ( | const UIWidgetPtr & | child | ) |
Definition at line 470 of file uiwidget.cpp.
void UIWidget::updateLayout | ( | ) |
Definition at line 631 of file uiwidget.cpp.
void UIWidget::updateParentLayout | ( | ) |
Definition at line 620 of file uiwidget.cpp.
|
protectedvirtual |
Reimplemented in UITextEdit.
Definition at line 37 of file uiwidgettext.cpp.
|
friend |
Definition at line 205 of file uiwidget.h.
|
friend |
Definition at line 59 of file uiwidget.h.
|
protected |
Definition at line 80 of file uiwidget.h.
|
protected |
Definition at line 295 of file uiwidget.h.
|
protected |
Definition at line 282 of file uiwidget.h.
|
protected |
Definition at line 283 of file uiwidget.h.
Definition at line 289 of file uiwidget.h.
|
protected |
Definition at line 290 of file uiwidget.h.
|
protected |
Definition at line 74 of file uiwidget.h.
|
protected |
Definition at line 78 of file uiwidget.h.
|
protected |
Definition at line 71 of file uiwidget.h.
|
protected |
Definition at line 281 of file uiwidget.h.
|
protected |
Definition at line 70 of file uiwidget.h.
|
protected |
Definition at line 69 of file uiwidget.h.
|
protected |
Definition at line 482 of file uiwidget.h.
|
protected |
Definition at line 64 of file uiwidget.h.
|
protected |
Definition at line 67 of file uiwidget.h.
|
protected |
Definition at line 66 of file uiwidget.h.
|
protected |
Definition at line 76 of file uiwidget.h.
|
protected |
Definition at line 489 of file uiwidget.h.
|
protected |
Definition at line 284 of file uiwidget.h.
|
protected |
Definition at line 288 of file uiwidget.h.
|
protected |
Definition at line 287 of file uiwidget.h.
|
protected |
Definition at line 285 of file uiwidget.h.
|
protected |
Definition at line 418 of file uiwidget.h.
|
protected |
Definition at line 286 of file uiwidget.h.
|
protected |
Definition at line 61 of file uiwidget.h.
|
protected |
Definition at line 422 of file uiwidget.h.
|
protected |
Definition at line 423 of file uiwidget.h.
|
protected |
Definition at line 415 of file uiwidget.h.
|
protected |
Definition at line 417 of file uiwidget.h.
|
protected |
Definition at line 419 of file uiwidget.h.
|
protected |
Definition at line 416 of file uiwidget.h.
|
protected |
Definition at line 420 of file uiwidget.h.
|
protected |
Definition at line 421 of file uiwidget.h.
|
protected |
Definition at line 414 of file uiwidget.h.
|
protected |
Definition at line 296 of file uiwidget.h.
|
protected |
Definition at line 79 of file uiwidget.h.
|
protected |
Definition at line 72 of file uiwidget.h.
|
protected |
Definition at line 75 of file uiwidget.h.
|
protected |
Definition at line 291 of file uiwidget.h.
|
protected |
Definition at line 293 of file uiwidget.h.
|
protected |
Definition at line 292 of file uiwidget.h.
|
protected |
Definition at line 73 of file uiwidget.h.
|
protected |
Definition at line 68 of file uiwidget.h.
|
protected |
Definition at line 62 of file uiwidget.h.
|
protected |
Definition at line 294 of file uiwidget.h.
|
protected |
Definition at line 77 of file uiwidget.h.
|
protected |
Definition at line 481 of file uiwidget.h.
|
protected |
Definition at line 483 of file uiwidget.h.
|
protected |
Definition at line 487 of file uiwidget.h.
|
protected |
Definition at line 484 of file uiwidget.h.
|
protected |
Definition at line 488 of file uiwidget.h.
|
protected |
Definition at line 486 of file uiwidget.h.
|
protected |
Definition at line 485 of file uiwidget.h.
|
protected |
Definition at line 63 of file uiwidget.h.
|
protected |
Definition at line 65 of file uiwidget.h.