1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-11-01 23:52:06 +00:00

Settings optin for old burinin version. It seems to be working better on osx.

This commit is contained in:
Filippo Scognamiglio
2019-01-09 19:01:11 +01:00
parent f2f38c0e0d
commit 0af2b20b3a
8 changed files with 182 additions and 18 deletions

View File

@@ -33,6 +33,9 @@ QtObject{
readonly property real minimumFontScaling: 0.25
readonly property real maximumFontScaling: 2.50
readonly property real minBurnInFadeTime: 160
readonly property real maxBurnInFadeTime: 1600
// GENERAL SETTINGS ///////////////////////////////////////////////////////
property int x: 100
@@ -52,7 +55,9 @@ QtObject{
property bool verbose: false
property real bloomQuality: 0.5
property real burnInQuality: 0.5
property bool useFastBurnIn: Qt.platform.os === "osx" ? false : true
onWindowScalingChanged: handleFontChanged();
@@ -202,7 +207,8 @@ QtObject{
bloomQuality: bloomQuality,
burnInQuality: burnInQuality,
useCustomCommand: useCustomCommand,
customCommand: customCommand
customCommand: customCommand,
useFastBurnIn: useFastBurnIn
}
return stringify(settings);
}
@@ -288,6 +294,8 @@ QtObject{
useCustomCommand = settings.useCustomCommand !== undefined ? settings.useCustomCommand : useCustomCommand
customCommand = settings.customCommand !== undefined ? settings.customCommand : customCommand
useFastBurnIn = settings.useFastBurnIn !== undefined ? settings.useFastBurnIn : useFastBurnIn;
}
function loadProfileString(profileString){