summaryrefslogtreecommitdiff
path: root/include/vcl/prgsbar.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-29 11:08:24 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-29 11:15:52 +0900
commite6c2951f1957224aa0e7dc97b33b0450c41f92f7 (patch)
tree6e907e9e4b54ab4128ec9320c25c7a496fe75bbf /include/vcl/prgsbar.hxx
parentc57a5f310b6168b4fe262656ceb253f4566dd2d9 (diff)
delegate RenderContext, invalidate - prgsbar, scrbar
Change-Id: I05d68be744044cc82c0397fac25518a53c270761
Diffstat (limited to 'include/vcl/prgsbar.hxx')
-rw-r--r--include/vcl/prgsbar.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/prgsbar.hxx b/include/vcl/prgsbar.hxx
index 6cce19cd1733..28fbec3bdb37 100644
--- a/include/vcl/prgsbar.hxx
+++ b/include/vcl/prgsbar.hxx
@@ -63,12 +63,13 @@ private:
long mnPrgsHeight;
sal_uInt16 mnPercent;
sal_uInt16 mnPercentCount;
+ sal_uInt16 mnPreviousPercent;
bool mbCalcNew;
using Window::ImplInit;
SAL_DLLPRIVATE void ImplInit();
SAL_DLLPRIVATE void ImplInitSettings( bool bFont, bool bForeground, bool bBackground );
- SAL_DLLPRIVATE void ImplDrawProgress( sal_uInt16 nOldPerc, sal_uInt16 nNewPerc );
+ SAL_DLLPRIVATE void ImplDrawProgress(vcl::RenderContext& rRenderContext, sal_uInt16 nOldPerc, sal_uInt16 nNewPerc);
public:
ProgressBar( vcl::Window* pParent, WinBits nWinBits = WB_STDPROGRESSBAR );