mail[Wesnoth-commits] r43295 - in /trunk/src: arrow.cpp arrow.hpp


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

Header


Content

Posted by gabrielmorin on June 12, 2010 - 02:55:
Author: gabba
Date: Sat Jun 12 02:55:49 2010
New Revision: 43295

URL: http://svn.gna.org/viewcvs/wesnoth?rev=43295&view=rev
Log:
Arrows: comments

Modified:
    trunk/src/arrow.cpp
    trunk/src/arrow.hpp

Modified: trunk/src/arrow.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/arrow.cpp?rev=43295&r1=43294&r2=43295&view=diff
==============================================================================
--- trunk/src/arrow.cpp (original)
+++ trunk/src/arrow.cpp Sat Jun 12 02:55:49 2010
@@ -31,7 +31,7 @@
 #define DBG_ARR LOG_STREAM(debug, log_arrows)
 
 arrow::arrow(display* screen)
-:screen_(screen), layer_(display::LAYER_ARROWS), color_("255,0,0"), 
style_("")
+:screen_(screen), layer_(display::LAYER_ARROWS), color_("red"), style_("")
 {
 }
 

Modified: trunk/src/arrow.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/arrow.hpp?rev=43295&r1=43294&r2=43295&view=diff
==============================================================================
--- trunk/src/arrow.hpp (original)
+++ trunk/src/arrow.hpp Sat Jun 12 02:55:49 2010
@@ -51,7 +51,7 @@
 
        /**
         * The string color parameter is in the same format expected by the
-        * image::locator modifiers parameter. Examples: red is "FF0000" or 
"255,0,0".
+        * image::locator modifiers parameter. Examples: red is "red" or 
"FF0000" or "255,0,0".
         * Feel free to add another method that accepts an Uint32 as a 
parameter instead.
         */
        void set_color(const std::string& color);




Related Messages


Powered by MHonArc, Updated Sat Jun 12 03:00:12 2010