diff options
author | neoraider <devnull@localhost> | 2008-04-06 15:29:03 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-06 15:29:03 +0200 |
commit | 356efaf89afdad141b313767e1a2b89de3c08d0a (patch) | |
tree | 37edb2a0fc0ea15f4f60e45ed411cbea7b4c12c5 /Tool.h | |
parent | 258eb984bafe0f667d1e76de61c8afaa23f39ef4 (diff) | |
download | zoomedit-356efaf89afdad141b313767e1a2b89de3c08d0a.tar zoomedit-356efaf89afdad141b313767e1a2b89de3c08d0a.zip |
zoomedit: Recreated ZoomEdit based on Glademm.
Diffstat (limited to 'Tool.h')
-rw-r--r-- | Tool.h | 35 |
1 files changed, 0 insertions, 35 deletions
@@ -1,35 +0,0 @@ -#ifndef TOOL_H_ -#define TOOL_H_ - -#include "Object.h" -#include "EventHandler.h" -#include "Sidebar.h" -#include "Renderer.h" -#include <gtk/gtk.h> - - -class Tool : public Object { - public: - virtual ~Tool() {} - - virtual void activate() {}; - virtual void deactivate() {}; - - virtual const char* getName() const { - return getType(); - } - - virtual GtkWidget* getImage() = 0; - - virtual bool isSensitive() const { - return true; - } - - virtual bool hoverFilter(const LevelObject &object) const = 0; - - virtual EventHandler* getEventHandler() = 0; - virtual Sidebar* getSidebar() = 0; - virtual Renderer* getRenderer() {return NULL;} -}; - -#endif /*TOOL_H_*/ |