From ca3e7fd267ab3ccda9a71600d9fa4212c37bb5c7 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Sat, 23 May 2020 08:49:24 +0200 Subject: [PATCH] get-skin --- irrlicht.scm | 2 ++ irrlicht/gui.scm | 13 ++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/irrlicht.scm b/irrlicht.scm index 9c6a8a9..ec412e2 100644 --- a/irrlicht.scm +++ b/irrlicht.scm @@ -43,6 +43,7 @@ + @@ -90,6 +91,7 @@ get-name get-root-scene-node get-scene-manager + get-skin get-texture get-time get-timer diff --git a/irrlicht/gui.scm b/irrlicht/gui.scm index 1d97d75..204c97d 100644 --- a/irrlicht/gui.scm +++ b/irrlicht/gui.scm @@ -73,7 +73,11 @@ ((get-irrlicht-proc "drawAll" gui-environment) gui-environment)) -(export add-image! add-static-text! draw-all) +(define-method (get-skin (gui-environment )) + (let ((getSkin (get-irrlicht-proc "getSkin" gui-environment))) + (getSkin gui-environment))) + +(export add-image! add-static-text! draw-all get-skin) ;; IGUIStaticText @@ -92,3 +96,10 @@ (irr-class #:init-value "IGUIImage")) (export ) + + +;; IGUISkin +(define-class () + (irr-class #:init-value "IGUISkin")) + +(export ) -- 2.39.5