summaryrefslogtreecommitdiff
path: root/noncore/graphics/drawpad/linetool.h
Unidiff
Diffstat (limited to 'noncore/graphics/drawpad/linetool.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/drawpad/linetool.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/linetool.h b/noncore/graphics/drawpad/linetool.h
new file mode 100644
index 0000000..6108b5a
--- a/dev/null
+++ b/noncore/graphics/drawpad/linetool.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 LINETOOL_H
15#define LINETOOL_H
16
17#include "shapetool.h"
18
19class LineTool : public ShapeTool
20{
21public:
22 LineTool(DrawPad* drawPad, DrawPadCanvas* drawPadCanvas);
23 ~LineTool();
24
25protected:
26 void drawFinalShape(QPainter& p);
27 void drawTemporaryShape(QPainter& p);
28};
29
30#endif // LINETOOL_H