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/GUIWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Editor/GUI/GUIWindow.cpp') 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; -- cgit v1.1-26-g67d0