1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-11-01 15:42:12 +00:00

Improved frames. They are now faster, better looking, and more customizable. Also added a workaround for segementation faults when changing them.

This commit is contained in:
Filippo Scognamiglio
2014-12-20 14:58:57 +01:00
parent 297201a75f
commit df76d83d4b
11 changed files with 159 additions and 117 deletions

View File

@@ -49,10 +49,10 @@ ShaderEffect {
property bool frameReflections: appSettings.frameReflections
property real disp_top: (frame.item.displacementTop * appSettings.window_scaling) / height
property real disp_bottom: (frame.item.displacementBottom * appSettings.window_scaling) / height
property real disp_left: (frame.item.displacementLeft * appSettings.window_scaling) / width
property real disp_right: (frame.item.displacementRight * appSettings.window_scaling) / width
property real disp_top: (frame.displacementTop * appSettings.window_scaling) / height
property real disp_bottom: (frame.displacementBottom * appSettings.window_scaling) / height
property real disp_left: (frame.displacementLeft * appSettings.window_scaling) / width
property real disp_right: (frame.displacementRight * appSettings.window_scaling) / width
property real screen_brightness: appSettings.brightness * 1.5 + 0.5