Nav: Renamed private ImGuiNavDir_ enum to use left/right/up/down to be consistent with key enums (#323)

This commit is contained in:
ocornut
2016-07-30 13:45:46 +02:00
parent cbe03e3108
commit d9d6b0e629
2 changed files with 18 additions and 18 deletions

View File

@ -206,11 +206,11 @@ enum ImGuiInputSource
enum ImGuiNavDir
{
ImGuiNavDir_None = -1,
ImGuiNavDir_W, // Needs to be 0..3 (using arithmetic op in NavScoreItem())
ImGuiNavDir_E,
ImGuiNavDir_N,
ImGuiNavDir_S
ImGuiNavDir_None = -1,
ImGuiNavDir_Left = 0,
ImGuiNavDir_Right = 1,
ImGuiNavDir_Up = 2,
ImGuiNavDir_Down = 3,
};
// 2D axis aligned bounding-box