From 3239ba18797b1aa098056aa0c2a70e250a27a06c Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 24 Oct 2021 13:24:13 +0800 Subject: * port shader --- Editor/GUI/EditorWindows.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Editor/GUI/EditorWindows.h') diff --git a/Editor/GUI/EditorWindows.h b/Editor/GUI/EditorWindows.h index 3b84b13..a7091dd 100644 --- a/Editor/GUI/EditorWindows.h +++ b/Editor/GUI/EditorWindows.h @@ -29,7 +29,7 @@ public : class WindowManager : Singleton { public: - static Vector2f GetMousePosition(); + static Vector2 GetMousePosition(); static GUIWindow* GetMouseOverWindow(); private: @@ -56,7 +56,7 @@ public: ContainerWindow(LuaBind::VM* vm); ~ContainerWindow(); - void Init(Rectf size, int showMode, const Vector2f& minSize, const Vector2f& maxSize, std::string name = ""); + void Init(Rect size, int showMode, const Vector2& minSize, const Vector2& maxSize, std::string name = ""); void SetTitle(const char* title); void SetIcon(LPCSTR iconName); void SetAsRenderContext(); @@ -85,7 +85,7 @@ private: bool m_IsClosing; bool m_InMenuLoop; bool m_CloseFromScriptDontShutdown; - Rectf m_InternalRect; + Rect m_InternalRect; POINT m_MinSize; POINT m_MaxSize; @@ -140,7 +140,7 @@ public: void DoPaint(); void SetContainerWindow(ContainerWindow* wnd); void Focus(); - void SetPosition(Rectf position); + void SetPosition(Rect position); void SetAsRenderContext(); void OnFocus(); -- cgit v1.1-26-g67d0