2011-08-15 16:06:15 +02:00
|
|
|
#ifndef FRAMEWORK_UI_DECLARATIONS_H
|
|
|
|
#define FRAMEWORK_UI_DECLARATIONS_H
|
|
|
|
|
|
|
|
#include <framework/global.h>
|
2011-08-22 14:44:26 +02:00
|
|
|
#include <framework/platform/platformevent.h>
|
2011-08-15 16:06:15 +02:00
|
|
|
|
|
|
|
class UIManager;
|
|
|
|
class UIWidget;
|
|
|
|
class UILabel;
|
|
|
|
class UIButton;
|
|
|
|
class UILineEdit;
|
|
|
|
class UIWindow;
|
2011-08-26 17:06:52 +02:00
|
|
|
class UILayout;
|
|
|
|
class UIVerticalLayout;
|
|
|
|
class UIAnchorLayout;
|
2011-08-15 16:06:15 +02:00
|
|
|
|
|
|
|
typedef std::shared_ptr<UIWidget> UIWidgetPtr;
|
|
|
|
typedef std::weak_ptr<UIWidget> UIWidgetWeakPtr;
|
|
|
|
|
|
|
|
typedef std::shared_ptr<UILabel> UILabelPtr;
|
|
|
|
typedef std::shared_ptr<UIButton> UIButtonPtr;
|
|
|
|
typedef std::shared_ptr<UILineEdit> UILineEditPtr;
|
|
|
|
typedef std::shared_ptr<UIWindow> UIWindowPtr;
|
2011-08-26 17:06:52 +02:00
|
|
|
typedef std::shared_ptr<UILayout> UILayoutPtr;
|
|
|
|
typedef std::shared_ptr<UIVerticalLayout> UIVerticalLayoutPtr;
|
|
|
|
typedef std::shared_ptr<UIAnchorLayout> UIAnchorLayoutPtr;
|
2011-08-21 21:43:05 +02:00
|
|
|
|
|
|
|
typedef std::deque<UIWidgetPtr> UIWidgetList;
|
|
|
|
typedef std::deque<UIWidgetWeakPtr> UIWeakWidgetList;
|
2011-08-15 16:06:15 +02:00
|
|
|
|
|
|
|
#endif
|