mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 15:17:42 +02:00
code review
This commit is contained in:
parent
8cf71ebc65
commit
3b181eb803
3 changed files with 7 additions and 7 deletions
|
@ -6895,12 +6895,12 @@ void Application::toggleMuteAudio() {
|
||||||
menu->setIsOptionChecked(MenuOption::MuteAudio, !menu->isOptionChecked(MenuOption::MuteAudio));
|
menu->setIsOptionChecked(MenuOption::MuteAudio, !menu->isOptionChecked(MenuOption::MuteAudio));
|
||||||
}
|
}
|
||||||
|
|
||||||
OverlayID Application::getTabletScreenID() {
|
OverlayID Application::getTabletScreenID() const {
|
||||||
auto HMD = DependencyManager::get<HMDScriptingInterface>();
|
auto HMD = DependencyManager::get<HMDScriptingInterface>();
|
||||||
return HMD->getCurrentTabletScreenID();
|
return HMD->getCurrentTabletScreenID();
|
||||||
}
|
}
|
||||||
|
|
||||||
OverlayID Application::getTabletHomeButtonID() {
|
OverlayID Application::getTabletHomeButtonID() const {
|
||||||
auto HMD = DependencyManager::get<HMDScriptingInterface>();
|
auto HMD = DependencyManager::get<HMDScriptingInterface>();
|
||||||
return HMD->getCurrentHomeButtonUUID();
|
return HMD->getCurrentHomeButtonUUID();
|
||||||
}
|
}
|
||||||
|
|
|
@ -298,8 +298,8 @@ public:
|
||||||
Q_INVOKABLE void sendHoverOverEntity(QUuid id, PointerEvent event);
|
Q_INVOKABLE void sendHoverOverEntity(QUuid id, PointerEvent event);
|
||||||
Q_INVOKABLE void sendHoverLeaveEntity(QUuid id, PointerEvent event);
|
Q_INVOKABLE void sendHoverLeaveEntity(QUuid id, PointerEvent event);
|
||||||
|
|
||||||
OverlayID getTabletScreenID();
|
OverlayID getTabletScreenID() const;
|
||||||
OverlayID getTabletHomeButtonID();
|
OverlayID getTabletHomeButtonID() const;
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void svoImportRequested(const QString& url);
|
void svoImportRequested(const QString& url);
|
||||||
|
|
Loading…
Reference in a new issue