tibia-client/src/framework/ui/uianchorlayout.h

21 lines
511 B
C
Raw Normal View History

#ifndef UIANCHORLAYOUT_H
#define UIANCHORLAYOUT_H
2011-08-14 04:09:11 +02:00
#include "uilayout.h"
#include "uianchor.h"
class UIAnchorLayout : public UILayout
{
public:
2011-08-14 04:09:11 +02:00
bool addAnchor(const UIWidgetPtr& anchoredWidget, AnchorPoint anchoredEdge, const AnchorLine& anchorLine);
void updateWidget(const UIWidgetPtr& widget);
void updateWidgetChildren(const UIWidgetPtr& parent);
2011-08-14 04:09:11 +02:00
bool hasWidgetInAnchorTree(const UIWidgetPtr& widget, const UIWidgetPtr& treeAnchor);
private:
2011-08-14 04:09:11 +02:00
std::list<UIAnchor> m_anchors;
};
2011-08-14 04:09:11 +02:00
#endif