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

Method setDataInfo

Tools/EditorFramework/DataListBaseControl.cpp:119–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 void DataListBaseControl::setDataInfo(
120 std::string_view _parentType,
121 std::string_view _currentType,
122 std::string_view _propertyName,
123 std::string_view _propertyUnique)
124 {
125 mParentType = _parentType;
126 mCurrentType = _currentType;
127 mPropertyForName = _propertyName;
128 mPropertyForUnique = _propertyUnique;
129
130 if (mListBoxControl != nullptr)
131 {
132 mListBoxControl->setDataInfo(mParentType, mCurrentType, mPropertyForName);
133 if (!mPropertyForUnique.empty())
134 mListBoxControl->addPropertyNameEnabled(mPropertyForUnique);
135 }
136 }
137
138 void DataListBaseControl::notifyChangePosition(DataPtr _data1, DataPtr _data2)
139 {

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45

Tested by

no test coverage detected