| 3841 | } |
| 3842 | |
| 3843 | ImGuiID ImGui::GetColumnsID(const char* str_id, int columns_count) |
| 3844 | { |
| 3845 | ImGuiWindow* window = GetCurrentWindow(); |
| 3846 | |
| 3847 | // Differentiate column ID with an arbitrary prefix for cases where users name their columns set the same as another widget. |
| 3848 | // In addition, when an identifier isn't explicitly provided we include the number of columns in the hash to make it uniquer. |
| 3849 | PushID(0x11223347 + (str_id ? 0 : columns_count)); |
| 3850 | ImGuiID id = window->GetID(str_id ? str_id : "columns"); |
| 3851 | PopID(); |
| 3852 | |
| 3853 | return id; |
| 3854 | } |
| 3855 | |
| 3856 | void ImGui::BeginColumns(const char* str_id, int columns_count, ImGuiOldColumnFlags flags) |
| 3857 | { |
nothing calls this directly
no test coverage detected