Layout codes of InputEvent/WindowEvent
This commit is contained in:
@@ -36,7 +36,7 @@ namespace hgl
|
||||
WindowEvent():InputEvent(InputEventSource::Window){}
|
||||
virtual ~WindowEvent()=default;
|
||||
|
||||
EventProcResult OnEvent(const EventHeader &header,const uint64 data) override
|
||||
virtual EventProcResult OnEvent(const EventHeader &header,const uint64 data) override
|
||||
{
|
||||
wed=(WindowEventData *)&data;
|
||||
|
||||
@@ -61,4 +61,4 @@ namespace hgl
|
||||
};//class WindowEvent:public InputEvent
|
||||
}//namespace io
|
||||
}//namespace hgl
|
||||
#endif//HGL_IO_WINDOW_EVENT_INCLUDE
|
||||
#endif//HGL_IO_WINDOW_EVENT_INCLUDE
|
||||
|
Reference in New Issue
Block a user