mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-04-15 15:20:49 +01:00
Moving time manager in ShaderTerminal since it is only used there.
This commit is contained in:
parent
4f22704922
commit
5552bea525
@ -53,7 +53,12 @@ ShaderEffect {
|
|||||||
|
|
||||||
property real screen_brightness: shadersettings.brightness * 1.5 + 0.5
|
property real screen_brightness: shadersettings.brightness * 1.5 + 0.5
|
||||||
|
|
||||||
property real time: timeManager.time
|
TimeManager{
|
||||||
|
id: timeManager
|
||||||
|
enableTimer: terminalWindow.visible
|
||||||
|
}
|
||||||
|
|
||||||
|
property alias time: timeManager.time
|
||||||
property variant randomFunctionSource: randfuncsource
|
property variant randomFunctionSource: randfuncsource
|
||||||
|
|
||||||
// If something goes wrong activate the fallback version of the shader.
|
// If something goes wrong activate the fallback version of the shader.
|
||||||
|
@ -108,10 +108,6 @@ ApplicationWindow{
|
|||||||
ApplicationSettings{
|
ApplicationSettings{
|
||||||
id: shadersettings
|
id: shadersettings
|
||||||
}
|
}
|
||||||
TimeManager{
|
|
||||||
id: timeManager
|
|
||||||
enableTimer: terminalWindow.visible
|
|
||||||
}
|
|
||||||
TerminalContainer{
|
TerminalContainer{
|
||||||
id: terminalContainer
|
id: terminalContainer
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user