Layout codes of InputEvent/WindowEvent

This commit is contained in:
2025-03-06 01:20:37 +08:00
parent 3f5baa99d0
commit b78d31d8a0
3 changed files with 93 additions and 103 deletions

View File

@@ -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