void StateTextureControl::updateStateProperties() { updateVisible(); updatePosition(); updateUnselectedStates(); }
void SeparatorTextureControl::updateSeparatorProperty(Property* _sender, const MyGUI::UString& _owner) { if (_owner != mTypeName) { if (_sender->getName() == "Offset") updatePosition(); else if (_sender->getName() == "Visible") { updateVisible(); updateUnselectedStates(); } } }
void RegionTextureControl::updateRegionSize() { mTextureRegion.width = 0; mTextureRegion.height = 0; if (getCurrentSkin() != nullptr) { MyGUI::IntCoord coord = MyGUI::IntCoord::parse(getCurrentSkin()->getPropertySet()->getPropertyValue("Coord")); mTextureRegion.width = coord.width; mTextureRegion.height = coord.height; } updateTextureControl(); updateUnselectedStates(); }
void StateTextureControl::updateSelectorsSize() { mAreaSelectorControl->setSize(mSizeValue); updateUnselectedStates(); }
void RegionTextureControl::updateSeparatorProperty(Property* _sender, const MyGUI::UString& _owner) { if (_sender->getName() == "Visible" || _sender->getName() == "Offset") updateUnselectedStates(); }
void RegionTextureControl::updateSeparatorProperties() { updateUnselectedStates(); }