mirror of
https://github.com/edubart/otclient.git
synced 2025-12-16 05:39:47 +01:00
new layout system, new UI state/styles system
This commit is contained in:
@@ -2,16 +2,17 @@
|
||||
#define FRAMEWORK_UI_DECLARATIONS_H
|
||||
|
||||
#include <framework/global.h>
|
||||
#include "const.h"
|
||||
#include <framework/platform/platformevent.h>
|
||||
|
||||
class UIManager;
|
||||
class UIAnchor;
|
||||
class UIWidget;
|
||||
class UILabel;
|
||||
class UIButton;
|
||||
class UILineEdit;
|
||||
class UIWindow;
|
||||
class UILayout;
|
||||
class UIVerticalLayout;
|
||||
class UIAnchorLayout;
|
||||
|
||||
typedef std::shared_ptr<UIWidget> UIWidgetPtr;
|
||||
typedef std::weak_ptr<UIWidget> UIWidgetWeakPtr;
|
||||
@@ -20,8 +21,10 @@ typedef std::shared_ptr<UILabel> UILabelPtr;
|
||||
typedef std::shared_ptr<UIButton> UIButtonPtr;
|
||||
typedef std::shared_ptr<UILineEdit> UILineEditPtr;
|
||||
typedef std::shared_ptr<UIWindow> UIWindowPtr;
|
||||
typedef std::shared_ptr<UILayout> UILayoutPtr;
|
||||
typedef std::shared_ptr<UIVerticalLayout> UIVerticalLayoutPtr;
|
||||
typedef std::shared_ptr<UIAnchorLayout> UIAnchorLayoutPtr;
|
||||
|
||||
typedef std::vector<UIAnchor> UIAnchorList;
|
||||
typedef std::deque<UIWidgetPtr> UIWidgetList;
|
||||
typedef std::deque<UIWidgetWeakPtr> UIWeakWidgetList;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user