00001 /*************************************************************************** 00002 * * 00003 * DrawPad - a drawing program for Opie Environment * 00004 * * 00005 * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> * 00006 * * 00007 * This program is free software; you can redistribute it and/or modify * 00008 * it under the terms of the GNU General Public License as published by * 00009 * the Free Software Foundation; either version 2 of the License, or * 00010 * (at your option) any later version. * 00011 * * 00012 ***************************************************************************/ 00013 00014 #ifndef RECTANGLETOOL_H 00015 #define RECTANGLETOOL_H 00016 00017 #include "shapetool.h" 00018 00019 class RectangleTool : public ShapeTool 00020 { 00021 public: 00022 RectangleTool(DrawPad* drawPad, DrawPadCanvas* drawPadCanvas); 00023 ~RectangleTool(); 00024 00025 protected: 00026 void drawFinalShape(QPainter& p); 00027 void drawTemporaryShape(QPainter& p); 00028 }; 00029 00030 #endif // RECTANGLETOOL_H
1.4.2