;; ;; This script generates the header bar for the Math Department home page. ;; (script-fu-register "script-fu-psuMath-subPageFooter" ; func name "/Xtns/Script-Fu/PSU Math/Sub Page Footer" ; menu position "Creates the sub page footer bar for the PSU Math Department sub pages"; "Ron Tapia" ; author "copyright 2003" ; copyright "Jan 26, 2003" ; creation date "" ; image that the script works on ) (define (script-fu-psuMath-subPageFooter) (let* ((image (car (gimp-image-new 640 25 RGB))) (layer (car (gimp-layer-new image 640 25 RGB_IMAGE "foobar" 100 NORMAL-MODE)))) (gimp-palette-set-background '(7 8 90)) (gimp-palette-set-foreground '(255 255 255)) (gimp-drawable-fill layer BG-IMAGE-FILL) (gimp-image-add-layer image layer 0) (gimp-floating-sel-anchor (car (gimp-text-fontname image layer 75 8 "Math Home" 0 TRUE 12 PIXELS "-adobe-helvetica-bold-r-normal-*-*-120-*-*-p-*-iso8859-1"))) (gimp-floating-sel-anchor (car (gimp-text-fontname image layer 280 8 "Site Map" 0 TRUE 12 PIXELS "-adobe-helvetica-bold-r-normal-*-*-120-*-*-p-*-iso8859-1"))) (gimp-floating-sel-anchor (car (gimp-text-fontname image layer 500 8 "Search" 0 TRUE 12 PIXELS "-adobe-helvetica-bold-r-normal-*-*-120-*-*-p-*-iso8859-1"))) (gimp-display-new image) image))