26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
30 #include "YProgressBar.h"
37 , maxValue( maxValue )
53 const std::string & label,
58 YUI_CHECK_NEW( priv );
85 return priv->maxValue;
100 if ( newValue > priv->maxValue )
101 newValue = priv->maxValue;
103 priv->value = newValue;
118 propSet.
add(
YProperty( YUIProperty_Value, YIntegerProperty ) );
119 propSet.
add(
YProperty( YUIProperty_Label, YStringProperty ) );
132 if ( propertyName == YUIProperty_Value )
setValue( val.integerVal() );