aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/WallpaperImage.qml
blob: 1b44963f5a17999f4d198f6d32d4ab6f52f9d729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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: RootObject.screen(screen_id)

    //Normal geometries/placements
    asynchronous: true
    clip: true
    source: object.background
    x: object.x
    y: object.y
    width: object.width
    height: object.height
  }
bgstack15