diff doodle/gtk/cairo.d @ 76:78bc2046256e

And some more
author "David Bryant <bagnose@gmail.com>"
date Sun, 15 Aug 2010 01:21:14 +0930
parents 6f2525e170f2
children 535bae7a7305
line wrap: on
line diff
--- a/doodle/gtk/cairo.d	Sun Aug 15 01:14:26 2010 +0930
+++ b/doodle/gtk/cairo.d	Sun Aug 15 01:21:14 2010 +0930
@@ -5,7 +5,7 @@
 }
 
 /*
-final class CairoDrawing : Drawing {
+final class CairoDrawable : Drawable {
     this(Context cr) {
         assert(cr);
         _cr = cr;
@@ -13,13 +13,8 @@
 
     // Drawing overrides:
 
-    void pushState() {
-        _cr.save;
-    }
-
-    void popState() {
-        _cr.restore;
-    }
+    void pushState() { _cr.save; }
+    void popState() { _cr.restore; }
 
     private {
         Context _cr;