CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Yann Dirson <[EMAIL PROTECTED]> 04/10/22 00:09:46
Modified files:
src : titlescreen.cpp
Log message:
make titlescreen usable in USE_TINY_GUI
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/titlescreen.cpp.diff?tr1=1.25&tr2=1.26&r1=text&r2=text
Patches:
Index: wesnoth/src/titlescreen.cpp
diff -u wesnoth/src/titlescreen.cpp:1.25 wesnoth/src/titlescreen.cpp:1.26
--- wesnoth/src/titlescreen.cpp:1.25 Tue Oct 19 07:38:51 2004
+++ wesnoth/src/titlescreen.cpp Fri Oct 22 00:09:46 2004
@@ -191,7 +191,11 @@
const int menu_xbase = (game_config::title_buttons_x*screen.x())/1024;
const int menu_xincr = 0;
const int menu_ybase = (game_config::title_buttons_y*screen.y())/768;
+#ifdef USE_TINY_GUI
+ const int menu_yincr = 15;
+#else
const int menu_yincr = 40;
+#endif
const int padding = game_config::title_buttons_padding;
std::vector<button> buttons;