diff Framework/Widgets/CairoWidget.cpp @ 561:1201b12eb9f8 dev

merge default -> dev
author Alain Mazy <alain@mazy.be>
date Thu, 18 Apr 2019 09:30:00 +0200
parents aaeec7be8fb7
children 4f2416d519b4
line wrap: on
line diff
--- a/Framework/Widgets/CairoWidget.cpp	Wed Apr 17 16:13:42 2019 +0200
+++ b/Framework/Widgets/CairoWidget.cpp	Thu Apr 18 09:30:00 2019 +0200
@@ -40,7 +40,7 @@
   void CairoWidget::SetSize(unsigned int width,
                             unsigned int height)
   {
-    surface_.SetSize(width, height);
+    surface_.SetSize(width, height, false /* no alpha */);
   }
   
 
@@ -51,7 +51,7 @@
 
     if (IsAligned(target))
     {
-      CairoSurface surface(target);
+      CairoSurface surface(target, false /* no alpha */);
       CairoContext context(surface);
       ClearBackgroundCairo(context);
       return RenderCairo(context);
@@ -82,7 +82,7 @@
   {
     if (IsAligned(target))
     {
-      CairoSurface surface(target);
+      CairoSurface surface(target, false /* no alpha */);
       CairoContext context(surface);
       RenderMouseOverCairo(context, x, y);
     }