]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blobdiff - viewer/view_btree.h
Agrego ScrolledWindow a la vista de debug.
[z.facultad/75.52/treemulator.git] / viewer / view_btree.h
index 8227609835b0ff2233398f2cc3432b63be937453..d8e585ad62752e04931e1e909b92f8f4b0b85bf5 100644 (file)
@@ -6,6 +6,7 @@
 #include <string>
 
 #include "btree.h"
+#include "view_node.h"
 
 #define NODE_WIDTH 500
 #define NODE_HEIGHT 50
@@ -34,20 +35,5 @@ class ViewBTree : public Canvas::Group, public BTree {
 
 };
 
-class ViewNode : public Canvas::Group {
-       public:
-               ViewNode (Canvas::Group *parent, uint num, BTreeNodeHeader &header, std::list<BTreeData *> &keys);
-
-               std::list<uint>& getChilds () { return hijos; } 
-
-               typedef SigC::Signal2<void, BTreeData *, uint> type_signal_selected;
-               type_signal_selected signal_selected ();
-       private:
-               void on_item_clicked (BTreeData *data);
-               std::list<uint> hijos;
-               type_signal_selected m_signal_selected;
-               uint num;
-};
-
 #endif