This commit is contained in:
Stephan Dilly
2015-12-26 15:21:59 +01:00
parent 2de7e50511
commit a5b4dc8ba9
2 changed files with 6 additions and 0 deletions

View File

@@ -1260,6 +1260,11 @@ CIMGUI_API bool igIsRectVisible(CONST ImVec2 item_size)
return ImGui::IsRectVisible(item_size);
}
CIMGUI_API int igGetKeyIndex(ImGuiKey key)
{
return ImGui::GetKeyIndex(key);
}
CIMGUI_API bool igIsKeyDown(int key_index)
{
return ImGui::IsKeyDown(key_index);