1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2024-10-06 02:50:50 +01:00

Fix smooth, reenable antialising and remove few useless lines.

This commit is contained in:
Filippo Scognamiglio 2014-09-13 23:19:00 +02:00
parent 67ea080c2e
commit bc87df170b
3 changed files with 4 additions and 7 deletions

View File

@ -45,8 +45,6 @@ Item{
property real _minBlurCoefficient: 0.70
property real _maxBlurCoefficient: 0.90
property size virtualPxSize: Qt.size(1,1)
property real mBloom: shadersettings.bloom_strength
property int mScanlines: shadersettings.rasterization
onMScanlinesChanged: restartBlurredSource()
@ -168,7 +166,7 @@ Item{
id: kterminalSource
sourceItem: kterminal
hideSource: true
smooth: false
smooth: mScanlines == shadersettings.no_rasterization
}
Loader{
id: blurredSourceLoader
@ -180,7 +178,8 @@ Item{
recursive: true
live: false
hideSource: true
smooth: false
smooth: mScanlines == shadersettings.no_rasterization
function restartBlurSource(){
livetimer.restart();

View File

@ -32,8 +32,6 @@ ShaderEffect {
property size txt_Size: Qt.size(frame.sourceRect.width, frame.sourceRect.height)
property real bloom_strength: shadersettings.bloom_strength * 2.5
property int rasterization: shadersettings.rasterization
property real jitter: shadersettings.jitter * 0.007
property real noise_strength: shadersettings.noise_strength

View File

@ -87,7 +87,7 @@ const ColorEntry base_color_table[TABLE_COLORS] =
// scroll increment used when dragging selection at top/bottom of window.
// static
bool KTerminalDisplay::_antialiasText = false;
bool KTerminalDisplay::_antialiasText = true;
bool KTerminalDisplay::HAVE_TRANSPARENCY = true;
// we use this to force QPainter to display text in LTR mode