summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/basebmp/drawmodes.hxx10
-rw-r--r--include/basebmp/genericcolorimageaccessor.hxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/include/basebmp/drawmodes.hxx b/include/basebmp/drawmodes.hxx
index a5f98ed3d418..0d7ce92d24c9 100644
--- a/include/basebmp/drawmodes.hxx
+++ b/include/basebmp/drawmodes.hxx
@@ -24,12 +24,12 @@
namespace basebmp
{
- enum DrawMode
+ enum class DrawMode
{
- /** Default draw mode, which simply renders pixel in the
+ /** Default draw mode, which simply renders pixels in the
requested color
*/
- DrawMode_PAINT,
+ Paint,
/** XOR draw mode, which XORs each existing pixel value with
the new color.
@@ -37,10 +37,10 @@ namespace basebmp
The result of this XOR operation strongly depends on the
underlying pixel format, as it is defined by the bitwise
XOR of the (potentially palette-looked-up) color value and
- the existing pixel content (being it true color or a
+ the existing pixel content (be it true color or a
palette index).
*/
- DrawMode_XOR
+ XOR
};
}
diff --git a/include/basebmp/genericcolorimageaccessor.hxx b/include/basebmp/genericcolorimageaccessor.hxx
index 5aaa95327176..6d7cd531f58b 100644
--- a/include/basebmp/genericcolorimageaccessor.hxx
+++ b/include/basebmp/genericcolorimageaccessor.hxx
@@ -40,7 +40,7 @@ namespace basebmp
explicit GenericColorImageAccessor( BitmapDeviceSharedPtr const& rTarget ) :
mpDevice(rTarget),
- meDrawMode(DrawMode_PAINT)
+ meDrawMode(DrawMode::Paint)
{}
GenericColorImageAccessor( BitmapDeviceSharedPtr const& rTarget,