Removed viewport_info of WindowEvent
This commit is contained in:
parent
1bcd213b63
commit
d07baa9c71
@ -2,7 +2,6 @@
|
||||
#define HGL_IO_WINDOW_EVENT_INCLUDE
|
||||
|
||||
#include<hgl/io/event/InputEvent.h>
|
||||
#include<hgl/graph/ViewportInfo.h>
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user