author | leseb <leseb> | 2002-03-27 17:17:06 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-03-27 17:17:06 (UTC) |
commit | 7578abbb11ce2dbae3c54ab7051ad2b39d31360b (patch) (side-by-side diff) | |
tree | d87912e163039608f6c1c2dfcdab2f99010df118 /noncore/graphics/drawpad/filldrawmode.h | |
parent | 4372bb8e59eb4b0d2fa5fba8f6525dc14873f239 (diff) | |
download | opie-7578abbb11ce2dbae3c54ab7051ad2b39d31360b.zip opie-7578abbb11ce2dbae3c54ab7051ad2b39d31360b.tar.gz opie-7578abbb11ce2dbae3c54ab7051ad2b39d31360b.tar.bz2 |
Rename drawmode -> tool
Diffstat (limited to 'noncore/graphics/drawpad/filldrawmode.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/filldrawmode.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/noncore/graphics/drawpad/filldrawmode.h b/noncore/graphics/drawpad/filldrawmode.h deleted file mode 100644 index 604f9c7..0000000 --- a/noncore/graphics/drawpad/filldrawmode.h +++ b/dev/null @@ -1,39 +0,0 @@ -/*************************************************************************** - * * - * DrawPad - a drawing program for Opie Environment * - * * - * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#ifndef FILLDRAWMODE_H -#define FILLDRAWMODE_H - -#include "drawmode.h" - -#include <qimage.h> - -class FillDrawMode : public DrawMode -{ -public: - FillDrawMode(DrawPad* drawPad, DrawPadCanvas* drawPadCanvas); - ~FillDrawMode(); - - void mousePressEvent(QMouseEvent* e); - void mouseReleaseEvent(QMouseEvent* e); - void mouseMoveEvent(QMouseEvent* e); - -private: - void fillLine(int x, int y); - - QImage m_image; - QRgb m_fillRgb; - QRgb m_oldRgb; -}; - -#endif // FILLDRAWMODE_H |