diff options
author | 2016-10-26 15:53:34 +0200 | |
---|---|---|
committer | 2016-10-26 15:53:34 +0200 | |
commit | d19555c038f6f1f89f08f12c88908d84b32b1bbf (patch) | |
tree | 548d19680235aa91bc7a4948d78553e8f4a5c27b /interfaces | |
parent | 4e34fd88f65f8c1cd094ed24bd62d2c7f5418080 (diff) |
Implement toggle full screen mechanism.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Diffstat (limited to 'interfaces')
-rw-r--r-- | interfaces/homescreen.xml | 3 | ||||
-rw-r--r-- | interfaces/windowmanager.xml | 12 |
2 files changed, 12 insertions, 3 deletions
diff --git a/interfaces/homescreen.xml b/interfaces/homescreen.xml index 3eb66d0..1a9d7f9 100644 --- a/interfaces/homescreen.xml +++ b/interfaces/homescreen.xml @@ -17,8 +17,7 @@ <method name="hardKeyPressed"> <arg name="key" type="i" direction="in"/> <!-- using the inputevent.hpp InputEvent::HardKey type --> </method> - <method name="setToFullscreen"> - <arg name="pid" type="i" direction="in"/> + <method name="toggleFullScreen"> </method> </interface> </node> diff --git a/interfaces/windowmanager.xml b/interfaces/windowmanager.xml index c86c8e7..5aac541 100644 --- a/interfaces/windowmanager.xml +++ b/interfaces/windowmanager.xml @@ -17,8 +17,10 @@ <method name="addLayout"> <arg name="layoutId" type="i" direction="in"/> <arg name="layoutName" type="s" direction="in"/> + <arg name="isFullScreen" type="b" direction="in"/> + <arg name="associatedFullScreenLayout" type="i" direction="in"/> <arg name="surfaceAreas" type="a(iiii)" direction="in"/> - <annotation name="org.qtproject.QtDBus.QtTypeName.In2" value="QList<SimpleRect>"/> + <annotation name="org.qtproject.QtDBus.QtTypeName.In4" value="QList<SimpleRect>"/> <arg name="error" type="i" direction="out"/> </method> <method name="getAvailableLayouts"> @@ -26,6 +28,14 @@ <arg name="layoutIds" type="ai" direction="out"/> <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList<int>"/> </method> + <method name="isLayoutFullScreen"> + <arg name="layoutId" type="i" direction="in"/> + <arg name="fullScreen" type="b" direction="out"/> + </method> + <method name="getAssociatedFullScreenLayout"> + <arg name="layoutId" type="i" direction="in"/> + <arg name="associatedFullScreenLayout" type="i" direction="out"/> + </method> <method name="setLayoutById"> <arg name="layoutId" type="i" direction="in"/> </method> |