mail[Wesnoth-commits] r44078 - /trunk/src/whiteboard/side_actions.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by gabrielmorin on July 10, 2010 - 08:34:
Author: gabba
Date: Sat Jul 10 08:34:19 2010
New Revision: 44078

URL: http://svn.gna.org/viewcvs/wesnoth?rev=44078&view=rev
Log:
Whiteboard: increased numbers font size.

Modified:
    trunk/src/whiteboard/side_actions.cpp

Modified: trunk/src/whiteboard/side_actions.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/side_actions.cpp?rev=44078&r1=44077&r2=44078&view=diff
==============================================================================
--- trunk/src/whiteboard/side_actions.cpp (original)
+++ trunk/src/whiteboard/side_actions.cpp Sat Jul 10 08:34:19 2010
@@ -56,7 +56,7 @@
                        size_t number = (it - begin()) + 1;
                        std::stringstream number_text;
                        number_text << number;
-                       const size_t font_size = 12;
+                       const size_t font_size = 15;
                        SDL_Color color; color.r = 255; color.g = 255; 
color.b = 0; //yellow
                        // position 0,0 in the hex is the upper left corner
                        const double x_in_hex = 0.80; // 0.80 = horizontal 
coord., close to the right side of the hex
@@ -221,7 +221,8 @@
                ERR_WB << "Modifying action queue while temp modifiers are 
applied!!!\n";
        }
 
-       assert((!actions_.empty() && validate_iterator(position)));
+       assert(!actions_.empty());
+       assert(validate_iterator(position));
        size_t distance = std::distance(begin(), position);
        if (!actions_.empty() && validate_iterator(position))
        {




Related Messages


Powered by MHonArc, Updated Sat Jul 10 08:40:11 2010