InputEvent相关函数、变量改名
This commit is contained in:
2
CMCore
2
CMCore
Submodule CMCore updated: 71b459c024...9eabdaf1d1
Submodule CMPlatform updated: f0ff214289...b283cb4bef
@@ -88,7 +88,7 @@ public:
|
||||
{
|
||||
CloseShaderCompiler();
|
||||
|
||||
win->Unjoin(this);
|
||||
win->UnregistryEventDispatch(this);
|
||||
|
||||
SAFE_CLEAR(db);
|
||||
SAFE_CLEAR_OBJECT_ARRAY_OBJECT(cmd_buf,swap_chain_count);
|
||||
@@ -154,7 +154,7 @@ public:
|
||||
|
||||
InitCommandBuffer();
|
||||
|
||||
win->Join(this);
|
||||
win->RegistryEventDispatch(this);
|
||||
|
||||
{
|
||||
vp_info.Set(w,h);
|
||||
@@ -403,8 +403,8 @@ public:
|
||||
ckc=new CameraKeyboardControl(camera_control);
|
||||
cmc=new CameraMouseControl(camera_control);
|
||||
|
||||
win->Join(ckc);
|
||||
win->Join(cmc);
|
||||
win->RegistryEventDispatch(ckc);
|
||||
win->RegistryEventDispatch(cmc);
|
||||
|
||||
RefreshCameraInfo(camera_control->GetCameraInfo(),&vp_info,camera);
|
||||
|
||||
|
@@ -29,12 +29,12 @@ namespace hgl
|
||||
{
|
||||
render_framework=rf;
|
||||
|
||||
rf->Join(this);
|
||||
rf->RegistryEventDispatch(this);
|
||||
}
|
||||
|
||||
virtual ~WorkManager()
|
||||
{
|
||||
render_framework->Unjoin(this);
|
||||
render_framework->UnregistryEventDispatch(this);
|
||||
SAFE_CLEAR(cur_work_object);
|
||||
}
|
||||
|
||||
|
@@ -111,7 +111,7 @@ bool RenderFramework::Init(uint w,uint h)
|
||||
if(!device)
|
||||
return(false);
|
||||
|
||||
win->Join(this);
|
||||
win->RegistryEventDispatch(this);
|
||||
|
||||
module_manager=new GraphModuleManager(this);
|
||||
|
||||
@@ -160,8 +160,8 @@ void RenderFramework::CreateDefaultRenderer()
|
||||
auto ckc=new CameraKeyboardControl(fpcc);
|
||||
auto cmc=new CameraMouseControl(fpcc);
|
||||
|
||||
this->Join(ckc);
|
||||
this->Join(cmc);
|
||||
this->RegistryEventDispatch(ckc);
|
||||
this->RegistryEventDispatch(cmc);
|
||||
|
||||
default_camera_control=fpcc;
|
||||
|
||||
|
Reference in New Issue
Block a user