InputEvent相关函数、变量改名

This commit is contained in:
2025-06-27 02:58:20 +08:00
parent f0ff214289
commit b283cb4bef

View File

@@ -11,7 +11,7 @@ namespace hgl
is_close=true; is_close=true;
is_min=false; is_min=false;
input_event.Join(this); input_event.RegistryEventDispatch(this);
} }
void Window::OnResize(uint w,uint h) void Window::OnResize(uint w,uint h)
@@ -39,7 +39,7 @@ namespace hgl
void Window::OnClose() void Window::OnClose()
{ {
input_event.Unjoin(this); input_event.UnregistryEventDispatch(this);
is_close=true; is_close=true;
} }