public:
ViewBTree (Canvas::Group *parent, std::string filename);
+ static double byte_to_pixels;
protected:
- int byte_to_pixels;
int max_level; /* Lo saco de la raiz */
+ /* Posicion X por nivel */
+ std::map<uint,double> pos_x;
void AddNode (uint num);
};
+class ViewNode : public Canvas::Group {
+ public:
+ ViewNode (Canvas::Group *parent, uint num, BTreeNodeHeader &header, std::list<BTreeData *> &keys);
+
+ std::list<uint>& getChilds () { return hijos; }
+ private:
+ std::list<uint> hijos;
+};
+
#endif