#include <libgnomecanvasmm.h>
#include <string>
+#include <gtkmm/button.h>
#include "btree.h"
#include "btree_data.h"
class ViewBTreeData :public Canvas::Rect {
public:
ViewBTreeData (BTreeData *data, Canvas::Group *parent, double x1, double y1, double x2, double y2);
+ virtual ~ViewBTreeData () {}
static ViewBTreeData *Create (BTreeData *data, Canvas::Group *parent, double x1, double y1, double x2, double y2);
+ typedef SigC::Signal1<void, BTreeData *> type_signal_clicked;
+ type_signal_clicked signal_clicked ();
+
protected:
+ type_signal_clicked m_signal_clicked;
+
virtual void init (Canvas::Group *parent);
BTreeData *data;
+
+ virtual bool on_event (GdkEvent *p1);
};
class ViewBTreeChildData :public ViewBTreeData {
public:
ViewBTreeChildData (BTreeData *data, Canvas::Group *parent, double x1, double y1, double x2, double y2);
+ virtual ~ViewBTreeChildData () {}
protected:
virtual void init (Canvas::Group *parent);