Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

IMG_CanvasRGBA32Action.h

00001 
00005 
00006 #ifndef _H_IMG_CanvasRGBA32Action
00007 #define _H_IMG_CanvasRGBA32Action
00008 
00009 #include "ACT_Action.h"
00010 #include "IMG_CanvasRGBA32.h"
00011 
00017 
00018 class IMG_CanvasRGBA32Action : public ACT_Action {
00019 public:
00030         IMG_CanvasRGBA32Action(GEN_String& name, IMG_CanvasRGBA32* canvas, IMG_PixmapRGBA32* undoPixmap, IMG_Rect& undoBnds);
00031 
00036         inline void setDirtyHackImagePointer(void* dirtyHackImagePointer) { m_dirtyHackImagePointer = dirtyHackImagePointer; }
00041         inline void* getDirtyHackImagePointer() { return m_dirtyHackImagePointer; }
00042 
00043 protected:
00048         virtual ~IMG_CanvasRGBA32Action();
00049 
00054         virtual void doApply();
00055 
00059         virtual void doUndo();
00060 
00062         IMG_CanvasRGBA32* m_canvas;
00064         IMG_PixmapRGBA32* m_undoPixmap;
00066         IMG_PixmapRGBA32* m_redoPixmap;
00068         IMG_Rect m_canvasBnds;
00070         IMG_Rect m_undoBnds;
00072         void*   m_dirtyHackImagePointer;
00073 };
00074 
00075 
00076 #endif // _H_IMG_CanvasRGBA32Action

Generated at Thu May 3 17:29:38 2001 for ImgLib by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000