update monitor safezone overlay

parent 3850e34f
...@@ -48,12 +48,12 @@ Item { ...@@ -48,12 +48,12 @@ Item {
height: root.profile.y * root.scaley height: root.profile.y * root.scaley
anchors.centerIn: parent anchors.centerIn: parent
visible: root.showSafezone visible: root.showSafezone
property color overlayColor: 'cyan'
Rectangle { Rectangle {
id: safezone id: safezone
objectName: "safezone" objectName: "safezone"
color: "transparent" color: "transparent"
border.color: "cyan" border.color: frame.overlayColor
width: parent.width * 0.9 width: parent.width * 0.9
height: parent.height * 0.9 height: parent.height * 0.9
anchors.centerIn: parent anchors.centerIn: parent
...@@ -61,11 +61,51 @@ Item { ...@@ -61,11 +61,51 @@ Item {
id: safetext id: safetext
objectName: "safetext" objectName: "safetext"
color: "transparent" color: "transparent"
border.color: "cyan" border.color: frame.overlayColor
width: frame.width * 0.8 width: frame.width * 0.8
height: frame.height * 0.8 height: frame.height * 0.8
anchors.centerIn: parent anchors.centerIn: parent
} }
Rectangle {
color: frame.overlayColor
width: frame.width / 20
height: 1
anchors.centerIn: parent
}
Rectangle {
color: frame.overlayColor
height: frame.width / 20
width: 1
anchors.centerIn: parent
}
Rectangle {
color: frame.overlayColor
height: frame.height / 11
width: 1
y: 0
x: parent.width / 2
}
Rectangle {
color: frame.overlayColor
height: frame.height / 11
width: 1
y: parent.height -height
x: parent.width / 2
}
Rectangle {
color: frame.overlayColor
width: frame.width / 11
height: 1
y: parent.height / 2
x: 0
}
Rectangle {
color: frame.overlayColor
width: frame.width / 11
height: 1
y: parent.height / 2
x: parent.width -width
}
} }
} }
......
...@@ -47,11 +47,12 @@ Item { ...@@ -47,11 +47,12 @@ Item {
height: root.profile.y * root.scaley height: root.profile.y * root.scaley
anchors.centerIn: parent anchors.centerIn: parent
visible: root.showSafezone visible: root.showSafezone
property color overlayColor: 'cyan'
Rectangle { Rectangle {
id: safezone id: safezone
objectName: "safezone" objectName: "safezone"
color: "transparent" color: "transparent"
border.color: "cyan" border.color: frame.overlayColor
width: parent.width * 0.9 width: parent.width * 0.9
height: parent.height * 0.9 height: parent.height * 0.9
anchors.centerIn: parent anchors.centerIn: parent
...@@ -59,11 +60,51 @@ Item { ...@@ -59,11 +60,51 @@ Item {
id: safetext id: safetext
objectName: "safetext" objectName: "safetext"
color: "transparent" color: "transparent"
border.color: "cyan" border.color: frame.overlayColor
width: frame.width * 0.8 width: frame.width * 0.8
height: frame.height * 0.8 height: frame.height * 0.8
anchors.centerIn: parent anchors.centerIn: parent
} }
Rectangle {
color: frame.overlayColor
width: frame.width / 20
height: 1
anchors.centerIn: parent
}
Rectangle {
color: frame.overlayColor
height: frame.width / 20
width: 1
anchors.centerIn: parent
}
Rectangle {
color: frame.overlayColor
height: frame.height / 11
width: 1
y: 0
x: parent.width / 2
}
Rectangle {
color: frame.overlayColor
height: frame.height / 11
width: 1
y: parent.height -height
x: parent.width / 2
}
Rectangle {
color: frame.overlayColor
width: frame.width / 11
height: 1
y: parent.height / 2
x: 0
}
Rectangle {
color: frame.overlayColor
width: frame.width / 11
height: 1
y: parent.height / 2
x: parent.width -width
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment