Mercurial > projects > doodle
annotate itoolstack.d @ 0:e907d2c54ec3
Initial import
author | David Bryant <daveb@acres.com.au> |
---|---|
date | Wed, 13 May 2009 15:42:39 +0930 |
parents | |
children |
rev | line source |
---|---|
0 | 1 module itoolstack; |
2 | |
3 interface IToolStack { | |
4 void push(Tool tool); | |
5 void pop(); | |
6 void replace(Tool tool); | |
7 } | |
8 | |
9 abstract class Tool : ICanvasEventHandler { | |
10 /* | |
11 abstract bool is_sticky(); | |
12 abstract bool is_replaceable(); | |
13 */ | |
14 | |
15 abstract void start(IToolStack tool_stack); | |
16 abstract void stop(IToolStack tool_stack); | |
17 } | |
18 |