Mercurial > projects > doodle
comparison icanvas.d @ 2:d6f44347373d
* Switched over to geometry done with structs instead of classes.
* Removed direct access to gtk structs
* Refactoring
author | David Bryant <daveb@acres.com.au> |
---|---|
date | Fri, 10 Jul 2009 15:15:27 +0930 |
parents | e907d2c54ec3 |
children | 7d57cae10805 |
comparison
equal
deleted
inserted
replaced
1:c18e3f93d114 | 2:d6f44347373d |
---|---|
1 module icanvas; | 1 module icanvas; |
2 | 2 |
3 import tk.geometry; | 3 import tk.geometry2; |
4 | 4 |
5 interface ICanvas { | 5 interface ICanvas { |
6 void rel_zoom(Point screen_datum, double factor); | 6 void rel_zoom(Point2 screen_datum, double factor); |
7 void rel_pan(Vector screen_displacement); | 7 void rel_pan(Vector2 screen_displacement); |
8 //void damage(); | 8 //void damage(); |
9 } | 9 } |
10 | 10 |
11 import tk.events; | 11 import tk.events; |
12 | 12 |