Amend previous commits (added ImGuiMouseCursor_NotAllowed enum + new cursors in GLFW 3.4)

Amend b5cad20d79, 945a509773
+ unrelated minor typos
This commit is contained in:
omar
2019-12-05 15:43:05 +01:00
parent 945a509773
commit 8342e5b91a
10 changed files with 15 additions and 6 deletions

View File

@ -3051,7 +3051,7 @@ static void ShowDemoWindowMisc()
if (ImGui::TreeNode("Mouse cursors"))
{
const char* mouse_cursors_names[] = { "Arrow", "TextInput", "Move", "ResizeNS", "ResizeEW", "ResizeNESW", "ResizeNWSE", "Hand" };
const char* mouse_cursors_names[] = { "Arrow", "TextInput", "ResizeAll", "ResizeNS", "ResizeEW", "ResizeNESW", "ResizeNWSE", "Hand", "NotAllowed" };
IM_ASSERT(IM_ARRAYSIZE(mouse_cursors_names) == ImGuiMouseCursor_COUNT);
ImGui::Text("Current mouse cursor = %d: %s", ImGui::GetMouseCursor(), mouse_cursors_names[ImGui::GetMouseCursor()]);