- reduced menu fadness a bit (ie. balanced the edges)
[supertux.git] / src / menu.cpp
index 893962d..99073f5 100644 (file)
@@ -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)
     {