equal
deleted
inserted
replaced
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(); |