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

Method UserPrefTextEntryFloat

Source/UserPrefs.h:185–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183{
184public:
185 UserPrefTextEntryFloat(std::string name, float defaultValue, float min, float max, int digits, UserPrefCategory category)
186 : mValue(defaultValue)
187 , mDefault(defaultValue)
188 , mMin(min)
189 , mMax(max)
190 , mDigits(digits)
191 {
192 RegisterUserPref(this);
193 mName = name;
194 mCategory = category;
195 }
196 void Init() override;
197 void SetUpControl(IDrawableModule* owner) override;
198 IUIControl* GetControl() override;

Callers

nothing calls this directly

Calls 1

RegisterUserPrefFunction · 0.85

Tested by

no test coverage detected