]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blobdiff - viewer/view_properties.cpp
Muevo el canvas a 0,0 luego.
[z.facultad/75.52/treemulator.git] / viewer / view_properties.cpp
index c10bbae3402a6fb1b75523120a3c01192771ad30..65f782f8343614feb4891744d7d4f9e6ee472a6a 100644 (file)
@@ -78,25 +78,26 @@ void ViewProperties::ShowItem (BTreeData *data, BTreeNodeHeader &header)
 
                std::string s4;
                std::stringstream ss4;
-               ss4 << data->getChild ();
+               ss4 << data->GetChild ();
                ss4 >> s4;
                data_child.set_label (s4);
        } else if (dynamic_cast<BTreeLeafData *>(data)) {
                data_type.set_label ("BTreeLeafData");
                data_child.set_label ("N/C");
 
-               std::string s4 = *(data->getClave ());
+               std::string s4 = *(data->GetKey ());
+               std::cout << "----> " << s4 << std::endl;
                data_key.set_label (s4);
        } else {
                data_type.set_label ("BTreeData");
 
                std::string s4;
                std::stringstream ss4;
-               ss4 << data->getChild ();
+               ss4 << data->GetChild ();
                ss4 >> s4;
                data_child.set_label (s4);
 
-               std::string s5 = *(data->getClave ());
+               std::string s5 = *(data->GetKey ());
                data_key.set_label (s5);
        }
 }