summaryrefslogtreecommitdiffstats
path: root/include/vcl/status.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/status.hxx')
-rw-r--r--include/vcl/status.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/status.hxx b/include/vcl/status.hxx
index 518ba6ab4a62..1b27844b318b 100644
--- a/include/vcl/status.hxx
+++ b/include/vcl/status.hxx
@@ -31,7 +31,7 @@ struct ImplStatusItem;
void VCL_DLLPUBLIC DrawProgress(vcl::Window* pWindow, vcl::RenderContext& rRenderContext, const Point& rPos,
long nOffset, long nPrgsWidth, long nPrgsHeight,
sal_uInt16 nPercent1, sal_uInt16 nPercent2, sal_uInt16 nPercentCount,
- const Rectangle& rFramePosSize);
+ const tools::Rectangle& rFramePosSize);
enum class StatusBarItemBits {
@@ -63,7 +63,7 @@ private:
ImplData* mpImplData;
OUString maPrgsTxt;
Point maPrgsTxtPos;
- Rectangle maPrgsFrameRect;
+ tools::Rectangle maPrgsFrameRect;
long mnPrgsSize;
long mnItemsWidth;
long mnDX;
@@ -93,7 +93,7 @@ private:
sal_uInt16 nPos);
SAL_DLLPRIVATE void ImplDrawProgress(vcl::RenderContext& rRenderContext, sal_uInt16 nNewPerc);
SAL_DLLPRIVATE void ImplCalcProgressRect();
- SAL_DLLPRIVATE Rectangle ImplGetItemRectPos( sal_uInt16 nPos ) const;
+ SAL_DLLPRIVATE tools::Rectangle ImplGetItemRectPos( sal_uInt16 nPos ) const;
SAL_DLLPRIVATE sal_uInt16 ImplGetFirstVisiblePos() const;
protected:
@@ -108,7 +108,7 @@ public:
void AdjustItemWidthsForHiDPI();
virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
- virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) override;
+ virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override;
virtual void Resize() override;
virtual void RequestHelp( const HelpEvent& rHEvt ) override;
virtual void StateChanged( StateChangedType nType ) override;
@@ -138,7 +138,7 @@ public:
sal_uInt16 GetItemId( sal_uInt16 nPos ) const;
sal_uInt16 GetItemId( const Point& rPos ) const;
sal_uInt16 GetItemPos( sal_uInt16 nItemId ) const;
- Rectangle GetItemRect( sal_uInt16 nItemId ) const;
+ tools::Rectangle GetItemRect( sal_uInt16 nItemId ) const;
Point GetItemTextPos( sal_uInt16 nItemId ) const;
sal_uInt16 GetCurItemId() const { return mnCurItemId; }