Question
If I want to access a variantmap easily by index. How? I could probably figure it out but I rather get some input first.
[code] // convert to variant map
VariantMap viewSettings_ = m_pViewSettings->ToVariantMap();
// get count
for(unsigned int currentSetting=0; currentSetting<10; currentSetting++)
{
//thisSettingElement->GetChild(0).SetText= viewSettings_[currentSetting].name(); - I want to set a Text element with the name of viewsettings index currentSetting.
//thisSettingElement->GetChild(1).SetText= viewSettings_[currentSetting].GetFloat(); - I want to get the value of the float and set the text of the second UIelement with it in String form
}
[/code]
Vivienne