Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb_core.h
1 
28 #ifndef TB_CORE_H
29 #define TB_CORE_H
30 
31 #include "tb_types.h"
32 #include "tb_hash.h"
33 #include "tb_debug.h"
34 
35 namespace tb {
36 
37 class TBRenderer;
38 class TBSkin;
39 class TBWidgetsReader;
40 class TBLanguage;
41 class TBFontManager;
42 class TBColorManager;
43 
44 extern TBRenderer *g_renderer;
45 extern TBSkin *g_tb_skin;
46 extern TBWidgetsReader *g_widgets_reader;
47 extern TBLanguage *g_tb_lng;
48 extern TBFontManager *g_font_manager;
49 extern TBColorManager *g_color_manager;
50 
52 bool tb_core_init(TBRenderer *renderer);
53 
55 void tb_core_shutdown();
56 
59 
60 } // namespace tb
61 
62 #endif // TB_CORE_H
bool tb_core_is_initialized()
Returns true if turbo badger is initialized.
Definition: tb_core.cpp:63
void tb_core_shutdown()
Shutdown turbo badger.
Definition: tb_core.cpp:44
bool tb_core_init(TBRenderer *renderer)
Initialize turbo badger.
Definition: tb_core.cpp:24