summaryrefslogtreecommitdiff
path: root/vcl/inc/salframe.hxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-19 15:12:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-19 21:34:46 +0200
commit3aef606f2758172a27718a06fea0ff9080e4d80f (patch)
treead323c90301d80bbb3b68163d8b87e5402b687ed /vcl/inc/salframe.hxx
parent5afba3e12c8d4eb1ebb8e087134eb87593bb017a (diff)
use tools::Long in vcl
Change-Id: Ice1055021e8568634e9a66ba89d3bb4ef4e731df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104522 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/salframe.hxx')
-rw-r--r--vcl/inc/salframe.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/inc/salframe.hxx b/vcl/inc/salframe.hxx
index b83138e29d40..d55a40b1a93b 100644
--- a/vcl/inc/salframe.hxx
+++ b/vcl/inc/salframe.hxx
@@ -127,8 +127,8 @@ public:
SalFrameGeometry maGeometry = {}; ///< absolute, unmirrored values
// SalGeometryProvider
- virtual long GetWidth() const override { return maGeometry.nWidth; }
- virtual long GetHeight() const override { return maGeometry.nHeight; }
+ virtual tools::Long GetWidth() const override { return maGeometry.nWidth; }
+ virtual tools::Long GetHeight() const override { return maGeometry.nHeight; }
virtual bool IsOffScreen() const override { return false; }
// SalGraphics or NULL, but two Graphics for all SalFrames
@@ -154,10 +154,10 @@ public:
// Set ClientSize and Center the Window to the desktop
// and send/post a resize message
- virtual void SetMinClientSize( long nWidth, long nHeight ) = 0;
- virtual void SetMaxClientSize( long nWidth, long nHeight ) = 0;
- virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ) = 0;
- virtual void GetClientSize( long& rWidth, long& rHeight ) = 0;
+ virtual void SetMinClientSize( tools::Long nWidth, tools::Long nHeight ) = 0;
+ virtual void SetMaxClientSize( tools::Long nWidth, tools::Long nHeight ) = 0;
+ virtual void SetPosSize( tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags ) = 0;
+ virtual void GetClientSize( tools::Long& rWidth, tools::Long& rHeight ) = 0;
virtual void GetWorkArea( tools::Rectangle& rRect ) = 0;
virtual SalFrame* GetParent() const = 0;
// Note: x will be mirrored at parent if UI mirroring is active
@@ -187,7 +187,7 @@ public:
// pointer style
virtual void SetPointer( PointerStyle ePointerStyle ) = 0;
virtual void CaptureMouse( bool bMouse ) = 0;
- virtual void SetPointerPos( long nX, long nY ) = 0;
+ virtual void SetPointerPos( tools::Long nX, tools::Long nY ) = 0;
// flush output buffer
virtual void Flush() = 0;
@@ -246,7 +246,7 @@ public:
// start setting the clipregion consisting of nRects rectangles
virtual void BeginSetClipRegion( sal_uInt32 nRects ) = 0;
// add a rectangle to the clip region
- virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) = 0;
+ virtual void UnionClipRegion( tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight ) = 0;
// done setting up the clipregion
virtual void EndSetClipRegion() = 0;