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();
|
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);
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user