eps_win.cc
changeset 201 879e47e5b731
parent 198 d6cc0579b94b
     1.1 --- a/eps_win.cc	Wed May 02 20:33:58 2007 +0000
     1.2 +++ b/eps_win.cc	Wed Jan 02 21:03:09 2008 +0000
     1.3 @@ -31,7 +31,7 @@
     1.4    return true;
     1.5  }
     1.6  
     1.7 -EpsWin::EpsWin(const std::string& title, std::vector<std::string> nml):Gtk::Dialog(title, true, true)
     1.8 +EpsWin::EpsWin(const std::string& title, std::vector<std::string> n_nml, std::vector<std::string> s_nml):Gtk::Dialog(title, true, true)
     1.9  {
    1.10    set_default_size(200, 50);
    1.11  
    1.12 @@ -57,7 +57,7 @@
    1.13        (*table).attach(*(options[i]),0,1,i,i+1,Gtk::FILL,Gtk::SHRINK,10,3);
    1.14      }
    1.15  
    1.16 -  mapselector=new MapSelector(nml, "", "Nodeshapes", false);
    1.17 +  mapselector=new MapSelector(n_nml, s_nml, "", "Nodeshapes", false, true, NUM);
    1.18    mapselector->signal_newmapwin_needed().connect(sigc::mem_fun(*this, &EpsWin::newMapWinNeeded));
    1.19  
    1.20    hbox.pack_start(*(new Gtk::Label("Filename")));
    1.21 @@ -104,7 +104,7 @@
    1.22    signal_new_map.emit(false);
    1.23  }
    1.24  
    1.25 -void EpsWin::registerNewNodeMap(std::string newmapname)
    1.26 +void EpsWin::registerNewNodeMap(std::string newmapname, MapValue::Type type)
    1.27  {
    1.28 -    mapselector->append_text((Glib::ustring)newmapname);
    1.29 +    mapselector->append_text((Glib::ustring)newmapname, type);
    1.30  }