]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blob - viewer/view_btree_data.h
Inicio visor de arbol.
[z.facultad/75.52/treemulator.git] / viewer / view_btree_data.h
1
2 #ifndef _VIEW_BTREE_DATA_H_
3 #define _VIEW_BTREE_DATA_H_
4
5 #include <libgnomecanvasmm.h>
6 #include <string>
7
8 #include "btree.h"
9 #include "btree_data.h"
10
11 using namespace Gnome;
12
13 class ViewBTreeData :public Canvas::Rect {
14         public:
15                 ViewBTreeData (BTreeData *data, Canvas::Group *parent, double x1, double y1, double x2, double y2);
16
17                 static ViewBTreeData *Create (BTreeData *data, Canvas::Group *parent, double x1, double y1, double x2, double y2);
18
19         protected:
20                 BTreeData *data;
21 };
22
23 class ViewBTreeChildData :public ViewBTreeData {
24         public:
25                 ViewBTreeChildData (BTreeData *data, Canvas::Group *parent, double x1, double y1, double x2, double y2);
26
27         protected:
28                 BTreeData *data;
29 };
30 #endif
31