Script-Fu string cleanup/simplification: apply the same fix for menu path
2004-11-18 Michael Natterer <mitch@gimp.org> Script-Fu string cleanup/simplification: apply the same fix for menu path translation that was done for plug-ins a while ago. * plug-ins/script-fu/script-fu.c (script_fu_auxillary_init): use gimp_plugin_menu_register() on the "Refresh" temp_proc. * plug-ins/script-fu/scripts/*.scm: ported all scripts to use script-fu-menu-register and pass just the menu label in script-fu-register. Cleaned up all register calls to share a somewhat similar formatting.
This commit is contained in:
committed by
Michael Natterer
parent
2d4aad8683
commit
8a46203e5a
@ -317,46 +317,45 @@
|
||||
)
|
||||
|
||||
|
||||
|
||||
(script-fu-register "script-fu-spyrogimp"
|
||||
_"<Image>/Script-Fu/Render/_Spyrogimp..."
|
||||
_"Draws Spirographs, Epitrochoids and Lissajous Curves. More info at http://netword.com/*spyrogimp"
|
||||
"Elad Shahar <elad@wisdom.weizmann.ac.il>"
|
||||
"Elad Shahar"
|
||||
"June 2003"
|
||||
"RGB*, INDEXED*, GRAY*"
|
||||
SF-IMAGE "Image" 0
|
||||
SF-DRAWABLE "Drawable" 0
|
||||
_"_Spyrogimp..."
|
||||
_"Draws Spirographs, Epitrochoids and Lissajous Curves. More info at http://netword.com/*spyrogimp"
|
||||
"Elad Shahar <elad@wisdom.weizmann.ac.il>"
|
||||
"Elad Shahar"
|
||||
"June 2003"
|
||||
"RGB*, INDEXED*, GRAY*"
|
||||
SF-IMAGE "Image" 0
|
||||
SF-DRAWABLE "Drawable" 0
|
||||
|
||||
SF-OPTION _"Type" '(_"Spyrograph"
|
||||
_"Epitrochoid"
|
||||
_"Lissajous")
|
||||
SF-OPTION _"Shape" '(_"Circle"
|
||||
_"Frame"
|
||||
_"Triangle"
|
||||
_"Square"
|
||||
_"Pentagon"
|
||||
_"Hexagon"
|
||||
_"Polygon: 7 sides"
|
||||
_"Polygon: 8 sides"
|
||||
_"Polygon: 9 sides"
|
||||
_"Polygon: 10 sides")
|
||||
SF-ADJUSTMENT _"Outer teeth" '(90 1 120 1 10 0 0)
|
||||
SF-ADJUSTMENT _"Inner teeth" '(70 1 120 1 10 0 0)
|
||||
SF-ADJUSTMENT _"Margin (pixels)" '(0 -10000 10000 1 10 0 1)
|
||||
SF-ADJUSTMENT _"Hole ratio" '(0.4 0.0 1.0 0.01 0.1 2 0)
|
||||
SF-ADJUSTMENT _"Start angle" '(0 0 359 1 10 0 0)
|
||||
SF-OPTION _"Type" '(_"Spyrograph"
|
||||
_"Epitrochoid"
|
||||
_"Lissajous")
|
||||
SF-OPTION _"Shape" '(_"Circle"
|
||||
_"Frame"
|
||||
_"Triangle"
|
||||
_"Square"
|
||||
_"Pentagon"
|
||||
_"Hexagon"
|
||||
_"Polygon: 7 sides"
|
||||
_"Polygon: 8 sides"
|
||||
_"Polygon: 9 sides"
|
||||
_"Polygon: 10 sides")
|
||||
SF-ADJUSTMENT _"Outer teeth" '(90 1 120 1 10 0 0)
|
||||
SF-ADJUSTMENT _"Inner teeth" '(70 1 120 1 10 0 0)
|
||||
SF-ADJUSTMENT _"Margin (pixels)" '(0 -10000 10000 1 10 0 1)
|
||||
SF-ADJUSTMENT _"Hole ratio" '(0.4 0.0 1.0 0.01 0.1 2 0)
|
||||
SF-ADJUSTMENT _"Start angle" '(0 0 359 1 10 0 0)
|
||||
|
||||
SF-OPTION _"Tool" '(_"Pencil"
|
||||
_"Brush"
|
||||
_"Airbrush")
|
||||
SF-BRUSH _"Brush" '("Circle (01)" 1.0 -1 0)
|
||||
SF-OPTION _"Tool" '(_"Pencil"
|
||||
_"Brush"
|
||||
_"Airbrush")
|
||||
SF-BRUSH _"Brush" '("Circle (01)" 1.0 -1 0)
|
||||
|
||||
SF-OPTION _"Color method" '(_"Solid Color"
|
||||
_"Gradient: Loop Sawtooth"
|
||||
_"Gradient: Loop Triangle")
|
||||
SF-COLOR _"Color" '(0 0 0)
|
||||
SF-GRADIENT _"Gradient" "Deep Sea"
|
||||
)
|
||||
SF-OPTION _"Color method" '(_"Solid Color"
|
||||
_"Gradient: Loop Sawtooth"
|
||||
_"Gradient: Loop Triangle")
|
||||
SF-COLOR _"Color" '(0 0 0)
|
||||
SF-GRADIENT _"Gradient" "Deep Sea")
|
||||
|
||||
;; End of syprogimp.scm
|
||||
(script-fu-menu-register "script-fu-spyrogimp"
|
||||
_"<Image>/Script-Fu/Render")
|
||||
|
||||
Reference in New Issue
Block a user