]> git.jsancho.org Git - guile-irrlicht.git/blob - src/gui-environment.h
064cb5df6b3b1ab0c83b2cdb6b5a701c6dd40e60
[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
28 template <typename TParent>
29 SCM
30 gui_IGUIEnvironment_addButton (SCM gui_environment,
31                                    SCM rectangle,
32                                    SCM parent,
33                                    SCM id,
34                                    SCM text,
35                                    SCM tooltiptext);
36
37 template <typename TParent>
38 SCM
39 gui_IGUIEnvironment_addEditBox (SCM gui_environment,
40                                     SCM text,
41                                     SCM rectangle,
42                                     SCM border,
43                                     SCM parent,
44                                     SCM id);
45
46 template <typename TParent>
47 SCM
48 gui_IGUIEnvironment_addImage (SCM gui_environment,
49                                   SCM image,
50                                   SCM position,
51                                   SCM use_alpha_channel,
52                                   SCM parent,
53                                   SCM id,
54                                   SCM text);
55
56 template <typename TParent>
57 SCM
58 gui_IGUIEnvironment_addListBox (SCM gui_environment,
59                                     SCM rectangle,
60                                     SCM parent,
61                                     SCM id,
62                                     SCM draw_background);
63
64 template <typename TParent>
65 SCM
66 gui_IGUIEnvironment_addScrollBar (SCM gui_environment,
67                                       SCM horizontal,
68                                       SCM rectangle,
69                                       SCM parent,
70                                       SCM id);
71
72 template <typename TParent>
73 SCM
74 gui_IGUIEnvironment_addStaticText (SCM gui_environment,
75                                        SCM text,
76                                        SCM rectangle,
77                                        SCM border,
78                                        SCM word_wrap,
79                                        SCM parent,
80                                        SCM id,
81                                        SCM fill_background);
82
83 template <typename TParent>
84 SCM
85 gui_IGUIEnvironment_addWindow (SCM gui_environment,
86                                    SCM rectangle,
87                                    SCM modal,
88                                    SCM text,
89                                    SCM parent,
90                                    SCM id);
91
92 SCM
93 gui_IGUIEnvironment_drawAll (SCM gui_environment);
94
95 SCM
96 gui_IGUIEnvironment_getBuiltInFont (SCM gui_environment);
97
98 SCM
99 gui_IGUIEnvironment_getFont (SCM gui_environment,
100                                  SCM filename);
101
102 SCM
103 gui_IGUIEnvironment_getSkin (SCM gui_environment);
104
105 extern "C" {
106   void
107   init_gui_environment (void);
108 }
109
110 #endif