Debian Codegraph @

extern/imgui_patched/misc/single_file/imgui_single_file.h

raw
1 // dear imgui: single-file wrapper include
2 // We use this to validate compiling all *.cpp files in a same compilation unit.
3 // Users of that technique (also called "Unity builds") can generally provide this themselves,
4 // so we don't really recommend you use this in your projects.
5
6 // Do this:
7 // #define IMGUI_IMPLEMENTATION
8 // Before you include this file in *one* C++ file to create the implementation.
9 // Using this in your project will leak the contents of imgui_internal.h and ImVec2 operators in this compilation unit.
10
11 #ifdef IMGUI_IMPLEMENTATION
12 #define IMGUI_DEFINE_MATH_OPERATORS
13 #endif
14
15 #include "../../imgui.h"
16 #ifdef IMGUI_ENABLE_FREETYPE
17 #include "../../misc/freetype/imgui_freetype.h"
18 #endif
19
20 #ifdef IMGUI_IMPLEMENTATION
21 #include "../../imgui.cpp"
22 #include "../../imgui_demo.cpp"
23 #include "../../imgui_draw.cpp"
24 #include "../../imgui_tables.cpp"
25 #include "../../imgui_widgets.cpp"
26 #ifdef IMGUI_ENABLE_FREETYPE
27 #include "../../misc/freetype/imgui_freetype.cpp"
28 #endif
29 #endif