]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blobdiff - viewer/view_btree_data.h
Bugfix del test.sh para que no 'oculte' errores por SIGSEGV.
[z.facultad/75.52/treemulator.git] / viewer / view_btree_data.h
index 1af3866be6a9340f0a2a9e4f68ef443f0694f113..e3000da96b5ca98a4996c3da993b089856a437f0 100644 (file)
@@ -18,11 +18,16 @@ class ViewBTreeData :public Canvas::Rect {
 
                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);
+               bool operator == (Clave &k) const;
        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 +42,6 @@ class ViewBTreeChildData :public ViewBTreeData {
 
        protected:
                virtual void init (Canvas::Group *parent);
-               BTreeData *data;
 };
 #endif