35
35
UI::UniqueWindow::Registry & registry,
36
36
Interactive_Player::Game_Main_Menu_Windows & windows)
38
UI::UniqueWindow(&plr, ®istry, 180, 55, _("Main Menu")),
38
UI::UniqueWindow(&plr, "main_menu", ®istry, 180, 55, _("Main Menu")),
40
40
m_windows (windows),
42
(this, "general_stats",
43
43
posx(0, 4), posy(0, 3), buttonw(4), buttonh(1),
44
44
g_gr->get_picture(PicMod_UI, "pics/but4.png"),
45
45
g_gr->get_picture(PicMod_Game, "pics/menu_general_stats.png"),
46
46
&GameMainMenu::clicked_general_stats, *this,
47
47
_("General Statistics")),
50
50
posx(1, 4), posy(0, 3), buttonw(4), buttonh(1),
51
51
g_gr->get_picture(PicMod_UI, "pics/but4.png"),
52
52
g_gr->get_picture(PicMod_Game, "pics/menu_ware_stats.png"),
53
53
&GameMainMenu::clicked_ware_stats, *this,
54
54
_("Ware Statistics")),
56
(this, "building_stats",
57
57
posx(2, 4), posy(0, 3), buttonw(4), buttonh(1),
58
58
g_gr->get_picture(PicMod_UI, "pics/but4.png"),
59
59
g_gr->get_picture(PicMod_Game, "pics/menu_building_stats.png"),
60
60
&GameMainMenu::clicked_building_stats, *this,
61
61
_("Building Statistics")),
64
64
posx(3, 4), posy(0, 3), buttonw(4), buttonh(1),
65
65
g_gr->get_picture(PicMod_UI, "pics/but4.png"),
66
66
g_gr->get_picture(PicMod_Game, "pics/menu_stock.png"),