Mercurial > projects > doodle
comparison gui.d @ 8:bf7903435f58
Checkpoint
author | "David Bryant <bagnose@gmail.com>" |
---|---|
date | Sat, 11 Jul 2009 21:49:04 +0930 |
parents | 936feb16eed4 |
children | fb571a3b1f0d |
comparison
equal
deleted
inserted
replaced
7:936feb16eed4 | 8:bf7903435f58 |
---|---|
22 tools ~= new PanTool; | 22 tools ~= new PanTool; |
23 tools ~= new ZoomTool; | 23 tools ~= new ZoomTool; |
24 auto event_handler = new ToolStack(tools); | 24 auto event_handler = new ToolStack(tools); |
25 auto canvas = new Canvas(event_handler); | 25 auto canvas = new Canvas(event_handler); |
26 window.add(canvas); | 26 window.add(canvas); |
27 window.setDefaultSize(420, 340); | |
27 window.showAll(); | 28 window.showAll(); |
28 Main.run(); | 29 Main.run(); |
29 | 30 |
30 /* | 31 /* |
31 Point p3 = Point.DEFAULT; | 32 Point p3 = Point.DEFAULT; |