X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmenu.cpp;h=99073f5003a4ceb5fe3d28e4e42591c40dca807f;hb=f87231eab36e900a5f96e24e5c0c6fb90ab7bf62;hp=893962d94557531634bd160b6a529c29849b689a;hpb=ae7e8f04e6a19855f6f89233bbd36bf0855ccc03;p=supertux.git diff --git a/src/menu.cpp b/src/menu.cpp index 893962d94..99073f500 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -43,6 +43,7 @@ Menu* options_controls_menu = 0; Menu* highscore_menu = 0; Menu* load_game_menu = 0; Menu* save_game_menu = 0; +Menu* contrib_menu = 0; Menu* current_menu = 0; @@ -293,7 +294,6 @@ Menu::action() } } -/* Check, if the value of the active menu item has changed. */ int Menu::check() { @@ -481,7 +481,7 @@ int Menu::width() } } - return (menu_width * 16 + 48); + return (menu_width * 16 + 24); } int Menu::height() @@ -498,9 +498,9 @@ Menu::draw() /* Draw a transparent background */ fillrect(pos_x - menu_width/2, - pos_y - 24*num_items/2, - menu_width,menu_height, - 150,180,200,100); + pos_y - 24*num_items/2 - 10, + menu_width,menu_height + 20, + 150,180,200,125); for(int i = 0; i < num_items; ++i) {