This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
neofx-zoomedit/ToolAddPolygon.h

38 lines
729 B
C
Raw Normal View History

2007-12-04 21:35:01 +00:00
#ifndef TOOLADDPOLYGON_H_
#define TOOLADDPOLYGON_H_
#include "Tool.h"
#include "EditManager.h"
class ToolAddPolygon : public Tool {
private:
GtkWidget *image;
EditManager *editManager;
static const gchar* name;
// prevent shallow copy
ToolAddPolygon(const ToolAddPolygon &t);
const ToolAddPolygon& operator=(const ToolAddPolygon &t);
public:
ToolAddPolygon(EditManager *editManager);
virtual ~ToolAddPolygon();
virtual void activate();
virtual void deactivate();
2007-12-04 21:35:01 +00:00
virtual const gchar *getName() {
return name;
}
bool isSensitive() {
return TRUE;
2007-12-04 21:35:01 +00:00
}
virtual GtkWidget *getImage();
};
#endif /*TOOLADDPOLYGON_H_*/