Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 43 files). Show all
Unified · Split
| @@ -180,6 +180,14 @@ void WindowScriptingInterface::setPreviousBrowseAssetLocation(const QString& loc · 179 unmodified lines | |||
| 180 | Setting::Handle<QVariant>(LAST_BROWSE_ASSETS_LOCATION_SETTING).set(location); | 180 | Setting::Handle<QVariant>(LAST_BROWSE_ASSETS_LOCATION_SETTING).set(location); |
| 181 | } | 181 | } |
| 182 | 182 | ||
| 183 | bool WindowScriptingInterface::getInterstitialModeEnabled() const { | ||
| 184 | return DependencyManager::get<NodeList>()->getDomainHandler().getInterstitialModeEnabled(); | ||
| 185 | } | ||
| 186 | |||
| 187 | void WindowScriptingInterface::setInterstitialModeEnabled(bool enableInterstitialMode) { | ||
| 188 | DependencyManager::get<NodeList>()->getDomainHandler().setInterstitialModeEnabled(enableInterstitialMode); | ||
| 189 | } | ||
| 190 | |||
| 183 | bool WindowScriptingInterface::isPointOnDesktopWindow(QVariant point) { | 191 | bool WindowScriptingInterface::isPointOnDesktopWindow(QVariant point) { |
| 184 | auto offscreenUi = DependencyManager::get<OffscreenUi>(); | 192 | auto offscreenUi = DependencyManager::get<OffscreenUi>(); |
| 185 | return offscreenUi->isPointOnDesktopWindow(point); | 193 | return offscreenUi->isPointOnDesktopWindow(point); |