summaryrefslogtreecommitdiff
path: root/Editor/GUI/GUIWindow.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-24 13:24:13 +0800
committerchai <chaifix@163.com>2021-10-24 13:24:13 +0800
commit3239ba18797b1aa098056aa0c2a70e250a27a06c (patch)
treecb42710213cd188dd5f7c7841693c9ebe1b1915a /Editor/GUI/GUIWindow.cpp
parent7bf672fd0c6211909d94078b448032b1bd0916ef (diff)
* port shader
Diffstat (limited to 'Editor/GUI/GUIWindow.cpp')
-rw-r--r--Editor/GUI/GUIWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Editor/GUI/GUIWindow.cpp b/Editor/GUI/GUIWindow.cpp
index fb23a59..df28785 100644
--- a/Editor/GUI/GUIWindow.cpp
+++ b/Editor/GUI/GUIWindow.cpp
@@ -196,7 +196,7 @@ void GUIWindow::Init(std::string name)
//DWORD windowStyle = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_CLIPCHILDREN | WS_MAXIMIZEBOX | WS_MINIMIZEBOX;
DWORD extendedStyle = WS_EX_TOOLWINDOW;
- Rectf pixelRect;
+ Rect pixelRect;
pixelRect.x = 0;
pixelRect.y = 0;
pixelRect.width = 32;
@@ -326,7 +326,7 @@ void GUIWindow::OnPaint()
InvokeLuaCallback(m_Script, "OnPaint");
}
-void GUIWindow::SetPosition(Rectf position)
+void GUIWindow::SetPosition(Rect position)
{
log_info("GUIWindow::SetPosition()");
RECT rc;