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);
20 virtual void init (Canvas::Group *parent);
24 class ViewBTreeChildData :public ViewBTreeData {
26 ViewBTreeChildData (BTreeData *data, Canvas::Group *parent, double x1, double y1, double x2, double y2);
29 virtual void init (Canvas::Group *parent);