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

Method UserPrefString

Source/UserPrefs.h:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63{
64public:
65 UserPrefString(std::string name, std::string defaultValue, int charWidth, UserPrefCategory category)
66 : mValue(defaultValue)
67 , mDefault(defaultValue)
68 , mCharWidth(charWidth)
69 {
70 RegisterUserPref(this);
71 mName = name;
72 mCategory = category;
73 }
74 void Init() override;
75 void SetUpControl(IDrawableModule* owner) override;
76 IUIControl* GetControl() override;

Callers

nothing calls this directly

Calls 1

RegisterUserPrefFunction · 0.85

Tested by

no test coverage detected