diff options
| author | Oskari Timperi <oswjk@users.noreply.github.com> | 2021-04-30 11:05:32 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-30 11:05:32 +0300 |
| commit | de3a4b463b6193193b0aa8f5aedb5d59bc9843f4 (patch) | |
| tree | e4deb20e32703eec3e08cef067f0a8dc2f535439 /imgui_impl_raylib_config.h | |
| parent | 27dda70ecec46db9c2e5e3f06cb9323f8a58a5f0 (diff) | |
| parent | 1a512f8d9777176bd456558134d850b3c5db3320 (diff) | |
| download | imgui-impl-raylib-master.tar.gz imgui-impl-raylib-master.zip | |
Compatibility
Diffstat (limited to 'imgui_impl_raylib_config.h')
| -rw-r--r-- | imgui_impl_raylib_config.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/imgui_impl_raylib_config.h b/imgui_impl_raylib_config.h new file mode 100644 index 0000000..3b1a575 --- /dev/null +++ b/imgui_impl_raylib_config.h @@ -0,0 +1,20 @@ +#ifndef H_IM_RAYLIB_CONFIG +#define H_IM_RAYLIB_CONFIG + +/* This file contains a few macros for you to play with when using the Raylib ImGui implementation. + To use them, just uncomment the macro under its description, and it should be all set! +*/ + +// COMPATIBILITY_MODE Toggles the integrated rlgl code. +//#define COMPATIBILITY_MODE + +// AUTO_FONTATLAS REQUIRES COMPATIBILITY - Can be done manually, but is pretty useful... +//#define AUTO_FONTATLAS + +/* ENABLE_SCODETOUTF8 Toggled by default, since the code was passing + raylib's scancodes as codepoints, and ImGui uses UTF-8 + on widgets like InputText. +*/ +#define ENABLE_SCODETOUTF8 + +#endif |
