InputEvent相关函数、变量改名

This commit is contained in:
2025-06-27 02:58:39 +08:00
parent 11385c7b9e
commit fee0b8fb7b
5 changed files with 11 additions and 11 deletions

2
CMCore

Submodule CMCore updated: 71b459c024...9eabdaf1d1

View File

@@ -88,7 +88,7 @@ public:
{ {
CloseShaderCompiler(); CloseShaderCompiler();
win->Unjoin(this); win->UnregistryEventDispatch(this);
SAFE_CLEAR(db); SAFE_CLEAR(db);
SAFE_CLEAR_OBJECT_ARRAY_OBJECT(cmd_buf,swap_chain_count); SAFE_CLEAR_OBJECT_ARRAY_OBJECT(cmd_buf,swap_chain_count);
@@ -154,7 +154,7 @@ public:
InitCommandBuffer(); InitCommandBuffer();
win->Join(this); win->RegistryEventDispatch(this);
{ {
vp_info.Set(w,h); vp_info.Set(w,h);
@@ -403,8 +403,8 @@ public:
ckc=new CameraKeyboardControl(camera_control); ckc=new CameraKeyboardControl(camera_control);
cmc=new CameraMouseControl(camera_control); cmc=new CameraMouseControl(camera_control);
win->Join(ckc); win->RegistryEventDispatch(ckc);
win->Join(cmc); win->RegistryEventDispatch(cmc);
RefreshCameraInfo(camera_control->GetCameraInfo(),&vp_info,camera); RefreshCameraInfo(camera_control->GetCameraInfo(),&vp_info,camera);

View File

@@ -29,12 +29,12 @@ namespace hgl
{ {
render_framework=rf; render_framework=rf;
rf->Join(this); rf->RegistryEventDispatch(this);
} }
virtual ~WorkManager() virtual ~WorkManager()
{ {
render_framework->Unjoin(this); render_framework->UnregistryEventDispatch(this);
SAFE_CLEAR(cur_work_object); SAFE_CLEAR(cur_work_object);
} }

View File

@@ -111,7 +111,7 @@ bool RenderFramework::Init(uint w,uint h)
if(!device) if(!device)
return(false); return(false);
win->Join(this); win->RegistryEventDispatch(this);
module_manager=new GraphModuleManager(this); module_manager=new GraphModuleManager(this);
@@ -160,8 +160,8 @@ void RenderFramework::CreateDefaultRenderer()
auto ckc=new CameraKeyboardControl(fpcc); auto ckc=new CameraKeyboardControl(fpcc);
auto cmc=new CameraMouseControl(fpcc); auto cmc=new CameraMouseControl(fpcc);
this->Join(ckc); this->RegistryEventDispatch(ckc);
this->Join(cmc); this->RegistryEventDispatch(cmc);
default_camera_control=fpcc; default_camera_control=fpcc;