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 | 12 | #ifndef hifi_WindowScriptingInterface_h |
| 13 | 13 | #define hifi_WindowScriptingInterface_h |
| 14 | 14 | |
| 15 | +#include <glm/glm.hpp> | |
| 16 | + | |
| 15 | 17 | #include <QtCore/QObject> |
| 16 | 18 | #include <QtCore/QString> |
| 17 | 19 | #include <QtQuick/QQuickItem> |
| @@ -73,6 +75,7 @@ public slots: · 55 unmodified lines | ||
| 73 | 75 | bool isPhysicsEnabled(); |
| 74 | 76 | bool setDisplayTexture(const QString& name); |
| 75 | 77 | bool isPointOnDesktopWindow(QVariant point); |
| 78 | + glm::vec2 getDeviceSize() const; | |
| 76 | 79 | |
| 77 | 80 | int openMessageBox(QString title, QString text, int buttons, int defaultButton); |
| 78 | 81 | void updateMessageBox(int id, QString title, QString text, int buttons, int defaultButton); |