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

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

[Wesnoth-cvs-commits] wesnoth/src multiplayer_ui.cpp widgets/textbox.cpp


From: Philippe Plantier
Subject: [Wesnoth-cvs-commits] wesnoth/src multiplayer_ui.cpp widgets/textbox.cpp
Date: Thu, 24 Feb 2005 15:28:41 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Philippe Plantier <address@hidden>      05/02/24 20:28:41

Modified files:
        src            : multiplayer_ui.cpp 
        src/widgets    : textbox.cpp 

Log message:
        Increased the scroll rate of text boxes.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_ui.cpp.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/widgets/textbox.cpp.diff?tr1=1.69&tr2=1.70&r1=text&r2=text

Patches:
Index: wesnoth/src/multiplayer_ui.cpp
diff -u wesnoth/src/multiplayer_ui.cpp:1.3 wesnoth/src/multiplayer_ui.cpp:1.4
--- wesnoth/src/multiplayer_ui.cpp:1.3  Thu Feb 24 20:19:20 2005
+++ wesnoth/src/multiplayer_ui.cpp      Thu Feb 24 20:28:41 2005
@@ -1,4 +1,4 @@
-/* $Id: multiplayer_ui.cpp,v 1.3 2005/02/24 20:19:20 gruikya Exp $ */
+/* $Id: multiplayer_ui.cpp,v 1.4 2005/02/24 20:28:41 gruikya Exp $ */
 /*
    Copyright (C) 
    Part of the Battle for Wesnoth Project http://www.wesnoth.org
Index: wesnoth/src/widgets/textbox.cpp
diff -u wesnoth/src/widgets/textbox.cpp:1.69 
wesnoth/src/widgets/textbox.cpp:1.70
--- wesnoth/src/widgets/textbox.cpp:1.69        Sun Feb 20 22:30:29 2005
+++ wesnoth/src/widgets/textbox.cpp     Thu Feb 24 20:28:41 2005
@@ -1,4 +1,4 @@
-/* $Id: textbox.cpp,v 1.69 2005/02/20 22:30:29 gruikya Exp $ */
+/* $Id: textbox.cpp,v 1.70 2005/02/24 20:28:41 gruikya Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -42,6 +42,7 @@
        // static const SDL_Rect area = d.screen_area();
        // const int height = 
font::draw_text(NULL,area,font_size,font::NORMAL_COLOUR,"ABCD",0,0).h;
        set_measurements(width, font::get_max_height(font_size));
+       set_scroll_rate(font::get_max_height(font_size) / 2);
        update_text_cache(true);
 }
 




reply via email to

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