From: Ricardo Markiewicz Date: Mon, 17 Oct 2005 04:53:09 +0000 (+0000) Subject: Muestro el header al cambiar de nodo. X-Git-Tag: 1_0-pre1~47 X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/commitdiff_plain/6079e1eac2e861165a321fa81a257bb4cb149071 Muestro el header al cambiar de nodo. --- diff --git a/nviewer/w_btree.cpp b/nviewer/w_btree.cpp index 892db6c..a5a819b 100644 --- a/nviewer/w_btree.cpp +++ b/nviewer/w_btree.cpp @@ -51,6 +51,8 @@ void wBTree::ShowNode (uint node_num) wattron (win, COLOR_PAIR (2)); else wattron (win, COLOR_PAIR (3)); + mvwaddnstr (win, y, x, " ", 1); + x++; mvwaddnstr (win, y, x, (const char *)(s.c_str ()), s.length ()); if (n%2) wattroff (win, COLOR_PAIR (2)); @@ -61,7 +63,7 @@ void wBTree::ShowNode (uint node_num) it++; } last_length = x; - mvwaddstr (win, 20, 5, "Ir al nodo (-1 para salir) : "); + wnode->ShowHeader (node_num, node_header); } void wBTree::Show ()