| 677 | } |
| 678 | |
| 679 | void SettingsContainer::AddEnumSetting(const char* name, const char* label, const char* group, |
| 680 | uint32 initialVal, uint32 numValues, |
| 681 | const char* const* valueLabels, const char* helpText) |
| 682 | { |
| 683 | Assert_(settings.find(name) == settings.end()); |
| 684 | Assert_(tweakBar != nullptr); |
| 685 | EnumSetting* setting = new EnumSetting(); |
| 686 | setting->Initialize(tweakBar, name, group, label, helpText, initialVal, numValues, valueLabels); |
| 687 | settings[name] = setting; |
| 688 | allocatedSettings.push_back(setting); |
| 689 | } |
| 690 | |
| 691 | void SettingsContainer::AddDirectionSetting(const char* name, const char* label, const char* group, |
| 692 | Float3 initialVal, const char* helpText) |
nothing calls this directly
no test coverage detected