Misc shallow merge/sync from docking designed to faciliate cross-merging between docking and string_view.

This commit is contained in:
ocornut
2022-12-08 20:25:25 +01:00
parent 317b33d647
commit 59b63defe5
4 changed files with 48 additions and 25 deletions

View File

@ -783,6 +783,7 @@ namespace ImGui
IMGUI_API int GetColumnsCount();
// Tab Bars, Tabs
// - Note: Tabs are automatically created by the docking system (when in 'docking' branch). Use this to create tab bars/tabs yourself.
IMGUI_API bool BeginTabBar(const char* str_id, ImGuiTabBarFlags flags = 0); // create and append into a TabBar
IMGUI_API void EndTabBar(); // only call EndTabBar() if BeginTabBar() returns true!
IMGUI_API bool BeginTabItem(const char* label, bool* p_open = NULL, ImGuiTabItemFlags flags = 0); // create a Tab. Returns true if the Tab is selected.