This is an adaption of a script that I found (not sure where now but possible to re-find by searching on google). The name under the registration was Lucas Pettett so I guess it was his.
Originally it took some colours and text and produced a vista style button with a gradient dark part and light part horizontally divided. The corners were rounded and it had a border.
I have added the following things (so I can quickly create buttons for some of the applications I am working on):
I'm not a script-fu programmer so most of this is trial and error and would probably benefit from some expert scrutiny.
The GIMP I'm using is 2.6 on windows so I don't know if it works elsewhere.
(examples attached below)
Attachment | Size |
---|---|
v_but_0.png | 4.84 KB |
v_but_1.png | 4.01 KB |
v_but_3.png | 5.43 KB |
vista_button.scm | 5.28 KB |
Comments
You script file does not
Love it but...
Brandon Should work OK now
Please, make it internationalized
Just a tip
Tip for this error:
make a new gradient with "FG to Transparent" name, and set right color to Foreground (transparent). And working now with any language... :-)
good point
(gimp-edit-blend layerhighlight FG-TRANSPARENT-MODE ...
seems to specify the job required, and when I comment out the line you had to translate, the script seems to work just as well!