gui/main_win.cc
changeset 1614 350c1d8bb7cc
parent 1606 dc4ea2010dee
child 1615 b42385baaf3a
equal deleted inserted replaced
11:7eb265204b36 12:3e52ea3eba36
     1 #include "main_win.h"
     1 #include "main_win.h"
     2 
     2 
     3 MainWin::MainWin(const std::string& title) :
     3 MainWin::MainWin(const std::string& title) :
     4   mapwin("Map Setup", mapstorage, gd_canvas),
     4   mapwin("Map Setup", mapstorage, gd_canvas),
     5   newmapwin("Creating new map", gd_canvas), gd_canvas(mapstorage, mapwin)
     5   newmapwin("Creating new map", gd_canvas), gd_canvas(mapstorage, mapwin, (Gtk::Window *)this)
     6 {
     6 {
     7 
       
     8   set_title (title);
     7   set_title (title);
     9   set_default_size(WIN_WIDTH,WIN_HEIGHT);
     8   set_default_size(WIN_WIDTH,WIN_HEIGHT);
    10   add(vbox);
     9   add(vbox);
    11 
    10 
    12   ag=Gtk::ActionGroup::create();
    11   ag=Gtk::ActionGroup::create();