mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-12-24 19:58:37 +01:00
Added 64bits support to ImGui
This commit is contained in:
parent
176c9eb7dd
commit
faf13e77b6
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue