Porting scripts to new API, marking layer names for translation

This commit is contained in:
Alexandre Prokoudine
2010-10-10 03:52:15 +04:00
parent e1a705c125
commit 0a4657ae9f
6 changed files with 27 additions and 27 deletions

View File

@ -53,8 +53,8 @@
(+ ascent descent)))
(img (car (gimp-image-new width height RGB)))
(background (car (gimp-layer-new img width height RGBA-IMAGE "Background" 100 NORMAL-MODE)))
(bumpmap (car (gimp-layer-new img width height RGBA-IMAGE "Bumpmap" 100 NORMAL-MODE)))
(background (car (gimp-layer-new img width height RGBA-IMAGE _"Background" 100 NORMAL-MODE)))
(bumpmap (car (gimp-layer-new img width height RGBA-IMAGE _"Bumpmap" 100 NORMAL-MODE)))
(textl (car
(gimp-text-fontname
img -1 0 0 text 0 TRUE text-size PIXELS font)))
@ -63,8 +63,8 @@
(gimp-context-push)
(gimp-image-undo-disable img)
(gimp-image-add-layer img background 1)
(gimp-image-add-layer img bumpmap 1)
(gimp-image-insert-layer img background -1 1)
(gimp-image-insert-layer img bumpmap -1 1)
; Create pattern layer