diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-02 10:53:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-05 08:21:46 +0200 |
commit | 12569802394fb0a9850fcdb0647a0845a803f1ff (patch) | |
tree | 9f5a626852adbf00378fc3dc80475ad896d957f8 /include/vcl | |
parent | 933c0679d64a5585ebfd233180a1a818b493eec5 (diff) |
convert GradientStyle to scoped enum
Change-Id: Ib740da708612df7a5f4b8c82262b9b1bd436604d
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/vclenum.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx index dc3e8d772755..6581365859f7 100644 --- a/include/vcl/vclenum.hxx +++ b/include/vcl/vclenum.hxx @@ -34,15 +34,15 @@ enum ExtDateFieldFormat { XTDATEF_SYSTEM_SHORT, XTDATEF_SYSTEM_SHORT_YY, XTDATEF XTDATEF_SHORT_DDMMYYYY, XTDATEF_SHORT_MMDDYYYY, XTDATEF_SHORT_YYYYMMDD, XTDATEF_SHORT_YYMMDD_DIN5008, XTDATEF_SHORT_YYYYMMDD_DIN5008, ExtDateFieldFormat_FORCE_EQUAL_SIZE=SAL_MAX_ENUM }; -enum GradientStyle +enum class GradientStyle { - GradientStyle_LINEAR = 0, - GradientStyle_AXIAL = 1, - GradientStyle_RADIAL = 2, - GradientStyle_ELLIPTICAL = 3, - GradientStyle_SQUARE = 4, - GradientStyle_RECT = 5, - GradientStyle_FORCE_EQUAL_SIZE = SAL_MAX_ENUM + Linear = 0, + Axial = 1, + Radial = 2, + Elliptical = 3, + Square = 4, + Rect = 5, + FORCE_EQUAL_SIZE = SAL_MAX_ENUM }; enum class HatchStyle |