Ejemplo n.º 1
0
	void TabItem::setPropertyOverride(const std::string& _key, const std::string& _value)
	{
		if (_key == "ButtonWidth")
			setButtonWidth(utility::parseValue<int>(_value));
		else
		{
			Base::setPropertyOverride(_key, _value);
			return;
		}
		eventChangeProperty(this, _key, _value);
	}
Ejemplo n.º 2
0
//--------------------------------------------------------------
void ofxMuiButton::setButtonSize(int _width, int _height) {
    setButtonWidth(_width);
    setButtonHeight(_height);
}