unicode support, finished base implementation
This commit is contained in:
parent
44a4a088b3
commit
2fd70f55d5
4 changed files with 307 additions and 151 deletions
25
unityBuild.h
Normal file
25
unityBuild.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
// dear imgui: single-file wrapper include
|
||||
// We use this to validate compiling all *.cpp files in a same compilation unit.
|
||||
// Users of that technique (also called "Unity builds") can generally provide this themselves,
|
||||
// so we don't really recommend you use this in your projects.
|
||||
|
||||
// Do this:
|
||||
// #define IMGUI_IMPLEMENTATION
|
||||
// Before you include this file in *one* C++ file to create the implementation.
|
||||
// Using this in your project will leak the contents of imgui_internal.h and ImVec2 operators in this compilation unit.
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#define UNICODE
|
||||
#define _UNICODE
|
||||
#include "imgui/imgui.h"
|
||||
|
||||
#ifdef IMGUI_IMPLEMENTATION
|
||||
#include "imgui/imgui.cpp"
|
||||
#include "imgui/imgui_demo.cpp"
|
||||
#include "imgui/imgui_draw.cpp"
|
||||
#include "imgui/imgui_tables.cpp"
|
||||
#include "imgui/imgui_widgets.cpp"
|
||||
#include "imgui/backends/imgui_impl_glfw.h"
|
||||
#include "imgui/backends/imgui_impl_opengl3.h"
|
||||
#include "imgui/backends/imgui_impl_opengl3.cpp"
|
||||
#include "imgui/backends/imgui_impl_glfw.cpp"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue