main_win.cc
branchgui
changeset 84 09b09efab0a1
parent 76 76f4f2ae0e7d
child 87 b44281e4cca7
equal deleted inserted replaced
20:3c6ce09dd930 21:d199df811ec1
     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