Refactor: extract all the other effects from main terminal.

This commit is contained in:
Filippo Scognamiglio
2014-12-11 10:40:14 +01:00
parent 9f943aa2d0
commit 68a8d7d212
3 changed files with 45 additions and 53 deletions

View File

@@ -23,12 +23,13 @@ import QtGraphicalEffects 1.0
ShaderEffect {
property ShaderEffectSource source
property ShaderEffectSource rasterizationSource
property ShaderEffectSource noiseSource
property ShaderEffectSource bloomSource
property color font_color: shadersettings.font_color
property color background_color: shadersettings.background_color
property variant source: terminal.theSource
property variant bloomSource: terminal.bloomSource
property real bloom_strength: shadersettings.bloom_strength * 2.5
property real jitter: shadersettings.jitter * 0.007