Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 9 files). Show all
Unified · Split
| @@ -53,6 +53,7 @@ public slots: · 52 unmodified lines | |||
| 53 | CustomPromptResult customPrompt(const QVariant& config); | 53 | CustomPromptResult customPrompt(const QVariant& config); |
| 54 | QScriptValue browse(const QString& title = "", const QString& directory = "", const QString& nameFilter = ""); | 54 | QScriptValue browse(const QString& title = "", const QString& directory = "", const QString& nameFilter = ""); |
| 55 | QScriptValue save(const QString& title = "", const QString& directory = "", const QString& nameFilter = ""); | 55 | QScriptValue save(const QString& title = "", const QString& directory = "", const QString& nameFilter = ""); |
| 56 | QScriptValue browseAssets(const QString& title = "", const QString& directory = "", const QString& nameFilter = ""); | ||
| 56 | void showAssetServer(const QString& upload = ""); | 57 | void showAssetServer(const QString& upload = ""); |
| 57 | void copyToClipboard(const QString& text); | 58 | void copyToClipboard(const QString& text); |
| 58 | void takeSnapshot(bool notify = true, bool includeAnimated = false, float aspectRatio = 0.0f); | 59 | void takeSnapshot(bool notify = true, bool includeAnimated = false, float aspectRatio = 0.0f); |
| @@ -88,6 +89,9 @@ private: · 29 unmodified lines | |||
| 88 | QString getPreviousBrowseLocation() const; | 89 | QString getPreviousBrowseLocation() const; |
| 89 | void setPreviousBrowseLocation(const QString& location); | 90 | void setPreviousBrowseLocation(const QString& location); |
| 90 | 91 | ||
| 92 | QString getPreviousBrowseAssetLocation() const; | ||
| 93 | void setPreviousBrowseAssetLocation(const QString& location); | ||
| 94 | |||
| 91 | void ensureReticleVisible() const; | 95 | void ensureReticleVisible() const; |
| 92 | 96 | ||
| 93 | int createMessageBox(QString title, QString text, int buttons, int defaultButton); | 97 | int createMessageBox(QString title, QString text, int buttons, int defaultButton); |