MCPcopy Create free account
hub / github.com/MyGUI/mygui / setValue

Method setValue

Tools/FontEditor/PropertyInt2ListControl.cpp:84–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 void PropertyInt2ListControl::setValue(std::string_view _value)
85 {
86 mList->removeAllItems();
87 std::vector<std::string> values = MyGUI::utility::split(_value, "|");
88 for (const auto& value : values)
89 mList->addItem(value);
90 }
91
92 void PropertyInt2ListControl::notifyClickAdd(MyGUI::Widget* _sender)
93 {

Callers 5

command_StatisticInfoMethod · 0.45
~FontTryControlMethod · 0.45
initialiseMethod · 0.45
saveSettingsMethod · 0.45
saveSettingsMethod · 0.45

Calls 3

splitFunction · 0.85
removeAllItemsMethod · 0.45
addItemMethod · 0.45

Tested by

no test coverage detected