diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-23 23:39:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-23 23:43:12 +0000 |
commit | 3b80c1ac1351ae7f2bf102e23928cd64133de7b3 (patch) | |
tree | 5195ee7f465a11447eb467b80027893b832db03c /include/vcl | |
parent | 2bb1a845a25ca9a39c96f37995453844461aed4e (diff) |
add a basic GetOptimalSize to progress bar
Change-Id: I34b98d4c98b3f9af062473f254ffeadb05130471
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/prgsbar.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/prgsbar.hxx b/include/vcl/prgsbar.hxx index cbe598cdd511..03b1790e2048 100644 --- a/include/vcl/prgsbar.hxx +++ b/include/vcl/prgsbar.hxx @@ -79,9 +79,10 @@ public: virtual void Resize(); virtual void StateChanged( StateChangedType nStateChange ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); + virtual Size GetOptimalSize() const; void SetValue( sal_uInt16 nNewPercent ); - sal_uInt16 GetValue() const { return mnPercent; } + sal_uInt16 GetValue() const { return mnPercent; } }; #endif // INCLUDED_VCL_PRGSBAR_HXX |