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

Method UserPrefBool

Source/UserPrefs.h:217–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215{
216public:
217 UserPrefBool(std::string name, bool defaultValue, UserPrefCategory category)
218 : mValue(defaultValue)
219 {
220 RegisterUserPref(this);
221 mName = name;
222 mCategory = category;
223 }
224 void Init() override;
225 void SetUpControl(IDrawableModule* owner) override;
226 IUIControl* GetControl() override;

Callers

nothing calls this directly

Calls 1

RegisterUserPrefFunction · 0.85

Tested by

no test coverage detected