- Canvas::Rect *rect = new Canvas::Rect (*this, 0, 0, NODE_WIDTH, NODE_HEIGHT);
- rect->property_fill_color() = "gray";
-
- byte_to_pixels = NODE_WIDTH/64; // TODO : 64 == BlockSize
+ViewBTree::ViewBTree (Canvas::Group *parent, std::string filename, uint block_size, int type):Canvas::Group (*parent, 0, 0),
+ BTree (filename, block_size, type)
+{
+ /* Cada bytes lo hago de 5 units de ancho */
+ node_width = 5 * block_size;
+ node_height = node_width/10;
+ byte_to_pixels = node_width/block_size;