imgui_single_file.h 751 B

12345678910111213141516171819
  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. // Do this:
  6. // #define IMGUI_IMPLEMENTATION
  7. // Before you include this file in *one* C++ file to create the implementation.
  8. // Using this in your project will leak the contents of imgui_internal.h and ImVec2 operators in this compilation unit.
  9. #include "../../imgui.h"
  10. #ifdef IMGUI_IMPLEMENTATION
  11. #include "../../imgui.cpp"
  12. #include "../../imgui_demo.cpp"
  13. #include "../../imgui_draw.cpp"
  14. #include "../../imgui_tables.cpp"
  15. #include "../../imgui_widgets.cpp"
  16. #endif