diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-25 09:11:03 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-25 09:59:43 +0000 |
commit | edc87278036107dc392253bdcb99dce54a1d0a41 (patch) | |
tree | f917dce3ef48baf95af92a3fcaf11dcb5ef8e1cb /include | |
parent | 2af018e4dd99fccdc85a28b38ff924fb16a750cf (diff) |
Convert Disposal to scoped enum
and drop unused FULL value
Change-Id: I3b9c26cb164785ef86f1a8d57cce962b015c85d6
Reviewed-on: https://gerrit.libreoffice.org/25432
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/animate.hxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/vcl/animate.hxx b/include/vcl/animate.hxx index bedb8364b1b7..73cc12def8c6 100644 --- a/include/vcl/animate.hxx +++ b/include/vcl/animate.hxx @@ -27,12 +27,11 @@ #define ANIMATION_TIMEOUT_ON_CLICK 2147483647L -enum Disposal +enum class Disposal { - DISPOSE_NOT, - DISPOSE_BACK, - DISPOSE_FULL, - DISPOSE_PREVIOUS + Not, + Back, + Previous }; enum CycleMode @@ -55,7 +54,7 @@ struct VCL_DLLPUBLIC AnimationBitmap AnimationBitmap() : nWait(0) - , eDisposal(DISPOSE_NOT) + , eDisposal(Disposal::Not) , bUserInput(false) {} @@ -64,7 +63,7 @@ struct VCL_DLLPUBLIC AnimationBitmap const Point& rPosPix, const Size& rSizePix, long _nWait = 0L, - Disposal _eDisposal = DISPOSE_NOT + Disposal _eDisposal = Disposal::Not ) : aBmpEx ( rBmpEx ), aPosPix ( rPosPix ), |