static ViewBTreeData *Create (BTreeData *data, Canvas::Group *parent, double x1, double y1, double x2, double y2);
- typedef SigC::Signal1<void, BTreeData *> type_signal_clicked;
+ typedef SigC::Signal2<void, BTreeData *, ViewBTreeData *> type_signal_clicked;
type_signal_clicked signal_clicked ();
+ typedef SigC::Signal2<void, BTreeData *, ViewBTreeData *> type_signal_double_clicked;
+ type_signal_double_clicked signal_double_clicked ();
+ void SetSelected (bool b);
protected:
type_signal_clicked m_signal_clicked;
+ type_signal_double_clicked m_signal_double_clicked;
virtual void init (Canvas::Group *parent);
BTreeData *data;
protected:
virtual void init (Canvas::Group *parent);
- BTreeData *data;
};
#endif