Mercurial > projects > doodle
comparison doodle/dia/icanvas.d @ 101:523269b36711
Update to dmd 2.050
author | David Bryant <bagnose@gmail.com> |
---|---|
date | Thu, 28 Oct 2010 16:35:11 +1030 |
parents | a98116479793 |
children | 7abaf5c3959f |
comparison
equal
deleted
inserted
replaced
100:a274d16ab6ce | 101:523269b36711 |
---|---|
5 import doodle.tk.events; | 5 import doodle.tk.events; |
6 import doodle.tk.renderer; | 6 import doodle.tk.renderer; |
7 import doodle.tk.screen_model; | 7 import doodle.tk.screen_model; |
8 } | 8 } |
9 | 9 |
10 private { | 10 enum Cursor { DEFAULT, HAND, CROSSHAIR, PENCIL } |
11 import std.typecons; | |
12 } | |
13 | |
14 mixin(defineEnum!("Cursor", | |
15 "DEFAULT", "HAND", "CROSSHAIR", "PENCIL")); | |
16 | 11 |
17 interface IViewport2 { | 12 interface IViewport2 { |
18 void damageModel(in Rectangle area); | 13 void damageModel(in Rectangle area); |
19 void damageScreen(in Rectangle area); | 14 void damageScreen(in Rectangle area); |
20 } | 15 } |