25 #ifndef _TGUI_INCLUDED_
26 #define _TGUI_INCLUDED_
39 #include <SFML/Graphics.hpp>
46 struct OBJECT_BORDERS;
47 struct OBJECT_ANIMATION;
63 struct AnimatedPicture;
64 struct AnimatedButton;
69 struct InfoFileParser;
71 struct TextureManager;
83 std::string to_string(T value)
85 std::ostringstream oss;
94 ObjectPhase_Hover = 1,
95 ObjectPhase_MouseDown = 2,
96 ObjectPhase_Focused = 4,
97 ObjectPhase_Selected = 8
140 #include <TGUI/Config.hpp>
153 #include <TGUI/Vectors.hpp>
155 #include <TGUI/Objects.hpp>
156 #include <TGUI/Label.hpp>
157 #include <TGUI/Picture.hpp>
158 #include <TGUI/Button.hpp>
159 #include <TGUI/Checkbox.hpp>
160 #include <TGUI/RadioButton.hpp>
161 #include <TGUI/EditBox.hpp>
162 #include <TGUI/Slider.hpp>
163 #include <TGUI/Scrollbar.hpp>
164 #include <TGUI/ListBox.hpp>
165 #include <TGUI/LoadingBar.hpp>
166 #include <TGUI/ComboBox.hpp>
167 #include <TGUI/TextBox.hpp>
168 #include <TGUI/SpriteSheet.hpp>
169 #include <TGUI/AnimatedPicture.hpp>
170 #include <TGUI/AnimatedButton.hpp>
171 #include <TGUI/SpinButton.hpp>
172 #include <TGUI/Slider2D.hpp>
173 #include <TGUI/Tab.hpp>
174 #include <TGUI/ChatBox.hpp>
176 #include <TGUI/InfoFileParser.hpp>
177 #include <TGUI/EventManager.hpp>
178 #include <TGUI/TextureManager.hpp>
180 #include <TGUI/Group.hpp>
181 #include <TGUI/GroupObject.hpp>
182 #include <TGUI/Panel.hpp>
183 #include <TGUI/ChildWindow.hpp>
184 #include <TGUI/Grid.hpp>
185 #include <TGUI/Window.hpp>
186 #include <TGUI/Form.hpp>
191 #define TGUI_OUTPUT(x) sf::err() << x << std::endl;
194 #define TGUI_MINIMUM(x, y) (x < y) ? x : y
196 #define TGUI_MAXIMUM(x, y) (x > y) ? x : y
198 #define TGUI_UNUSED_PARAM(x) (void)x
200 #define TGUI_MAX_OBJECTS 10000
215 #endif //_TGUI_INCLUDED_
TGUI_API TextureManager TGUI_TextureManager
The texture manager will not only load the textures, but will also make sure that the textures are on...
ObjectTypes
A list of all objects in tgui.
Definition: TGUI.hpp:107
TGUI_API bool tabKeyUsageEnabled
When disabling the tab key usage, pressing tab will no longer focus another object, but in the future this will allow to use tabs in TextBox.