gui/main_win.cc
changeset 1769 a67ec111236c
parent 1659 ab1e97b7b2b7
child 1777 a70cee06ae9c
equal deleted inserted replaced
20:6e5888072a72 21:0a7e0c2a86bb
     1 #include "main_win.h"
     1 #include "main_win.h"
     2 #include "icons/guipixbufs.h"
     2 #include "icons/guipixbufs.h"
     3 
     3 
     4 MainWin::MainWin() :
     4 MainWin::MainWin() :
     5   mapwin("Map Setup", mapstorage, gd_canvas),
     5   newmapwin("Creating new map", gd_canvas),
     6   newmapwin("Creating new map", gd_canvas), gd_canvas(mapstorage, mapwin, (Gtk::Window *)this)
     6   mapwin("Map Setup", mapstorage, gd_canvas, newmapwin),
       
     7   gd_canvas(mapstorage, mapwin, (Gtk::Window *)this)
     7 {
     8 {
     8   set_title ("unsaved file - " + prog_name);
     9   set_title ("unsaved file - " + prog_name);
     9   set_default_size(WIN_WIDTH,WIN_HEIGHT);
    10   set_default_size(WIN_WIDTH,WIN_HEIGHT);
    10   add(vbox);
    11   add(vbox);
    11 
    12