From 91239b6f62329e84d8b048b14615fe3fce8bd53e Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Tue, 24 Sep 2024 11:19:36 +0000 Subject: [PATCH 1/2] scripts: Remove last use of SF-VALUE This patch replaces SF-VALUE in burn-in-anim.scm with SF-ADJUSTMENT, allowing us to deprecate and remove SF-VALUE from the API. --- plug-ins/script-fu/scripts/burn-in-anim.scm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/plug-ins/script-fu/scripts/burn-in-anim.scm b/plug-ins/script-fu/scripts/burn-in-anim.scm index 0e9cad9a88f..563d4206f0b 100644 --- a/plug-ins/script-fu/scripts/burn-in-anim.scm +++ b/plug-ins/script-fu/scripts/burn-in-anim.scm @@ -228,14 +228,14 @@ "January 2001" "RGBA GRAYA INDEXEDA" SF-ONE-OR-MORE-DRAWABLE - SF-COLOR _"Glow color" "white" - SF-TOGGLE _"Fadeout" FALSE - SF-VALUE _"Fadeout width" "100" - SF-VALUE _"Corona width" "7" - SF-VALUE _"After glow" "50" - SF-TOGGLE _"Add glowing" TRUE - SF-TOGGLE _"Prepare for GIF" FALSE - SF-VALUE _"Speed (pixels/frame)" "50" + SF-COLOR _"Glow color" "white" + SF-TOGGLE _"Fadeout" FALSE + SF-ADJUSTMENT _"Fadeout width" '(100 1 2342 1 10 0 SF-SPINNER) + SF-ADJUSTMENT _"Corona width" '(7 1 2342 1 10 0 SF-SPINNER) + SF-ADJUSTMENT _"After glow" '(50 1 1024 1 10 0 SF-SPINNER) + SF-TOGGLE _"Add glowing" TRUE + SF-TOGGLE _"Prepare for GIF" FALSE + SF-ADJUSTMENT _"Speed (pixels/frame)" '(50 1 1024 1 10 0 SF-SPINNER) ) (script-fu-menu-register "script-fu-burn-in-anim" -- GitLab From 8788c68cb970e30297d128c19cc8075fb6c5dc2c Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Tue, 24 Sep 2024 12:54:44 +0000 Subject: [PATCH 2/2] Minor range update --- plug-ins/script-fu/scripts/burn-in-anim.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug-ins/script-fu/scripts/burn-in-anim.scm b/plug-ins/script-fu/scripts/burn-in-anim.scm index 563d4206f0b..92ec21ce38d 100644 --- a/plug-ins/script-fu/scripts/burn-in-anim.scm +++ b/plug-ins/script-fu/scripts/burn-in-anim.scm @@ -230,7 +230,7 @@ SF-ONE-OR-MORE-DRAWABLE SF-COLOR _"Glow color" "white" SF-TOGGLE _"Fadeout" FALSE - SF-ADJUSTMENT _"Fadeout width" '(100 1 2342 1 10 0 SF-SPINNER) + SF-ADJUSTMENT _"Fadeout width" '(100 1 3000 1 10 0 SF-SPINNER) SF-ADJUSTMENT _"Corona width" '(7 1 2342 1 10 0 SF-SPINNER) SF-ADJUSTMENT _"After glow" '(50 1 1024 1 10 0 SF-SPINNER) SF-TOGGLE _"Add glowing" TRUE -- GitLab