(let ((addImage (get-irrlicht-proc "addImage" gui-environment parent)))
(addImage gui-environment image pos use-alpha-channel parent id text))))
+(define-method (add-scrollbar! (gui-environment <gui-environment>) horizontal rectangle . rest)
+ (let-keywords rest #f
+ ((parent (make <gui-element>))
+ (id -1))
+ (let ((addScrollBar (get-irrlicht-proc "addScrollBar" gui-environment parent)))
+ (addScrollBar gui-environment horizontal rectangle parent id))))
+
(define-method (add-static-text! (gui-environment <gui-environment>) text rectangle . rest)
(let-keywords rest #f
((border #f)
(let ((getSkin (get-irrlicht-proc "getSkin" gui-environment)))
(getSkin gui-environment)))
-(export <gui-environment> add-button! add-image! add-static-text! draw-all get-built-in-font
- get-font get-skin)
+(export <gui-environment> add-button! add-image! add-scrollbar! add-static-text! draw-all
+ get-built-in-font get-font get-skin)
;; IGUIStaticText
(irr-class #:init-value "IGUIButton"))
(export <gui-button>)
+
+
+;; IGUIScrollBar
+(define-class <gui-scrollbar> (<gui-element>)
+ (irr-class #:init-value "IGUIScrollBar"))
+
+(export <gui-scrollbar>)