Resore frames functionalities.

This commit is contained in:
Filippo Scognamiglio
2014-09-14 00:45:34 +02:00
parent bc87df170b
commit b4bf29dc9e
7 changed files with 30 additions and 44 deletions

View File

@@ -15,10 +15,6 @@ Item{
property string normalsSource
property string shaderString
//Value used to create the rect used to add the border to the texture
property real rectX
property real rectY
//Values used to displace the texture in the screen. Used to make reflections correct.
property real displacementLeft
property real displacementTop
@@ -27,11 +23,6 @@ Item{
property real distortionCoefficient
property rect sourceRect: Qt.rect(-rectX * shadersettings.window_scaling,
-rectY * shadersettings.window_scaling,
terminal.width + 2*rectX * shadersettings.window_scaling,
terminal.height + 2*rectY * shadersettings.window_scaling)
BorderImage{
id: frameimage
anchors.centerIn: parent