MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / AddGroup

Method AddGroup

SampleFramework12/v1.00/Settings.cpp:881–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

879}
880
881void 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
892void SettingsContainer::AddSetting(Setting* setting)

Callers 1

InitializeFunction · 0.80

Calls 2

CountMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected