TODO update + internals: changed order or ImGuiLayoutType enums to allow using them for indexing.

This commit is contained in:
omar
2019-01-15 15:06:24 +01:00
parent b8c6e31c2d
commit d38d7c6628
2 changed files with 19 additions and 16 deletions

View File

@ -364,12 +364,14 @@ enum ImGuiItemStatusFlags_
};
// FIXME: this is in development, not exposed/functional as a generic feature yet.
// Horizontal/Vertical enums are fixed to 0/1 so they may be used to index ImVec2
enum ImGuiLayoutType_
{
ImGuiLayoutType_Vertical = 0,
ImGuiLayoutType_Horizontal = 1
ImGuiLayoutType_Horizontal = 0,
ImGuiLayoutType_Vertical = 1
};
// X/Y enums are fixed to 0/1 so they may be used to index ImVec2
enum ImGuiAxis
{
ImGuiAxis_None = -1,