updated input manager for controllers, scripting API updates

This commit is contained in:
turanszkij
2019-05-03 21:01:22 +01:00
parent 16ee39c0e4
commit 0b40949ae0
18 changed files with 345 additions and 151 deletions
+3 -8
View File
@@ -291,20 +291,15 @@ void MainComponent::Compose()
}
#ifndef WINSTORE_SUPPORT
bool MainComponent::SetWindow(wiWindowRegistration::window_type window, HINSTANCE hInst)
void MainComponent::SetWindow(wiWindowRegistration::window_type window, HINSTANCE hInst)
{
this->hInst = hInst;
wiWindowRegistration::RegisterInstance(hInst);
wiWindowRegistration::RegisterWindow(window);
return true;
}
#else
bool MainComponent::SetWindow(wiWindowRegistration::window_type window)
void MainComponent::SetWindow(wiWindowRegistration::window_type window)
{
wiWindowRegistration::RegisterWindow(window);
return true;
}
#endif