diff -r c7ae8642a8d8 -r 879e47e5b731 new_map_win.h --- a/new_map_win.h Wed May 02 20:33:58 2007 +0000 +++ b/new_map_win.h Wed Jan 02 21:03:09 2008 +0000 @@ -35,6 +35,15 @@ ///The \ref NoteBookTab in which the new map has to be placed. NoteBookTab & mytab; + MapType map_type; + Gtk::Label lblType; + Gtk::ComboBoxText cbType; + + Gtk::Label lblErrorMsg; + void setErrorMsg(const Glib::ustring& msg); + + std::vector* evaluate_expr(const std::string polishform, bool itisedge); + public: ///Struct to be able to evaluate expressions. @@ -59,7 +68,7 @@ ///It creates the widgets shown in ///NewMapWin. - NewMapWin(const std::string& title, NoteBookTab &, bool itisedge=true, bool edgenode=true); + NewMapWin(const std::string& title, NoteBookTab &, bool itisedge=true, bool edgenode=true, MapType type = ALL); ///Callback function for OK button. It creates the map.