mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-01-18 12:15:27 +00:00
More Connections refactorings.
This commit is contained in:
parent
aa270067f6
commit
f69f2df63c
@ -61,8 +61,9 @@ Loader {
|
|||||||
Connections {
|
Connections {
|
||||||
target: burnInSourceEffect.updateBurnIn ? timeManager : null
|
target: burnInSourceEffect.updateBurnIn ? timeManager : null
|
||||||
ignoreUnknownSignals: false
|
ignoreUnknownSignals: false
|
||||||
onTimeChanged: {
|
|
||||||
burnInSourceEffect.scheduleUpdate();
|
function onTimeChanged() {
|
||||||
|
burnInSourceEffect.scheduleUpdate()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,7 +80,8 @@ Loader {
|
|||||||
}
|
}
|
||||||
Connections {
|
Connections {
|
||||||
target: kterminal
|
target: kterminal
|
||||||
onImagePainted:{
|
|
||||||
|
function onImagePainted() {
|
||||||
burnInSourceEffect.scheduleUpdate();
|
burnInSourceEffect.scheduleUpdate();
|
||||||
burnInSourceEffect.updateBurnIn = true;
|
burnInSourceEffect.updateBurnIn = true;
|
||||||
livetimer.restart();
|
livetimer.restart();
|
||||||
@ -88,14 +90,29 @@ Loader {
|
|||||||
// Restart blurred source settings change.
|
// Restart blurred source settings change.
|
||||||
Connections {
|
Connections {
|
||||||
target: appSettings
|
target: appSettings
|
||||||
onBurnInChanged: burnInSourceEffect.restartBlurSource();
|
|
||||||
onTerminalFontChanged: burnInSourceEffect.restartBlurSource();
|
function onBurnInChanged() {
|
||||||
onRasterizationChanged: burnInSourceEffect.restartBlurSource();
|
burnInSourceEffect.restartBlurSource()
|
||||||
onBurnInQualityChanged: burnInSourceEffect.restartBlurSource();
|
}
|
||||||
|
|
||||||
|
function onTerminalFontChanged() {
|
||||||
|
burnInSourceEffect.restartBlurSource()
|
||||||
|
}
|
||||||
|
|
||||||
|
function onRasterizationChanged() {
|
||||||
|
burnInSourceEffect.restartBlurSource()
|
||||||
|
}
|
||||||
|
|
||||||
|
function onBurnInQualityChanged() {
|
||||||
|
burnInSourceEffect.restartBlurSource()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Connections {
|
Connections {
|
||||||
target: kterminalScrollbar
|
target: kterminalScrollbar
|
||||||
onOpacityChanged: burnInSourceEffect.restartBlurSource();
|
|
||||||
|
function onOpacityChanged() {
|
||||||
|
burnInSourceEffect.restartBlurSource()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ShaderEffect {
|
ShaderEffect {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user