diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-27 16:09:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-28 12:47:08 +0200 |
commit | f3331f7694e74f349375c223ce7ed84838e92d89 (patch) | |
tree | ef238fa98153c756df201d26d15e0602638298cc /vcl/source/control/fixed.cxx | |
parent | 173aa749d50f904887e4aa1ce425c6807668bff0 (diff) |
convert PARENTCLIPMODE constants to scoped enum
Change-Id: I36a53112e75fca9208b2f91e224a7c671695509b
Diffstat (limited to 'vcl/source/control/fixed.cxx')
-rw-r--r-- | vcl/source/control/fixed.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx index c891061be18c..214db260083e 100644 --- a/vcl/source/control/fixed.cxx +++ b/vcl/source/control/fixed.cxx @@ -211,14 +211,14 @@ void FixedText::ApplySettings(vcl::RenderContext& rRenderContext) if (pParent->IsChildTransparentModeEnabled() && !IsControlBackground()) { EnableChildTransparentMode(true); - SetParentClipMode(PARENTCLIPMODE_NOCLIP); + SetParentClipMode(ParentClipMode::NoClip); SetPaintTransparent(true); rRenderContext.SetBackground(); } else { EnableChildTransparentMode(false); - SetParentClipMode(0); + SetParentClipMode(ParentClipMode::NONE); SetPaintTransparent(false); if (IsControlBackground()) @@ -619,14 +619,14 @@ void FixedLine::ApplySettings(vcl::RenderContext& rRenderContext) if (pParent->IsChildTransparentModeEnabled() && !IsControlBackground()) { EnableChildTransparentMode(true); - SetParentClipMode(PARENTCLIPMODE_NOCLIP); + SetParentClipMode(ParentClipMode::NoClip); SetPaintTransparent(true); rRenderContext.SetBackground(); } else { EnableChildTransparentMode(false); - SetParentClipMode(0); + SetParentClipMode(ParentClipMode::NONE); SetPaintTransparent(false); if (IsControlBackground()) @@ -751,14 +751,14 @@ void FixedBitmap::ApplySettings(vcl::RenderContext& rRenderContext) if (pParent->IsChildTransparentModeEnabled() && !IsControlBackground()) { EnableChildTransparentMode(true); - SetParentClipMode(PARENTCLIPMODE_NOCLIP); + SetParentClipMode(ParentClipMode::NoClip); SetPaintTransparent(true); rRenderContext.SetBackground(); } else { EnableChildTransparentMode(false); - SetParentClipMode(0); + SetParentClipMode(ParentClipMode::NONE); SetPaintTransparent(false); if (IsControlBackground()) @@ -921,14 +921,14 @@ void FixedImage::ApplySettings(vcl::RenderContext& rRenderContext) if (pParent && pParent->IsChildTransparentModeEnabled() && !IsControlBackground()) { EnableChildTransparentMode(true); - SetParentClipMode(PARENTCLIPMODE_NOCLIP); + SetParentClipMode(ParentClipMode::NoClip); SetPaintTransparent(true); rRenderContext.SetBackground(); } else { EnableChildTransparentMode(false); - SetParentClipMode(0); + SetParentClipMode(ParentClipMode::NONE); SetPaintTransparent(false); if (IsControlBackground()) |