diff options
| author | Ruwuchi <73458244+Ruwuchi@users.noreply.github.com> | 2021-04-30 05:19:17 -0300 |
|---|---|---|
| committer | Ruwuchi <73458244+Ruwuchi@users.noreply.github.com> | 2021-04-30 05:19:17 -0300 |
| commit | 235be66e07d5714007ee976bb60db0a28e9261e5 (patch) | |
| tree | 3ad986e68e96f8941b4407b033343b8b4ebcd2bd /imgui_impl_raylib_config.h | |
| parent | 27dda70ecec46db9c2e5e3f06cb9323f8a58a5f0 (diff) | |
| download | imgui-impl-raylib-235be66e07d5714007ee976bb60db0a28e9261e5.tar.gz imgui-impl-raylib-235be66e07d5714007ee976bb60db0a28e9261e5.zip | |
Added Compatibility settings and support for UTF-8.
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..75973e0 --- /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
\ No newline at end of file |
