]> git.jsancho.org Git - guile-irrlicht.git/commitdiff
set-resizable!
authorJavier Sancho <jsf@jsancho.org>
Sat, 23 May 2020 06:43:46 +0000 (08:43 +0200)
committerJavier Sancho <jsf@jsancho.org>
Sat, 23 May 2020 06:43:46 +0000 (08:43 +0200)
irrlicht.scm
irrlicht/device.scm
irrlicht/irr.scm

index 80662cf03ce8d8c4852b46c903595c39c5a4fd1d..9c6a8a92c0116b2e7e30faa9aef77f5b88091274 100644 (file)
                set-md2-animation!
                set-override-color!
                set-position!
+               set-resizable!
                set-rotation!
                set-scale!
                set-transform!
index 9f17902bee6ecb3685adc8a35eb16434e2d8da9e..8a64fcab17b465e756e7f0c724cd2e23c86f51af 100644 (file)
 (define-method (run (device <irrlicht-device>))
   ((get-irrlicht-proc "run" device) device))
 
+(define-method (set-resizable! (device <irrlicht-device>) resize)
+  (let ((setResizable (get-irrlicht-proc "setResizable" device)))
+    (setResizable device resize)))
+
 (define-method (set-window-caption! (device <irrlicht-device>) text)
   ((get-irrlicht-proc "setWindowCaption" device)
    device text))
@@ -90,5 +94,5 @@
     (yield device)))
 
 (export <irrlicht-device> create-device get-cursor-control get-file-system get-gui-environment
-        get-scene-manager get-timer get-video-driver is-window-active? run set-window-caption!
-        yield-device)
+        get-scene-manager get-timer get-video-driver is-window-active? run set-resizable!
+        set-window-caption! yield-device)
index 037b459edcd667d1360b63287f3fe3d994dc34b0..e105ff7a5565bfe16e0ccddb770e6b4a7e7616e9 100644 (file)
   (irr-class #:init-value "SEvent"))
 
 (define-method (get-event-key (event <event>))
-  (let ((SEvent_SKeyInput_Key (get-irrlicht-proc "SKeyInput_Key" event)))
-    (SEvent_SKeyInput_Key event)))
+  (let ((SKeyInput_Key (get-irrlicht-proc "SKeyInput_Key" event)))
+    (SKeyInput_Key event)))
 
 (define-method (get-event-key-pressed (event <event>))
-  (let ((SEvent_SKeyInput_PressedDown (get-irrlicht-proc "SKeyInput_PressedDown" event)))
-    (SEvent_SKeyInput_PressedDown event)))
+  (let ((SKeyInput_PressedDown (get-irrlicht-proc "SKeyInput_PressedDown" event)))
+    (SKeyInput_PressedDown event)))
 
 (define-method (get-event-type (event <event>))
-  (let ((SEvent_EventType (get-irrlicht-proc "EventType" event)))
-    (SEvent_EventType event)))
+  (let ((EventType (get-irrlicht-proc "EventType" event)))
+    (EventType event)))
 
 (export <event> get-event-key get-event-key-pressed get-event-type)