new_map_win.h
branchgui
changeset 117 004b239908e6
parent 96 e664d8aa3f72
child 120 9166130d8d56
equal deleted inserted replaced
5:a8dd82730fcc 6:c3bdc0b2db6b
    26     tree_node * right_child;
    26     tree_node * right_child;
    27   };
    27   };
    28   
    28   
    29   ///Constructor of NewMapWin creates the widgets shown in NewMapWin.
    29   ///Constructor of NewMapWin creates the widgets shown in NewMapWin.
    30   NewMapWin(const std::string& title, NoteBookTab &, bool itisedge=true, bool edgenode=true);
    30   NewMapWin(const std::string& title, NoteBookTab &, bool itisedge=true, bool edgenode=true);
    31   
    31 
    32   ///Signal on button is connected to this function,
    32   ///Signal on button is connected to this function,
    33   ///Therefore this function determines whether to
    33   ///Therefore this function determines whether to
    34   ///call the map/creatort function, and if yes, it
    34   ///call the map/creatort function, and if yes, it
    35   //tells it the attributes.(name, default value)
    35   //tells it the attributes.(name, default value)
    36   virtual void on_response(int response_id);
    36   virtual void on_response(int response_id);
    45 
    45 
    46   std::string string2Polishform(std::string, bool);
    46   std::string string2Polishform(std::string, bool);
    47 
    47 
    48   bool validVariable(std::string, bool);
    48   bool validVariable(std::string, bool);
    49 
    49 
       
    50   void deleteTree(tree_node *);
       
    51 
    50   std::map<char, std::string> ch2var;
    52   std::map<char, std::string> ch2var;
    51 
    53 
    52   Gtk::Entry name, default_value;
    54   Gtk::Entry name, default_value;
    53 
    55 
    54   Gtk::Table * table;
    56   Gtk::Table * table;