diff options
Diffstat (limited to 'include/vcl/salgtype.hxx')
-rw-r--r-- | include/vcl/salgtype.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/vcl/salgtype.hxx b/include/vcl/salgtype.hxx index a43a19db72b4..cae472710cc1 100644 --- a/include/vcl/salgtype.hxx +++ b/include/vcl/salgtype.hxx @@ -66,10 +66,9 @@ struct SalTwoRect } }; -typedef sal_uInt16 SalROPColor; -#define SAL_ROP_0 ((SalROPColor)0) -#define SAL_ROP_1 ((SalROPColor)1) -#define SAL_ROP_INVERT ((SalROPColor)2) +enum class SalROPColor { + N0, N1, Invert +}; typedef sal_uInt16 SalInvert; #define SAL_INVERT_HIGHLIGHT ((SalInvert)0x0001) |