[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src preferences.cpp
From: |
Yann Dirson |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src preferences.cpp |
Date: |
Tue, 05 Apr 2005 09:37:16 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Yann Dirson <address@hidden> 05/04/05 13:37:15
Modified files:
src : preferences.cpp
Log message:
made the hotkeys pref dialog larger, so that even the french
translation does not overwrite themain list
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/preferences.cpp.diff?tr1=1.150&tr2=1.151&r1=text&r2=text
Patches:
Index: wesnoth/src/preferences.cpp
diff -u wesnoth/src/preferences.cpp:1.150 wesnoth/src/preferences.cpp:1.151
--- wesnoth/src/preferences.cpp:1.150 Tue Apr 5 11:36:40 2005
+++ wesnoth/src/preferences.cpp Tue Apr 5 13:37:15 2005
@@ -1,4 +1,4 @@
-/* $Id: preferences.cpp,v 1.150 2005/04/05 11:36:40 ydirson Exp $ */
+/* $Id: preferences.cpp,v 1.151 2005/04/05 13:37:15 ydirson Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1168,7 +1168,7 @@
const int width = 300; // FIXME: should compute
this, but using what data ?
const int height = 220;
#else
- const int width = 600;
+ const int width = 700;
const int height = 500;
#endif
const int xpos = centerx - width/2;
@@ -1183,8 +1183,8 @@
SDL_Rect clip_rect = { 0, 0, disp.x (), disp.y () };
SDL_Rect text_size = font::draw_text(NULL, clip_rect, font::SIZE_PLUS,
- font::NORMAL_COLOUR,_("Press desired
HotKey"),
- 0, 0);
+ font::NORMAL_COLOUR,_("Press
desired HotKey"),
+ 0, 0);
std::vector<std::string> menu_items;