aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Screen.qml
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2017-12-20 14:41:24 -0500
committerZackaryWelch <welch.zackary@gmail.com>2017-12-20 14:41:24 -0500
commit42f88a91e66cecee677f6e3b3c257436ff748a5c (patch)
tree8291711a34ff8866dd0ff95f4d69b11e7dfd3ac2 /src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Screen.qml
parentFixed keyboard focus and added an information dialog to lumina-pdf (diff)
parentSetup the RootDesktopObject to start providing NativeWindow objects to the QM... (diff)
downloadlumina-42f88a91e66cecee677f6e3b3c257436ff748a5c.tar.gz
lumina-42f88a91e66cecee677f6e3b3c257436ff748a5c.tar.bz2
lumina-42f88a91e66cecee677f6e3b3c257436ff748a5c.zip
Merge branch 'master' of https://github.com/trueos/lumina
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Screen.qml')
-rw-r--r--src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Screen.qml26
1 files changed, 26 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Screen.qml b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Screen.qml
new file mode 100644
index 00000000..3b83653a
--- /dev/null
+++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Screen.qml
@@ -0,0 +1,26 @@
+//===========================================
+// Lumina-desktop source code
+// Copyright (c) 2017, Ken Moore
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+import QtQuick 2.2
+import QtQuick.Window 2.2
+import QtQuick.Controls 1
+
+import Lumina.Backend.ScreenObject 2.0
+
+AnimatedImage {
+ //C++ backend object
+ property string screen_id
+ property ScreenObject object
+
+ //Normal geometries/placements
+ asynchronous: true
+ clip: true
+ source: object.background
+ x: object.x
+ y: object.y
+ width: object.width
+ height: object.height
+ }
bgstack15