Nav: Remove GetItemID(), hide ActivateItem() before this feature is unfinished and has issue (full feature is on hold). Undo part of 59c6f35bf6 (#787)

This commit is contained in:
omar
2018-01-12 19:28:37 +01:00
parent c9be7d7254
commit c85d7d6e49
4 changed files with 1 additions and 24 deletions

View File

@ -6965,12 +6965,6 @@ void ImGui::ActivateItem(ImGuiID id)
g.NavNextActivateId = id;
}
ImGuiID ImGui::GetItemID()
{
ImGuiContext& g = *GImGui;
return g.CurrentWindow->DC.LastItemId;
}
void ImGui::SetKeyboardFocusHere(int offset)
{
IM_ASSERT(offset >= -1); // -1 is allowed but not below