1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2024-10-06 19:10:51 +01:00
cool-retro-term/app/frames/BlackRoughFrame.qml

24 lines
667 B
QML

import QtQuick 2.1
import "utils"
import QtGraphicalEffects 1.0
TerminalFrame{
id: frame
z: 2.1
anchors.fill: parent
addedWidth: 200
addedHeight: 370
borderLeft: 148
borderRight: 148
borderTop: 232
borderBottom: 232
imageSource: "../images/black-frame.png"
normalsSource: "../images/black-frame-normals.png"
sourceRect: Qt.rect(-80 * shadersettings.total_scaling,
-90 * shadersettings.total_scaling,
terminal.width + 160 * shadersettings.total_scaling,
terminal.height + 180 * shadersettings.total_scaling)
shaderString: "FrameShader.qml"
}