]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blob - nviewer/w_btree.h
Mejora vista del arbol.
[z.facultad/75.52/treemulator.git] / nviewer / w_btree.h
1
2
3 #ifndef _W_B_TREE_
4 #define _W_B_TREE_
5
6 #include "btree.h"
7 #include "window.h"
8 #include "w_node_header.h"
9                 
10 class wBTree : public Window {
11         public:
12                 wBTree (Window *p);
13                 ~wBTree ();
14
15                 void SetTree (BTree *b);
16                 void ShowNode (uint node_num);
17                 BTreeNodeHeader& GetHeader () { return node_header; }
18
19                 virtual void Show ();
20         protected:
21                 BTree *tree;
22                 BTreeNodeHeader node_header;
23                 uint last_length;
24
25                 wNodeHeader *wnode;
26 };
27
28 #endif
29