X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/84820a0fe02b9fdd63fb7c28d5a823bfa065c259..eabe0084451a515b80a7fd462c71b4bb2f8dd7bd:/viewer/view_btree_data.h?ds=sidebyside diff --git a/viewer/view_btree_data.h b/viewer/view_btree_data.h index 1af3866..3a08bf6 100644 --- a/viewer/view_btree_data.h +++ b/viewer/view_btree_data.h @@ -18,11 +18,15 @@ class ViewBTreeData :public Canvas::Rect { static ViewBTreeData *Create (BTreeData *data, Canvas::Group *parent, double x1, double y1, double x2, double y2); - typedef SigC::Signal1 type_signal_clicked; + typedef SigC::Signal2 type_signal_clicked; type_signal_clicked signal_clicked (); + typedef SigC::Signal2 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; @@ -37,7 +41,6 @@ class ViewBTreeChildData :public ViewBTreeData { protected: virtual void init (Canvas::Group *parent); - BTreeData *data; }; #endif