SetKeyboardFocusHere() sets focus on next widget instead of previous + works on tabbing-disabled widgets

This commit is contained in:
ocornut
2014-09-30 12:22:58 +01:00
parent ffc8264e9d
commit f1ea630dd0
2 changed files with 42 additions and 33 deletions

View File

@ -153,7 +153,7 @@ namespace ImGui
ImDrawList* GetWindowDrawList(); // get rendering command-list if you want to append your own draw primitives.
void SetWindowFontScale(float scale); // per-window font scale. Adjust IO.FontBaseScale if you want to scale all windows together.
void SetScrollPosHere(); // adjust scrolling position to center into the current cursor position.
void SetKeyboardFocusHere();
void SetKeyboardFocusHere(); // focus keyboard on the next widget
void SetTreeStateStorage(ImGuiStorage* tree); // replace tree state storage with our own (if you want to manipulate it yourself, typically clear subsection of it).
ImGuiStorage* GetTreeStateStorage();
void PushItemWidth(float item_width);