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

Method UserPrefTextEntryInt

Source/UserPrefs.h:153–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151{
152public:
153 UserPrefTextEntryInt(std::string name, int defaultValue, int min, int max, int digits, UserPrefCategory category)
154 : mValue(defaultValue)
155 , mDefault(defaultValue)
156 , mMin(min)
157 , mMax(max)
158 , mDigits(digits)
159 {
160 RegisterUserPref(this);
161 mName = name;
162 mCategory = category;
163 }
164 void Init() override;
165 void SetUpControl(IDrawableModule* owner) override;
166 IUIControl* GetControl() override;

Callers

nothing calls this directly

Calls 1

RegisterUserPrefFunction · 0.85

Tested by

no test coverage detected