From: Javier Sancho Date: Sat, 23 May 2020 07:18:47 +0000 (+0200) Subject: set-max! X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=6dd88690b25a4df65ee7568377e25a0e1bf3af2f;p=guile-irrlicht.git set-max! --- diff --git a/irrlicht.scm b/irrlicht.scm index 738a339..1aea152 100644 --- a/irrlicht.scm +++ b/irrlicht.scm @@ -116,6 +116,7 @@ set-material! set-material-flag! set-material-texture! + set-max! set-md2-animation! set-override-color! set-position! diff --git a/irrlicht/gui.scm b/irrlicht/gui.scm index 75adff1..900b680 100644 --- a/irrlicht/gui.scm +++ b/irrlicht/gui.scm @@ -154,4 +154,8 @@ (define-class () (irr-class #:init-value "IGUIScrollBar")) -(export ) +(define-method (set-max! (scrollbar ) max) + (let ((setMax (get-irrlicht-proc "setMax" scrollbar))) + (setMax scrollbar max))) + +(export set-max!)