Added 64bits support to ImGui

This commit is contained in:
Nemirtingas 2019-07-25 23:27:09 +02:00
parent 176c9eb7dd
commit faf13e77b6
1 changed files with 5 additions and 0 deletions

View File

@ -120,9 +120,14 @@ struct ImGuiTextFilter; // Helper to parse and apply text filters (e
// Typedefs and Enums/Flags (declared as int for compatibility with old C++, to allow using as flags and to not pollute the top of this file)
// Use your programming IDE "Go to definition" facility on the names of the center columns to find the actual flags/enum lists.
#ifndef _WIN64
#include <cstdint>
typedef int64_t ImTextureID;
#else
#ifndef ImTextureID
typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp)
#endif
#endif
typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string)
typedef unsigned short ImWchar; // A single U16 character for keyboard input/display. We encode them as multi bytes UTF-8 when used in strings.
typedef int ImGuiCol; // -> enum ImGuiCol_ // Enum: A color identifier for styling