Mercurial > projects > doodle
diff doodle/dia/icanvas.d @ 80:b759414d2b72
Switched from cairo to Drawable abstraction
author | "David Bryant <bagnose@gmail.com>" |
---|---|
date | Sun, 15 Aug 2010 23:43:04 +0930 |
parents | 024a5608087f |
children | cdd4fc728d94 |
line wrap: on
line diff
--- a/doodle/dia/icanvas.d Sun Aug 15 23:18:05 2010 +0930 +++ b/doodle/dia/icanvas.d Sun Aug 15 23:43:04 2010 +0930 @@ -3,7 +3,7 @@ public { import doodle.tk.geometry; import doodle.tk.events; - import cairo.Context; + import doodle.tk.drawable; } private { @@ -67,8 +67,8 @@ Rectangle bounds() const; - void draw(in Rectangle screenDamage, scope Context screenCr, - in Rectangle modelDamage, scope Context modelCr) const; + void draw(in Rectangle screenDamage, scope Drawable screenDrawable, + in Rectangle modelDamage, scope Drawable modelDrawable) const; private { immutable string _name;