]> git.jsancho.org Git - guile-irrlicht.git/commitdiff
get-built-in-font
authorJavier Sancho <jsf@jsancho.org>
Sat, 23 May 2020 07:00:20 +0000 (09:00 +0200)
committerJavier Sancho <jsf@jsancho.org>
Sat, 23 May 2020 07:00:20 +0000 (09:00 +0200)
irrlicht.scm
irrlicht/gui.scm

index 4cb3d8fcc60084077c12ad15595639a4922890e2..5b6481ec8aab5c612865520e5107dc86b5ef92bc 100644 (file)
@@ -81,6 +81,7 @@
                drop!
                end-scene
                get-absolute-transformation
+               get-built-in-font
                get-cursor-control
                get-event-key
                get-event-key-pressed
index 6012037f0600b79203c8c93c2afa668146fc713e..5e2017bbfcb6bb788276303d89a814ef0ad93121 100644 (file)
   ((get-irrlicht-proc "drawAll" gui-environment)
    gui-environment))
 
+(define-method (get-built-in-font (gui-environment <gui-environment>))
+  (let ((getBuiltInFont (get-irrlicht-proc "getBuiltInFont" gui-environment)))
+    (getBuiltInFont gui-environment)))
+
 (define-method (get-font (gui-environment <gui-environment>) filename)
   (let ((getFont (get-irrlicht-proc "getFont" gui-environment)))
     (getFont gui-environment filename)))
@@ -81,7 +85,7 @@
   (let ((getSkin (get-irrlicht-proc "getSkin" gui-environment)))
     (getSkin gui-environment)))
 
-(export <gui-environment> add-image! add-static-text! draw-all get-font get-skin)
+(export <gui-environment> add-image! add-static-text! draw-all get-built-in-font get-font get-skin)
 
 
 ;; IGUIStaticText