Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -358,3 +358,11 @@ int WindowScriptingInterface::getInnerWidth() { · 357 unmodified lines | |||
| 358 | int WindowScriptingInterface::getInnerHeight() { | 358 | int WindowScriptingInterface::getInnerHeight() { |
| 359 | return Application::getInstance()->getWindow()->geometry().height(); | 359 | return Application::getInstance()->getWindow()->geometry().height(); |
| 360 | } | 360 | } |
| 361 | |||
| 362 | int WindowScriptingInterface::getX() { | ||
| 363 | return Application::getInstance()->getWindow()->x(); | ||
| 364 | } | ||
| 365 | |||
| 366 | int WindowScriptingInterface::getY() { | ||
| 367 | return Application::getInstance()->getWindow()->y(); | ||
| 368 | } | ||