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

21 lines
466 B
C++

#ifndef UILAYOUT_H
#define UILAYOUT_H
#include <global.h>
class UIElement;
typedef boost::shared_ptr<UIElement> UIElementPtr;
class UILayout;
typedef boost::shared_ptr<UILayout> UILayoutPtr;
class UILayout : public boost::enable_shared_from_this<UILayout>
{
public:
UILayout() { }
virtual void recalculateElementLayout(const UIElementPtr& element) = 0;
virtual void recalculateChildrenLayout(const UIElementPtr& parent) = 0;
};
#endif // UILAYOUT_H