(getBuiltInFont gui-environment)))
(define-method (get-font (gui-environment <gui-environment>) filename)
- (let ((getFont (get-irrlicht-proc "getFont" gui-environment))
- (font (getFont gui-environment filename)))
+ (let* ((getFont (get-irrlicht-proc "getFont" gui-environment))
+ (font (getFont gui-environment filename)))
(if (null-object? font)
(error "In procedure get-font: Font unavailable")
font)))
(let ((SGUIEvent_Caller (get-irrlicht-proc "SGUIEvent_Caller" event)))
(SGUIEvent_Caller event)))
+(define-method (get-event-gui-type (event <event>))
+ (let ((SGUIEvent_EventType (get-irrlicht-proc "SGUIEvent_EventType" event)))
+ (SGUIEvent_EventType event)))
+
(define-method (get-event-key (event <event>))
(let ((SKeyInput_Key (get-irrlicht-proc "SKeyInput_Key" event)))
(SKeyInput_Key event)))
(let ((EventType (get-irrlicht-proc "EventType" event)))
(EventType event)))
-(export <event> get-event-gui-caller get-event-key get-event-key-pressed get-event-type)
+(export <event> get-event-gui-caller get-event-gui-type get-event-key get-event-key-pressed
+ get-event-type)
;; IEventReceiver