mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:58:56 +02:00
Instructions and cool static :)
This commit is contained in:
parent
aea5779ed6
commit
0af53bb4a5
2 changed files with 19 additions and 8 deletions
BIN
interface/resources/images/static.gif
Normal file
BIN
interface/resources/images/static.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 899 KiB |
|
@ -218,23 +218,34 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Instructions or Preview
|
// Instructions or Preview
|
||||||
Item {
|
Rectangle {
|
||||||
id: spectatorCameraImageContainer;
|
id: spectatorCameraImageContainer;
|
||||||
anchors.left: parent.left;
|
anchors.left: parent.left;
|
||||||
anchors.top: cameraToggleCheckBox.bottom;
|
anchors.top: cameraToggleCheckBox.bottom;
|
||||||
anchors.topMargin: 20;
|
anchors.topMargin: 20;
|
||||||
anchors.right: parent.right;
|
anchors.right: parent.right;
|
||||||
height: 250;
|
height: 250;
|
||||||
|
color: spectatorCameraPreview.visible ? "transparent" : "black";
|
||||||
|
|
||||||
// Instructions (visible when display texture isn't set)
|
|
||||||
Image {
|
|
||||||
id: spectatorCameraInstructions;
|
AnimatedImage {
|
||||||
|
source: "../../images/static.gif"
|
||||||
visible: !spectatorCameraPreview.visible;
|
visible: !spectatorCameraPreview.visible;
|
||||||
anchors.fill: parent;
|
anchors.fill: parent;
|
||||||
fillMode: Image.PreserveAspectFit;
|
opacity: 0.15;
|
||||||
horizontalAlignment: Image.AlignHCenter;
|
}
|
||||||
verticalAlignment: Image.AlignVCenter;
|
|
||||||
source: "http://1.bp.blogspot.com/-1GABEq__054/T03B00j_OII/AAAAAAAAAa8/jo55LcvEPHI/s1600/Winning.jpg";
|
// Instructions (visible when display texture isn't set)
|
||||||
|
FiraSansRegular {
|
||||||
|
id: spectatorCameraInstructions;
|
||||||
|
text: "Turn on Spectator Camera for a preview\nof what your monitor shows.";
|
||||||
|
size: 16;
|
||||||
|
color: hifi.colors.lightGrayText;
|
||||||
|
visible: !spectatorCameraPreview.visible;
|
||||||
|
anchors.fill: parent;
|
||||||
|
horizontalAlignment: Text.AlignHCenter;
|
||||||
|
verticalAlignment: Text.AlignVCenter;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spectator Camera Preview
|
// Spectator Camera Preview
|
||||||
|
|
Loading…
Reference in a new issue