You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
466 B

#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