17 mIsMousePressed(false),
20 mStateSelected(false),
73 mIsMousePressed =
true;
84 mIsMousePressed =
false;
91 void Button::updateButtonState()
100 else if (mIsMousePressed)
105 else if (mIsMouseFocus || mIsKeyFocus)
120 else if (mIsMousePressed)
122 else if (mIsMouseFocus || mIsKeyFocus)
131 if (mStateSelected == _check)
134 mStateSelected = _check;
140 mIsKeyFocus = _focus;
146 mIsMouseFocus = _focus;
156 mIsMouseFocus =
false;
203 if (_key ==
"StateSelected")
207 else if (_key ==
"ModeImage")
211 else if (_key ==
"ImageResource")
215 else if (_key ==
"ImageGroup")
219 else if (_key ==
"ImageName")
233 return mStateSelected;
widget description should be here.
void setItemName(const std::string &_value)
bool setItemResource(const std::string &_name)
void setItemGroup(const std::string &_value)