summaryrefslogtreecommitdiff
path: root/vcl/inc/salgdi.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-14 11:11:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-26 08:44:50 +0200
commitbea081b5099786e5fcadddd72c247b9a9488286a (patch)
treedd165f81e850cb9bcfa23b713bd60e3fb26d21ee /vcl/inc/salgdi.hxx
parenta488c7ad2763b944713997911c1ddb0315d8c93f (diff)
replace SalColor with Color
Change-Id: I615640a378a61cf6e44e84a647ce06bdd8a52807 Reviewed-on: https://gerrit.libreoffice.org/51239 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/salgdi.hxx')
-rw-r--r--vcl/inc/salgdi.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx
index 655c3ea17aa1..71ef1eae1c08 100644
--- a/vcl/inc/salgdi.hxx
+++ b/vcl/inc/salgdi.hxx
@@ -102,14 +102,14 @@ public:
virtual void SetLineColor() = 0;
// set the line color to a specific color
- virtual void SetLineColor( SalColor nSalColor ) = 0;
+ virtual void SetLineColor( Color nColor ) = 0;
// set the fill color to transparent (= don't fill)
virtual void SetFillColor() = 0;
// set the fill color to a specific color, shapes will be
// filled accordingly
- virtual void SetFillColor( SalColor nSalColor ) = 0;
+ virtual void SetFillColor( Color nColor ) = 0;
// enable/disable XOR drawing
virtual void SetXORMode( bool bSet ) = 0;
@@ -121,7 +121,7 @@ public:
virtual void SetROPFillColor( SalROPColor nROPColor ) = 0;
// set the text color to a specific color
- virtual void SetTextColor( SalColor nSalColor ) = 0;
+ virtual void SetTextColor( Color nColor ) = 0;
// set the font
virtual void SetFont( const FontSelectPattern*, int nFallbackLevel ) = 0;
@@ -221,7 +221,7 @@ public:
// draw --> LineColor and FillColor and RasterOp and ClipRegion
void DrawPixel( long nX, long nY, const OutputDevice *pOutDev );
- void DrawPixel( long nX, long nY, SalColor nSalColor, const OutputDevice *pOutDev );
+ void DrawPixel( long nX, long nY, Color nColor, const OutputDevice *pOutDev );
void DrawLine( long nX1, long nY1, long nX2, long nY2, const OutputDevice *pOutDev );
@@ -304,7 +304,7 @@ public:
void DrawMask(
const SalTwoRect& rPosAry,
const SalBitmap& rSalBitmap,
- SalColor nMaskColor,
+ Color nMaskColor,
const OutputDevice *pOutDev );
SalBitmap* GetBitmap(
@@ -312,7 +312,7 @@ public:
long nWidth, long nHeight,
const OutputDevice *pOutDev );
- SalColor GetPixel(
+ Color GetPixel(
long nX, long nY,
const OutputDevice *pOutDev );
@@ -445,7 +445,7 @@ protected:
// draw --> LineColor and FillColor and RasterOp and ClipRegion
virtual void drawPixel( long nX, long nY ) = 0;
- virtual void drawPixel( long nX, long nY, SalColor nSalColor ) = 0;
+ virtual void drawPixel( long nX, long nY, Color nColor ) = 0;
virtual void drawLine( long nX1, long nY1, long nX2, long nY2 ) = 0;
@@ -507,11 +507,11 @@ protected:
virtual void drawMask(
const SalTwoRect& rPosAry,
const SalBitmap& rSalBitmap,
- SalColor nMaskColor ) = 0;
+ Color nMaskColor ) = 0;
virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ) = 0;
- virtual SalColor getPixel( long nX, long nY ) = 0;
+ virtual Color getPixel( long nX, long nY ) = 0;
// invert --> ClipRegion (only Windows or VirDevs)
virtual void invert(