20 mSubSkinsVisible(true)
26 for (VectorSubWidget::iterator skin = mSubSkinChild.begin(); skin != mSubSkinChild.end(); ++skin)
27 (*skin)->_setAlign(_size);
32 for (VectorSubWidget::iterator skin = mSubSkinChild.begin(); skin != mSubSkinChild.end(); ++skin)
33 (*skin)->setVisible(_value);
38 for (VectorSubWidget::iterator skin = mSubSkinChild.begin(); skin != mSubSkinChild.end(); ++skin)
48 for (VectorSubWidget::iterator skin = mSubSkinChild.begin(); skin != mSubSkinChild.end(); ++skin)
49 (*skin)->setAlpha(_value);
54 for (VectorSubWidget::iterator skin = mSubSkinChild.begin(); skin != mSubSkinChild.end(); ++skin)
55 (*skin)->_correctView();
60 for (VectorSubWidget::iterator skin = mSubSkinChild.begin(); skin != mSubSkinChild.end(); ++skin)
61 (*skin)->_updateView();
66 MapWidgetStateInfo::const_iterator iter = mStateInfo.find(_state);
67 if (iter == mStateInfo.end())
71 for (VectorSubWidget::iterator skin = mSubSkinChild.begin(); skin != mSubSkinChild.end(); ++skin, ++index)
75 (*skin)->setStateData(data);
93 for (VectorSubWidgetInfo::const_iterator iter = _info->
getBasisInfo().begin(); iter != _info->
getBasisInfo().end(); ++iter)
96 if (
object ==
nullptr)
104 mSubSkinChild.push_back(sub);
108 if (mMainSkin ==
nullptr)
110 if (mText ==
nullptr)
128 for (VectorSubWidget::iterator skin = mSubSkinChild.begin(); skin != mSubSkinChild.end(); ++skin)
130 mSubSkinChild.clear();
135 mTextureName = _texture;
148 if (mSubSkinsVisible == _visible)
150 mSubSkinsVisible = _visible;