X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/37c9b25e38617bead7998f82531d5e3131a4d7b7..ca4f831a3835de978b27c7e198b2b52999aa8f3e:/viewer/view_btree.h diff --git a/viewer/view_btree.h b/viewer/view_btree.h index bd4f22c..e3a5c68 100644 --- a/viewer/view_btree.h +++ b/viewer/view_btree.h @@ -21,6 +21,9 @@ class ViewBTree : public Canvas::Group, public BTree { int max_level; /* Lo saco de la raiz */ /* Posicion X por nivel */ std::map pos_x; + /* Control para no poner 2 veces un nodo */ + /* Un nodo que quiera ser puesto 2 veces es un bug :) */ + std::map node_placed; void AddNode (uint num);