wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src intro.cpp


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/src intro.cpp
Date: Sat, 06 Nov 2004 08:35:43 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    04/11/06 13:29:46

Modified files:
        src            : intro.cpp 

Log message:
        more room for story text in tinygui mode

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/intro.cpp.diff?tr1=1.61&tr2=1.62&r1=text&r2=text

Patches:
Index: wesnoth/src/intro.cpp
diff -u wesnoth/src/intro.cpp:1.61 wesnoth/src/intro.cpp:1.62
--- wesnoth/src/intro.cpp:1.61  Sun Oct 31 20:50:13 2004
+++ wesnoth/src/intro.cpp       Sat Nov  6 13:29:46 2004
@@ -1,4 +1,4 @@
-/* $Id: intro.cpp,v 1.61 2004/10/31 20:50:13 silene Exp $ */
+/* $Id: intro.cpp,v 1.62 2004/11/06 13:29:46 ydirson Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -116,11 +116,17 @@
 
                
SDL_BlitSurface(background,NULL,screen.video().getSurface(),&dstrect);
 
+#ifdef USE_TINY_GUI
+               textx = 10;
+               int xbuttons = screen.x() - 50;
+#else
                textx = dstrect.x;
+               int xbuttons = dstrect.x+dstrect.w-40;
+#endif
                texty = dstrect.y + dstrect.h + 10;
 
-               
next_button.set_location(dstrect.x+dstrect.w-40,dstrect.y+dstrect.h+20);
-               
skip_button.set_location(dstrect.x+dstrect.w-40,dstrect.y+dstrect.h+70);
+               next_button.set_location(xbuttons,dstrect.y+dstrect.h+20);
+               skip_button.set_location(xbuttons,dstrect.y+dstrect.h+70);
        } else {
                next_button.set_location(screen.x()-200,screen.y()-150);
                skip_button.set_location(screen.x()-200,screen.y()-100);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]