]> git.jsancho.org Git - guile-irrlicht.git/blob - src/gui-environment.h
gui-environment for GOOPS
[guile-irrlicht.git] / src / gui-environment.h
1 /* guile-irrlicht --- GNU Guile bindings for Irrlicht Engine
2
3    Copyright (C) 2020 Javier Sancho <jsf@jsancho.org>
4
5    This file is part of guile-irrlicht.
6
7    guile-irrlicht is free software; you can redistribute it and/or modify
8    it under the terms of the GNU Lesser General Public License as
9    published by the Free Software Foundation; either version 3 of the
10    License, or (at your option) any later version.
11
12    guile-irrlicht is distributed in the hope that it will be useful, but
13    WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15    General Public License for more details.
16
17    You should have received a copy of the GNU Lesser General Public
18    License along with guile-irrlicht. If not, see
19    <http://www.gnu.org/licenses/>.
20 */
21
22 #ifndef __GUILE_IRRLICHT_GUI_ENVIRONMENT_H_INCLUDED__
23 #define __GUILE_IRRLICHT_GUI_ENVIRONMENT_H_INCLUDED__
24
25 #include <irrlicht/irrlicht.h>
26 #include <libguile.h>
27 #include "wrapped.h"
28
29
30 template <typename TParent>
31 SCM
32 irr_gui_IGUIEnvironment_addButton (SCM gui_environment,
33                                    SCM rectangle,
34                                    SCM parent,
35                                    SCM id,
36                                    SCM text,
37                                    SCM tooltiptext);
38
39
40 template <typename TParent>
41 SCM
42 irr_gui_IGUIEnvironment_addEditBox (SCM gui_environment,
43                                     SCM text,
44                                     SCM rectangle,
45                                     SCM border,
46                                     SCM parent,
47                                     SCM id);
48
49
50 template <typename TParent>
51 SCM
52 irr_gui_IGUIEnvironment_addImage (SCM gui_environment,
53                                   SCM image,
54                                   SCM position,
55                                   SCM use_alpha_channel,
56                                   SCM parent,
57                                   SCM id,
58                                   SCM text);
59
60
61 template <typename TParent>
62 SCM
63 irr_gui_IGUIEnvironment_addListBox (SCM gui_environment,
64                                     SCM rectangle,
65                                     SCM parent,
66                                     SCM id,
67                                     SCM draw_background);
68
69
70 template <typename TParent>
71 SCM
72 irr_gui_IGUIEnvironment_addScrollBar (SCM gui_environment,
73                                       SCM horizontal,
74                                       SCM rectangle,
75                                       SCM parent,
76                                       SCM id);
77
78
79 template <typename TParent>
80 SCM
81 irr_gui_IGUIEnvironment_addStaticText (SCM gui_environment,
82                                        SCM text,
83                                        SCM rectangle,
84                                        SCM border,
85                                        SCM word_wrap,
86                                        SCM parent,
87                                        SCM id,
88                                        SCM fill_background);
89
90
91 template <typename TParent>
92 SCM
93 irr_gui_IGUIEnvironment_addWindow (SCM gui_environment,
94                                    SCM rectangle,
95                                    SCM modal,
96                                    SCM text,
97                                    SCM parent,
98                                    SCM id);
99
100
101 SCM
102 irr_gui_IGUIEnvironment_getBuiltInFont (SCM gui_environment);
103
104
105 SCM
106 irr_gui_IGUIEnvironment_getFont (SCM gui_environment,
107                                  SCM filename);
108
109
110 SCM
111 irr_gui_IGUIEnvironment_getSkin (SCM gui_environment);
112
113
114 extern "C" {
115
116   void
117   init_gui_environment (void);
118
119 }
120
121 #endif