Author: mordante
Date: Sat Jul 12 20:23:06 2008
New Revision: 27943

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27943&view=rev
Log:
Change some constants to show the grouping better.

Modified:
    trunk/src/gui/widgets/grid.hpp

Modified: trunk/src/gui/widgets/grid.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/grid.hpp?rev=27943&r1=27942&r2=27943&view=diff
==============================================================================
--- trunk/src/gui/widgets/grid.hpp (original)
+++ trunk/src/gui/widgets/grid.hpp Sat Jul 12 20:23:06 2008
@@ -38,16 +38,14 @@
 
        /***** ***** ***** ***** LAYOUT FLAGS ***** ***** ***** *****/
        static const unsigned VERTICAL_GROW_SEND_TO_CLIENT   = 1 << 0;
-
-       static const unsigned VERTICAL_ALIGN_TOP             = 3 << 1;   
-       static const unsigned VERTICAL_ALIGN_CENTER          = 2 << 1;   
-       static const unsigned VERTICAL_ALIGN_BOTTOM          = 1 << 1;   
+       static const unsigned VERTICAL_ALIGN_TOP             = 2 << 0;   
+       static const unsigned VERTICAL_ALIGN_CENTER          = 3 << 0;   
+       static const unsigned VERTICAL_ALIGN_BOTTOM          = 4 << 0;   
 
        static const unsigned HORIZONTAL_GROW_SEND_TO_CLIENT = 1 << 3;
-
-       static const unsigned HORIZONTAL_ALIGN_LEFT          = 3 << 4;   
-       static const unsigned HORIZONTAL_ALIGN_CENTER        = 2 << 4;   
-       static const unsigned HORIZONTAL_ALIGN_RIGHT         = 1 << 4;   
+       static const unsigned HORIZONTAL_ALIGN_LEFT          = 2 << 3;   
+       static const unsigned HORIZONTAL_ALIGN_CENTER        = 3 << 3;   
+       static const unsigned HORIZONTAL_ALIGN_RIGHT         = 4 << 3;   
 
        static const unsigned BORDER_TOP                     = 1 << 6;
        static const unsigned BORDER_BOTTOM                  = 1 << 7;


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to