1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-11-04 09:02:14 +00:00

Improved frames. They are now faster, better looking, and more customizable. Also added a workaround for segementation faults when changing them.

This commit is contained in:
Filippo Scognamiglio
2014-12-20 14:58:57 +01:00
parent 297201a75f
commit df76d83d4b
11 changed files with 159 additions and 117 deletions

View File

@@ -78,7 +78,7 @@ Item{
ListModel{
id: framelist
ListElement{text: "No frame"; source: "./frames/NoFrame.qml"; reflections: false}
ListElement{text: "No frame"; source: ""; reflections: false}
ListElement{text: "Simple white frame"; source: "./frames/WhiteSimpleFrame.qml"; reflections: true}
ListElement{text: "Rough black frame"; source: "./frames/BlackRoughFrame.qml"; reflections: true}
}
@@ -154,7 +154,7 @@ Item{
// FRAMES /////////////////////////////////////////////////////////////////
property bool _frameReflections: true
property bool _frameReflections: false
property bool reflectionsAllowed: framelist.get(frames_index).reflections
property bool frameReflections: _frameReflections && reflectionsAllowed