| 879 | } |
| 880 | |
| 881 | void SettingsContainer::AddGroup(const char* name, bool expanded) |
| 882 | { |
| 883 | for(uint64 groupIdx = 0; groupIdx < groups.Count(); ++groupIdx) |
| 884 | AssertMsg_(groups[groupIdx].Name != name, "Duplicate settings group %s", name); |
| 885 | |
| 886 | SettingsGroup& newGroup = groups.Add(); |
| 887 | newGroup.Name = name; |
| 888 | newGroup.Expanded = expanded; |
| 889 | } |
| 890 | |
| 891 | |
| 892 | void SettingsContainer::AddSetting(Setting* setting) |
no test coverage detected