]> git.jsancho.org Git - guile-irrlicht.git/commitdiff
set-max!
authorJavier Sancho <jsf@jsancho.org>
Sat, 23 May 2020 07:18:47 +0000 (09:18 +0200)
committerJavier Sancho <jsf@jsancho.org>
Sat, 23 May 2020 07:18:47 +0000 (09:18 +0200)
irrlicht.scm
irrlicht/gui.scm

index 738a339d3e49beaa1cba70613cd12f78cedc0f33..1aea1521298d53b06bb912c29d7c5358b1a52de6 100644 (file)
                set-material!
                set-material-flag!
                set-material-texture!
+               set-max!
                set-md2-animation!
                set-override-color!
                set-position!
index 75adff1f8d49a18f8d91f081a17f528310f3023d..900b680f3466e829c4242bc1b4b4fd1495e2e9df 100644 (file)
 (define-class <gui-scrollbar> (<gui-element>)
   (irr-class #:init-value "IGUIScrollBar"))
 
-(export <gui-scrollbar>)
+(define-method (set-max! (scrollbar <gui-scrollbar>) max)
+  (let ((setMax (get-irrlicht-proc "setMax" scrollbar)))
+    (setMax scrollbar max)))
+
+(export <gui-scrollbar> set-max!)