X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/84820a0fe02b9fdd63fb7c28d5a823bfa065c259..c8b8148848e31e0e39a01ed45c19ccc0d0702a34:/viewer/view_btree.h diff --git a/viewer/view_btree.h b/viewer/view_btree.h index 8227609..d8e585a 100644 --- a/viewer/view_btree.h +++ b/viewer/view_btree.h @@ -6,6 +6,7 @@ #include #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 &keys); - - std::list& getChilds () { return hijos; } - - typedef SigC::Signal2 type_signal_selected; - type_signal_selected signal_selected (); - private: - void on_item_clicked (BTreeData *data); - std::list hijos; - type_signal_selected m_signal_selected; - uint num; -}; - #endif