MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / SetInt

Method SetInt

Source/ModuleSaveData.cpp:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void ModuleSaveData::SetInt(std::string prop, int val)
83{
84 SaveVal* save = GetVal(prop);
85 assert(save && save->mType == kInt);
86 save->mInt = val;
87}
88
89void ModuleSaveData::SetInt(std::string prop, int val, int min, int max, bool isTextField)
90{

Callers 5

LoadControllerLayoutMethod · 0.80
ResizeMethod · 0.80
LoadLayoutMethod · 0.80
ResizeMethod · 0.80

Calls

no outgoing calls

Tested by 1

ResizeMethod · 0.64