mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-16 23:25:03 +00:00
Added SetMaxValue() method.
This commit is contained in:
parent
3c419a0f07
commit
196a20ac5e
@ -104,6 +104,19 @@ CProgressCaption::SetDescriptor(const char* inCDescriptor)
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// SetMaxValue
|
||||
//
|
||||
// Sets the max value of the progress bar control.
|
||||
//
|
||||
void
|
||||
CProgressCaption :: SetMaxValue ( Int32 inNewMaxValue )
|
||||
{
|
||||
mBar->SetMaxValue ( inNewMaxValue ) ;
|
||||
|
||||
} // SetMaxValue
|
||||
|
||||
|
||||
//
|
||||
// GetValue
|
||||
// SetValue
|
||||
|
@ -45,6 +45,8 @@ class CProgressCaption : public LView
|
||||
|
||||
virtual void SetValue(Int32 inValue);
|
||||
virtual Int32 GetValue() const;
|
||||
|
||||
virtual void SetMaxValue ( Int32 inMax ) ;
|
||||
|
||||
protected:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user