From f0da6b5b2ca5b945912888864b264dc79dc031a1 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Fri, 15 May 2020 08:07:02 +0200 Subject: [PATCH] set-visible! --- irrlicht.scm | 1 + irrlicht/gui.scm | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/irrlicht.scm b/irrlicht.scm index 2807ec8..103ac60 100644 --- a/irrlicht.scm +++ b/irrlicht.scm @@ -51,6 +51,7 @@ set-material-texture! set-md2-animation! set-position! + set-visible! set-window-caption!)) ;; Merged methods have to be exported apart diff --git a/irrlicht/gui.scm b/irrlicht/gui.scm index 818d062..1471409 100644 --- a/irrlicht/gui.scm +++ b/irrlicht/gui.scm @@ -27,6 +27,17 @@ #:use-module (irrlicht irr)) +;; ICursorControl +(define-class () + (irr-class #:init-value "ICursorControl")) + +(define-method (set-visible! (cursor-control ) visible) + (let ((setVisible (get-irrlicht-proc "setVisible" cursor-control))) + (setVisible cursor-control visible))) + +(export set-visible!) + + ;; IGUIElement (define-class ( ) (irr-class #:init-value "IGUIElement")) -- 2.39.5