comparison tool_layer.d @ 18:df8d81d9f499

Lasso fiddling
author David Bryant <daveb@acres.com.au>
date Mon, 13 Jul 2009 17:08:32 +0930
parents c643c04e3f5e
children 22abbf4cde96
comparison
equal deleted inserted replaced
17:c643c04e3f5e 18:df8d81d9f499
98 return Rectangle(); 98 return Rectangle();
99 } 99 }
100 100
101 override void draw(const Viewport viewport, in Rectangle damage, 101 override void draw(const Viewport viewport, in Rectangle damage,
102 Context model_cr, Context screen_cr) const { 102 Context model_cr, Context screen_cr) const {
103 // FIXME this isn't how we will really draw the tools...
104 foreach (const Tool tool; mTools) {
105 tool.draw(viewport, damage, model_cr, screen_cr);
106 }
103 } 107 }
104 108
105 /* 109 /*
106 override void push(Tool tool) { 110 override void push(Tool tool) {
107 } 111 }