(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))
(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)
(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)