diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-23 10:06:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-23 11:23:11 +0000 |
commit | 02a320777f5b91f33aee364bb29ecc0151aac3e0 (patch) | |
tree | 26ba87d2e8a0f9f3469831f302df5f05c8726845 /include | |
parent | b2bb094f6ba3d2c23573ea9a66d7cc67c2a3ea1a (diff) |
convert canvas::IColorBuffer::Format to scoped enum
Change-Id: I0013c0b14992062be97977bf00f4af89fb2766f5
Reviewed-on: https://gerrit.libreoffice.org/22633
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/canvas/rendering/icolorbuffer.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/canvas/rendering/icolorbuffer.hxx b/include/canvas/rendering/icolorbuffer.hxx index 5402f795b243..b85ca18a72c8 100644 --- a/include/canvas/rendering/icolorbuffer.hxx +++ b/include/canvas/rendering/icolorbuffer.hxx @@ -33,13 +33,13 @@ namespace canvas struct IColorBuffer { /// The underlying pixel format for this buffer - enum Format + enum class Format { // 32-bit ARGB pixel format with alpha, 8 bits per channel. - FMT_A8R8G8B8, + A8R8G8B8, // 32-bit RGB pixel format, 8 bits per channel. - FMT_X8R8G8B8 + X8R8G8B8 }; virtual ~IColorBuffer() {} |