1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-11-01 15:42:12 +00:00

Important burn-in optimization. It is much lighter on resources.

This commit is contained in:
Filippo Scognamiglio
2018-11-07 22:36:51 +01:00
parent 272bc5fe89
commit 92e82c203f
5 changed files with 151 additions and 135 deletions

View File

@@ -3,7 +3,7 @@ import QtGraphicalEffects 1.0
import "utils.js" as Utils
ShaderTerminal{
ShaderTerminal {
property alias title: terminal.title
property alias terminalSize: terminal.terminalSize
@@ -13,11 +13,16 @@ ShaderTerminal{
blending: false
source: terminal.mainSource
blurredSource: terminal.blurredSource
burnInEffect: terminal.burnInEffect
dispX: (12 / width) * appSettings.windowScaling
dispY: (12 / height) * appSettings.windowScaling
virtual_resolution: terminal.virtualResolution
TimeManager{
id: timeManager
enableTimer: terminalWindow.visible
}
Loader{
id: frame
anchors.fill: parent