hegyi@106: #include hegyi@106: hegyi@108: KruskalBox::KruskalBox(std::vector t):AlgoBox() hegyi@106: { hegyi@108: init(t); hegyi@106: } hegyi@106: hegyi@106: void KruskalBox::run() hegyi@106: { hegyi@108: hegyi@106: std::cout << "Kruskal inditasa, de meg nincsen keszen." << std::endl; hegyi@106: } hegyi@106: hegyi@106: void KruskalBox::build_box() hegyi@106: { hegyi@106: edgemapcbts.resize(1); hegyi@106: Gtk::HBox * hbox=new Gtk::HBox(); hegyi@106: hegyi@106: std::ostringstream o; hegyi@106: o << "Edgecosts: "; hegyi@106: label=new Gtk::Label(o.str()); hegyi@106: hegyi@106: edgemapcbts[0]=new Gtk::ComboBoxText(); hegyi@106: hegyi@106: hbox->pack_start(*label); hegyi@106: hbox->pack_start(*(edgemapcbts[0])); hegyi@106: pack_start(*hbox); hegyi@106: }