Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 5 files). Show all
Unified · Split
| @@ -12,6 +12,8 @@ · 11 unmodified lines | |||
| 12 | #ifndef hifi_WindowScriptingInterface_h | 12 | #ifndef hifi_WindowScriptingInterface_h |
| 13 | #define hifi_WindowScriptingInterface_h | 13 | #define hifi_WindowScriptingInterface_h |
| 14 | 14 | ||
| 15 | #include <glm/glm.hpp> | ||
| 16 | |||
| 15 | #include <QtCore/QObject> | 17 | #include <QtCore/QObject> |
| 16 | #include <QtCore/QString> | 18 | #include <QtCore/QString> |
| 17 | #include <QtQuick/QQuickItem> | 19 | #include <QtQuick/QQuickItem> |
| @@ -73,6 +75,7 @@ public slots: · 55 unmodified lines | |||
| 73 | bool isPhysicsEnabled(); | 75 | bool isPhysicsEnabled(); |
| 74 | bool setDisplayTexture(const QString& name); | 76 | bool setDisplayTexture(const QString& name); |
| 75 | bool isPointOnDesktopWindow(QVariant point); | 77 | bool isPointOnDesktopWindow(QVariant point); |
| 78 | glm::vec2 getDeviceSize() const; | ||
| 76 | 79 | ||
| 77 | int openMessageBox(QString title, QString text, int buttons, int defaultButton); | 80 | int openMessageBox(QString title, QString text, int buttons, int defaultButton); |
| 78 | void updateMessageBox(int id, QString title, QString text, int buttons, int defaultButton); | 81 | void updateMessageBox(int id, QString title, QString text, int buttons, int defaultButton); |