diff --git a/ChangeLog b/ChangeLog index 20456c43d7..5697273263 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-10-29 Kevin Cozens + + * plug-ins/script-fu/scripts/test-sphere.scm: Added notes about + use of SF-PALETTE. + 2004-10-29 Sven Neumann * plug-ins/common/jpeg.c: pass the name in filesystem encoding to diff --git a/plug-ins/script-fu/scripts/test-sphere.scm b/plug-ins/script-fu/scripts/test-sphere.scm index 2cdf54671c..f37636fe9c 100644 --- a/plug-ins/script-fu/scripts/test-sphere.scm +++ b/plug-ins/script-fu/scripts/test-sphere.scm @@ -75,6 +75,18 @@ ; gradient name. If the above selection was not altered the string would ; contain "Deep Sea" ; ---------------------------------------------------------------------- +; SF-PALETTE +; Only useful in interactive mode. It will create a widget in the control +; dialog. The widget consists of a button containing a preview of the selected +; palette. If the button is pressed a palette selection dialog will popup. +; +; Usage: +; SF-PALETTE "Palette" "Named Colors" +; +; The value returned when the script is invoked is a string containing the +; palette name. If the above selection was not altered the string would +; contain "Named Colors" +; ---------------------------------------------------------------------- ; SF-FILENAME ; Only useful in interactive mode. It will create a widget in the control ; dialog. The widget consists of a button containing the name of a file.