From d07baa9c718aac732f50524440415a02d2b26413 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Fri, 24 Jan 2025 23:14:17 +0800 Subject: [PATCH] Removed viewport_info of WindowEvent --- inc/hgl/io/event/WindowEvent.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/inc/hgl/io/event/WindowEvent.h b/inc/hgl/io/event/WindowEvent.h index e12a947..255b5ff 100644 --- a/inc/hgl/io/event/WindowEvent.h +++ b/inc/hgl/io/event/WindowEvent.h @@ -2,7 +2,6 @@ #define HGL_IO_WINDOW_EVENT_INCLUDE #include -#include namespace hgl { namespace io @@ -32,8 +31,6 @@ namespace hgl { WindowEventData *wed; - graph::ViewportInfo viewport_info; - public: WindowEvent():InputEvent(InputEventSource::Window){} @@ -58,7 +55,7 @@ namespace hgl public: - virtual void OnResize(uint w,uint h){viewport_info.Set(w,h);} + virtual void OnResize(uint w,uint h){} virtual void OnActive(bool){} virtual void OnClose (){} };//class WindowEvent:public InputEvent