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

Method UserPrefDropdownString

Source/UserPrefs.h:123–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121{
122public:
123 UserPrefDropdownString(std::string name, std::string defaultValue, int width, UserPrefCategory category)
124 : mValue(defaultValue)
125 , mDefault(defaultValue)
126 , mWidth(width)
127 {
128 RegisterUserPref(this);
129 mName = name;
130 mCategory = category;
131 }
132 void Init() override;
133 void SetUpControl(IDrawableModule* owner) override;
134 IUIControl* GetControl() override;

Callers

nothing calls this directly

Calls 1

RegisterUserPrefFunction · 0.85

Tested by

no test coverage detected