From d6e46d951c527e10bfbb462976ebb5c28fea7260 Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Sat, 28 May 2022 21:05:52 +0200 Subject: [PATCH] :truck: Rename burn effect --- extension.js | 2 +- prefs.js | 2 +- .../shaders/{burn.glsl => incinerate.frag} | 22 +++++++----- resources/ui/gtk4/{Burn.ui => Incinerate.ui} | 22 ++++++------ ...ell.extensions.burn-my-windows.gschema.xml | 36 +++++++++---------- src/{Burn.js => Incinerate.js} | 32 ++++++++--------- 6 files changed, 61 insertions(+), 55 deletions(-) rename resources/shaders/{burn.glsl => incinerate.frag} (64%) rename resources/ui/gtk4/{Burn.ui => Incinerate.ui} (92%) rename src/{Burn.js => Incinerate.js} (89%) diff --git a/extension.js b/extension.js index caf4ab2..992417b 100644 --- a/extension.js +++ b/extension.js @@ -52,11 +52,11 @@ class Extension { this._ALL_EFFECTS = [ new Me.imports.src.Apparition.Apparition(), new Me.imports.src.BrokenGlass.BrokenGlass(), - new Me.imports.src.Burn.Burn(), new Me.imports.src.EnergizeA.EnergizeA(), new Me.imports.src.EnergizeB.EnergizeB(), new Me.imports.src.Fire.Fire(), new Me.imports.src.Hexagon.Hexagon(), + new Me.imports.src.Incinerate.Incinerate(), new Me.imports.src.Matrix.Matrix(), new Me.imports.src.SnapOfDisintegration.SnapOfDisintegration(), new Me.imports.src.TRexAttack.TRexAttack(), diff --git a/prefs.js b/prefs.js index 5b8cab2..3bc0863 100644 --- a/prefs.js +++ b/prefs.js @@ -48,11 +48,11 @@ var PreferencesDialog = class PreferencesDialog { this._ALL_EFFECTS = [ new Me.imports.src.Apparition.Apparition(), new Me.imports.src.BrokenGlass.BrokenGlass(), - new Me.imports.src.Burn.Burn(), new Me.imports.src.EnergizeA.EnergizeA(), new Me.imports.src.EnergizeB.EnergizeB(), new Me.imports.src.Fire.Fire(), new Me.imports.src.Hexagon.Hexagon(), + new Me.imports.src.Incinerate.Incinerate(), new Me.imports.src.Matrix.Matrix(), new Me.imports.src.SnapOfDisintegration.SnapOfDisintegration(), new Me.imports.src.TRexAttack.TRexAttack(), diff --git a/resources/shaders/burn.glsl b/resources/shaders/incinerate.frag similarity index 64% rename from resources/shaders/burn.glsl rename to resources/shaders/incinerate.frag index 7287eb1..08a6225 100644 --- a/resources/shaders/burn.glsl +++ b/resources/shaders/incinerate.frag @@ -1,11 +1,17 @@ -// Inject some common shader snippets. It is only possible to include glsl files from the -// "common" directory. Also, the files in the "common" directory are not allowed to -// include any further files. -#include "common/uniforms.glsl" -#include "common/noise.glsl" -#include "common/easing.glsl" -#include "common/compositing.glsl" -#include "common/edgeMask.glsl" +////////////////////////////////////////////////////////////////////////////////////////// +// ) ( // +// ( /( ( ( ) ( ( ( ( )\ ) ( ( // +// )\()) ))\ )( ( ( )\ ) )\))( )\ ( (()/( ( )\))( ( // +// ((_)\ /((_|()\ )\ ) )\ '(()/( ((_)()((_) )\ ) ((_)))\((_)()\ )\ // +// | |(_|_))( ((_)_(_/( _((_)) )(_)) _(()((_|_)_(_/( _| |((_)(()((_|(_) // +// | '_ \ || | '_| ' \)) | ' \()| || | \ V V / | ' \)) _` / _ \ V V (_-< // +// |_.__/\_,_|_| |_||_| |_|_|_| \_, | \_/\_/|_|_||_|\__,_\___/\_/\_//__/ // +// |__/ // +// Copyright (c) 2021 Simon Schneegans // +// Released under the GPLv3 or later. See LICENSE file for details. // +////////////////////////////////////////////////////////////////////////////////////////// + +// The content from common.glsl is automatically prepended to each shader effect. uniform vec2 uSeed; uniform vec3 uColor; diff --git a/resources/ui/gtk4/Burn.ui b/resources/ui/gtk4/Incinerate.ui similarity index 92% rename from resources/ui/gtk4/Burn.ui rename to resources/ui/gtk4/Incinerate.ui index 1dab008..07c904f 100644 --- a/resources/ui/gtk4/Burn.ui +++ b/resources/ui/gtk4/Incinerate.ui @@ -1,7 +1,7 @@ - + vertical @@ -37,7 +37,7 @@ left 300 - + 10000 100 1 @@ -47,7 +47,7 @@ - + edit-clear-symbolic Reset to Default Value