ocornut / imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
MIT License
60.97k stars 10.29k forks source link

BeginTabItem declaration (docking) #2115

Closed sonoro1234 closed 6 years ago

sonoro1234 commented 6 years ago

Version/Branch of Dear ImGui:

docking

https://github.com/ocornut/imgui/blob/docking/imgui.h#L521

is problematic for parsing in cimgui_auto should be

BeginTabItem(const char label, bool p_open = NULL, ImGuiTabItemFlags flags = 0);

I know BeginTabItem(const char label, bool p_open = NULL, ImGuiTabItemFlags = 0); is valid C or C++ declaration but having the argument names greatly simplifies parsing (as everything before the name is then the type of the argument)

ocornut commented 6 years ago

Fixed now, thanks!