gui/map_win.cc
changeset 1440 3d2e3cfb2a6c
parent 1435 8e85e6bbefdf
child 1442 1e3c69aa035b
equal deleted inserted replaced
0:2d10355dcf53 1:50047e0f8dd0
     1 #include <map_win.h>
     1 #include <map_win.h>
     2 #include <set>
     2 #include <set>
     3 
     3 
     4 MapWin::MapWin(const std::string& title, MapStorage & mapst, GraphDisplayerCanvas & grdispc):gdc(grdispc),ms(mapst)
     4 MapWin::MapWin(const std::string& title, MapStorage & mapst, GraphDisplayerCanvas & grdispc):gdc(grdispc),ms(mapst)
     5 {
     5 {
       
     6 
       
     7   //most nem kommentezem fel, mert ugyis valtozik
       
     8 
     6   set_title(title);
     9   set_title(title);
     7   set_default_size(400, 200);
    10   set_default_size(400, 200);
     8 
    11 
     9   rb_array=new Gtk::RadioButton * [PROPERTY_NUM];
    12   rb_array=new Gtk::RadioButton * [PROPERTY_NUM];
    10   vbox_r1=new Gtk::VBox[PROPERTY_NUM];
    13   vbox_r1=new Gtk::VBox[PROPERTY_NUM];
    86 
    89 
    87 }
    90 }
    88 
    91 
    89 void MapWin::radio_click(int prop, int actpos)
    92 void MapWin::radio_click(int prop, int actpos)
    90 {
    93 {
       
    94 
       
    95   //most nem kommentezem fel, mert ugyis valtozik
       
    96 
    91   if(rb_array[prop][actpos].get_active())
    97   if(rb_array[prop][actpos].get_active())
    92   {
    98   {
    93 
    99 
    94     std::string mapname=rb_array[prop][actpos].get_label();
   100     std::string mapname=rb_array[prop][actpos].get_label();
    95 
   101