Otclient  14/8/2020
UIPositionAnchor Class Reference

#include <uimapanchorlayout.h>

Inheritance diagram for UIPositionAnchor:
Collaboration diagram for UIPositionAnchor:

Public Member Functions

 UIPositionAnchor (Fw::AnchorEdge anchoredEdge, const Position &hookedPosition, Fw::AnchorEdge hookedEdge)
 
UIWidgetPtr getHookedWidget (const UIWidgetPtr &widget, const UIWidgetPtr &parentWidget)
 
int getHookedPoint (const UIWidgetPtr &hookedWidget, const UIWidgetPtr &parentWidget)
 
- Public Member Functions inherited from UIAnchor
 UIAnchor (Fw::AnchorEdge anchoredEdge, const std::string &hookedWidgetId, Fw::AnchorEdge hookedEdge)
 
Fw::AnchorEdge getAnchoredEdge () const
 
Fw::AnchorEdge getHookedEdge () const
 
- 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from UIAnchor
Fw::AnchorEdge m_anchoredEdge
 
Fw::AnchorEdge m_hookedEdge
 
std::string m_hookedWidgetId
 

Detailed Description

Definition at line 29 of file uimapanchorlayout.h.

Constructor & Destructor Documentation

◆ UIPositionAnchor()

UIPositionAnchor::UIPositionAnchor ( Fw::AnchorEdge  anchoredEdge,
const Position hookedPosition,
Fw::AnchorEdge  hookedEdge 
)
inline

Definition at line 32 of file uimapanchorlayout.h.

Member Function Documentation

◆ getHookedPoint()

int UIPositionAnchor::getHookedPoint ( const UIWidgetPtr hookedWidget,
const UIWidgetPtr parentWidget 
)
virtual

Reimplemented from UIAnchor.

Definition at line 28 of file uimapanchorlayout.cpp.

Here is the call graph for this function:

◆ getHookedWidget()

UIWidgetPtr UIPositionAnchor::getHookedWidget ( const UIWidgetPtr widget,
const UIWidgetPtr parentWidget 
)
inlinevirtual

Reimplemented from UIAnchor.

Definition at line 35 of file uimapanchorlayout.h.


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