1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/kruskalbox.cc Wed Jan 04 18:05:55 2006 +0000
1.3 @@ -0,0 +1,27 @@
1.4 +#include <kruskalbox.h>
1.5 +
1.6 +KruskalBox::KruskalBox(std::vector<std::string> t, std::vector<std::string> nm, std::vector<std::string> em):AlgoBox()
1.7 +{
1.8 + init(t, nm, em);
1.9 +}
1.10 +
1.11 +void KruskalBox::run()
1.12 +{
1.13 + std::cout << "Kruskal inditasa, de meg nincsen keszen." << std::endl;
1.14 +}
1.15 +
1.16 +void KruskalBox::build_box()
1.17 +{
1.18 + edgemapcbts.resize(1);
1.19 + Gtk::HBox * hbox=new Gtk::HBox();
1.20 +
1.21 + std::ostringstream o;
1.22 + o << "Edgecosts: ";
1.23 + label=new Gtk::Label(o.str());
1.24 +
1.25 + edgemapcbts[0]=new Gtk::ComboBoxText();
1.26 +
1.27 + hbox->pack_start(*label);
1.28 + hbox->pack_start(*(edgemapcbts[0]));
1.29 + pack_start(*hbox);
1.30 +}