Diffstat (limited to 'noncore/graphics/drawpad/ellipsetool.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/ellipsetool.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/ellipsetool.h b/noncore/graphics/drawpad/ellipsetool.h new file mode 100644 index 0000000..1f48b39 --- a/dev/null +++ b/noncore/graphics/drawpad/ellipsetool.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /*************************************************************************** | ||
2 | * * | ||
3 | * DrawPad - a drawing program for Opie Environment * | ||
4 | * * | ||
5 | * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> * | ||
6 | * * | ||
7 | * This program is free software; you can redistribute it and/or modify * | ||
8 | * it under the terms of the GNU General Public License as published by * | ||
9 | * the Free Software Foundation; either version 2 of the License, or * | ||
10 | * (at your option) any later version. * | ||
11 | * * | ||
12 | ***************************************************************************/ | ||
13 | |||
14 | #ifndef ELLIPSETOOL_H | ||
15 | #define ELLIPSETOOL_H | ||
16 | |||
17 | #include "shapetool.h" | ||
18 | |||
19 | class EllipseTool : public ShapeTool | ||
20 | { | ||
21 | public: | ||
22 | EllipseTool(DrawPad* drawPad, DrawPadCanvas* drawPadCanvas); | ||
23 | ~EllipseTool(); | ||
24 | |||
25 | protected: | ||
26 | void drawFinalShape(QPainter& p); | ||
27 | void drawTemporaryShape(QPainter& p); | ||
28 | }; | ||
29 | |||
30 | #endif // ELLIPSETOOL_H | ||