projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- reduced menu fadness a bit (ie. balanced the edges)
[supertux.git]
/
src
/
menu.cpp
diff --git
a/src/menu.cpp
b/src/menu.cpp
index
893962d
..
99073f5
100644
(file)
--- 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* highscore_menu = 0;
Menu* load_game_menu = 0;
Menu* save_game_menu = 0;
+Menu* contrib_menu = 0;
Menu* current_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()
{
int
Menu::check()
{
@@
-481,7
+481,7
@@
int Menu::width()
}
}
}
}
- return (menu_width * 16 +
48
);
+ return (menu_width * 16 +
24
);
}
int Menu::height()
}
int Menu::height()
@@
-498,9
+498,9
@@
Menu::draw()
/* Draw a transparent background */
fillrect(pos_x - menu_width/2,
/* Draw a transparent background */
fillrect(pos_x - menu_width/2,
- pos_y - 24*num_items/2,
- menu_width,menu_height,
- 150,180,200,1
00
);
+ pos_y - 24*num_items/2
- 10
,
+ menu_width,menu_height
+ 20
,
+ 150,180,200,1
25
);
for(int i = 0; i < num_items; ++i)
{
for(int i = 0; i < num_items; ++i)
{