Showing the changes to interface/src/Application.cpp (1 of 439 files). Show all
Unified · Split
| @@ -3537,6 +3537,7 @@ void Application::setIsInterstitialMode(bool interstitialMode) { · 3536 unmodified lines | ||
| 3537 | 3537 | if (enableInterstitial) { |
| 3538 | 3538 | if (_interstitialMode != interstitialMode) { |
| 3539 | 3539 | _interstitialMode = interstitialMode; |
| 3540 | + emit interstitialModeChanged(_interstitialMode); | |
| 3540 | 3541 | |
| 3541 | 3542 | DependencyManager::get<AudioClient>()->setAudioPaused(_interstitialMode); |
| 3542 | 3543 | DependencyManager::get<AvatarManager>()->setMyAvatarDataPacketsPaused(_interstitialMode); |
| @@ -8480,6 +8481,16 @@ QUuid Application::getTabletFrameID() const { · 4937 unmodified lines | ||
| 8480 | 8481 | return HMD->getCurrentTabletFrameID(); |
| 8481 | 8482 | } |
| 8482 | 8483 | |
| 8484 | +QVector<QUuid> Application::getTabletIDs() const { | |
| 8485 | + // Most important overlays first. | |
| 8486 | + QVector<QUuid> result; | |
| 8487 | + auto HMD = DependencyManager::get<HMDScriptingInterface>(); | |
| 8488 | + result << HMD->getCurrentTabletScreenID(); | |
| 8489 | + result << HMD->getCurrentHomeButtonID(); | |
| 8490 | + result << HMD->getCurrentTabletFrameID(); | |
| 8491 | + return result; | |
| 8492 | +} | |
| 8493 | + | |
| 8483 | 8494 | void Application::setAvatarOverrideUrl(const QUrl& url, bool save) { |
| 8484 | 8495 | _avatarOverrideUrl = url; |
| 8485 | 8496 | _saveAvatarOverrideUrl = save; |