~qcumber-some/widelands/spice-up-cmake

« back to all changes in this revision

Viewing changes to src/wui/game_main_menu.cc

  • Committer: Jens Beyer (Qcumber-some)
  • Date: 2010-05-28 14:51:37 UTC
  • mfrom: (5149.1.226 trunk)
  • Revision ID: qcumber-some@buerotiger.de-20100528145137-0pyil9qw7szyztsw
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
         UI::UniqueWindow::Registry                 & registry,
36
36
         Interactive_Player::Game_Main_Menu_Windows & windows)
37
37
:
38
 
UI::UniqueWindow(&plr, &registry, 180, 55, _("Main Menu")),
 
38
UI::UniqueWindow(&plr, "main_menu", &registry, 180, 55, _("Main Menu")),
39
39
m_player      (plr),
40
40
m_windows     (windows),
41
41
general_stats
42
 
        (this,
 
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")),
48
48
ware_stats
49
 
        (this,
 
49
        (this, "ware_stats",
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")),
55
55
building_stats
56
 
        (this,
 
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")),
62
62
stock
63
 
        (this,
 
63
        (this, "stock",
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"),