19#ifndef KIS_STRATEGY_MOVE_H_
20#define KIS_STRATEGY_MOVE_H_
25#include <koffice_export.h>
30class KRITAUI_EXPORT KisStrategyMove {
34 virtual ~KisStrategyMove();
38 void startDrag( const TQPoint& pos);
39 void drag( const TQPoint& pos);
40 void endDrag( const TQPoint& pos, bool undo = true);
41 void simpleMove( const TQPoint& pt1, const TQPoint& pt2);
42 void simpleMove(TQ_INT32 x1, TQ_INT32 y1, TQ_INT32 x2, TQ_INT32 y2);
45 KisStrategyMove( const KisStrategyMove&);
46 KisStrategyMove& operator=( const KisStrategyMove&);
51 TQRect m_deviceBounds;
54 TQPoint m_layerPosition;
Interface for classes that implement a canvas; i.e., a widget where KisImages are painted onto.
KisCanvasSubject is part of the Observer pattern.
|