2 #ifndef _VIEW_BTREE_DATA_H_
3 #define _VIEW_BTREE_DATA_H_
5 #include <libgnomecanvasmm.h>
9 #include "btree_data.h"
11 using namespace Gnome;
13 class ViewBTreeData :public Canvas::Rect {
15 ViewBTreeData (BTreeData *data, Canvas::Group *parent, double x1, double y1, double x2, double y2);
17 static ViewBTreeData *Create (BTreeData *data, Canvas::Group *parent, double x1, double y1, double x2, double y2);
23 class ViewBTreeChildData :public ViewBTreeData {
25 ViewBTreeChildData (BTreeData *data, Canvas::Group *parent, double x1, double y1, double x2, double y2);