]> git.jsancho.org Git - guile-irrlicht.git/blobdiff - src/gui-environment.h
guile-irrlicht
[guile-irrlicht.git] / src / gui-environment.h
index caac2eeda7653f21c0ac15ab9f4797974101340d..064cb5df6b3b1ab0c83b2cdb6b5a701c6dd40e60 100644 (file)
 
 #include <irrlicht/irrlicht.h>
 #include <libguile.h>
-#include "wrapped.h"
 
-extern "C" {
+template <typename TParent>
+SCM
+gui_IGUIEnvironment_addButton (SCM gui_environment,
+                                   SCM rectangle,
+                                   SCM parent,
+                                   SCM id,
+                                   SCM text,
+                                   SCM tooltiptext);
 
-  void
-  init_gui_environment (void);
+template <typename TParent>
+SCM
+gui_IGUIEnvironment_addEditBox (SCM gui_environment,
+                                    SCM text,
+                                    SCM rectangle,
+                                    SCM border,
+                                    SCM parent,
+                                    SCM id);
+
+template <typename TParent>
+SCM
+gui_IGUIEnvironment_addImage (SCM gui_environment,
+                                  SCM image,
+                                  SCM position,
+                                  SCM use_alpha_channel,
+                                  SCM parent,
+                                  SCM id,
+                                  SCM text);
+
+template <typename TParent>
+SCM
+gui_IGUIEnvironment_addListBox (SCM gui_environment,
+                                    SCM rectangle,
+                                    SCM parent,
+                                    SCM id,
+                                    SCM draw_background);
+
+template <typename TParent>
+SCM
+gui_IGUIEnvironment_addScrollBar (SCM gui_environment,
+                                      SCM horizontal,
+                                      SCM rectangle,
+                                      SCM parent,
+                                      SCM id);
 
-  DECLARE_WRAPPED_TYPE (irr::gui::IGUIEnvironment*, init_gui_environment_type,
-                        gui_environment_p, wrap_gui_environment, unwrap_gui_environment);
+template <typename TParent>
+SCM
+gui_IGUIEnvironment_addStaticText (SCM gui_environment,
+                                       SCM text,
+                                       SCM rectangle,
+                                       SCM border,
+                                       SCM word_wrap,
+                                       SCM parent,
+                                       SCM id,
+                                       SCM fill_background);
 
-  SCM
-  irr_getGUIEnvironment (SCM wrapped_obj);
+template <typename TParent>
+SCM
+gui_IGUIEnvironment_addWindow (SCM gui_environment,
+                                   SCM rectangle,
+                                   SCM modal,
+                                   SCM text,
+                                   SCM parent,
+                                   SCM id);
 
-  SCM
-  irr_gui_addStaticText (SCM guienv,
-                         SCM text,
-                         SCM rectangle,
-                         SCM border,
-                         SCM wordWrap,
-                         SCM parent,
-                         SCM id,
-                         SCM fillBackground);
+SCM
+gui_IGUIEnvironment_drawAll (SCM gui_environment);
 
+SCM
+gui_IGUIEnvironment_getBuiltInFont (SCM gui_environment);
+
+SCM
+gui_IGUIEnvironment_getFont (SCM gui_environment,
+                                 SCM filename);
+
+SCM
+gui_IGUIEnvironment_getSkin (SCM gui_environment);
+
+extern "C" {
+  void
+  init_gui_environment (void);
 }
 
 #endif