Texture quality is actually working. (And also quite useful for high-dpi screens).

This commit is contained in:
Filippo Scognamiglio
2014-10-11 01:24:20 +02:00
parent d4ca781e90
commit 438c50d775
7 changed files with 70 additions and 42 deletions

View File

@@ -113,29 +113,8 @@ ApplicationWindow{
id: timeManager
enableTimer: terminalWindow.visible
}
Item{
id: maincontainer
anchors.centerIn: parent
width: parent.width * shadersettings.window_scaling
height: parent.height * shadersettings.window_scaling
scale: 1.0 / shadersettings.window_scaling
opacity: shadersettings.windowOpacity * 0.3 + 0.7
Loader{
id: frame
anchors.fill: parent
z: 2.1
source: shadersettings.frame_source
}
PreprocessedTerminal{
id: terminal
anchors.fill: parent
}
ShaderTerminal{
id: shadercontainer
anchors.fill: parent
z: 1.9
}
TerminalContainer{
anchors.fill: parent
}
SettingsWindow{
id: settingswindow
@@ -145,14 +124,5 @@ ApplicationWindow{
id: aboutDialog
visible: false
}
Loader{
id: sizeoverlayloader
z: 3
anchors.centerIn: parent
active: shadersettings.show_terminal_size
sourceComponent: SizeOverlay{
terminalSize: terminal.terminalSize
}
}
Component.onCompleted: shadersettings.handleFontChanged();
}