History

saving work

druiz17 committed 9 years ago

Commit 20918641 parent da3d5a96 files · +36 −3Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 6 files). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.cpp+5−0
@@ -171,6 +171,11 @@ void WindowScriptingInterface::setPreviousBrowseAssetLocation(const QString& loc · 170 unmodified lines
171 Setting::Handle<QVariant>(LAST_BROWSE_ASSETS_LOCATION_SETTING).set(location);171 Setting::Handle<QVariant>(LAST_BROWSE_ASSETS_LOCATION_SETTING).set(location);
172}172}
173 173
174bool WindowScriptingInterface::isPointOnDesktopWindow(QVariant point) {
175 auto offscreenUi = DependencyManager::get<OffscreenUi>();
176 return offscreenUi->isPointOnDesktopWindow(point);
177}
178
174/// Makes sure that the reticle is visible, use this in blocking forms that require a reticle and179/// Makes sure that the reticle is visible, use this in blocking forms that require a reticle and
175/// might be in same thread as a script that sets the reticle to invisible180/// might be in same thread as a script that sets the reticle to invisible
176void WindowScriptingInterface::ensureReticleVisible() const {181void WindowScriptingInterface::ensureReticleVisible() const {