mail[Wesnoth-commits] r28971 - /trunk/data/gui/default/widget/minimap_default.cfg


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

Header


Content

Posted by koraq on August 25, 2008 - 17:35:
Author: mordante
Date: Mon Aug 25 17:35:57 2008
New Revision: 28971

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28971&view=rev
Log:
Updated to the new style.

Modified:
    trunk/data/gui/default/widget/minimap_default.cfg

Modified: trunk/data/gui/default/widget/minimap_default.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/gui/default/widget/minimap_default.cfg?rev=28971&r1=28970&r2=28971&view=diff
==============================================================================
--- trunk/data/gui/default/widget/minimap_default.cfg (original)
+++ trunk/data/gui/default/widget/minimap_default.cfg Mon Aug 25 17:35:57 2008
@@ -2,16 +2,17 @@
 ### Definition of a minimap.
 ###
 
-[minimap_definition]
-       id = "default"
-       description = "a minimap."
 
+#define _GUI_RESOLUTION RESOLUTION SIZE
        [resolution]
-               min_width = 100
-               min_height = 100
 
-               default_width = 100
-               default_height = 100
+               {RESOLUTION}
+
+               min_width = {SIZE}
+               min_height = {SIZE}
+
+               default_width = {SIZE}
+               default_height = {SIZE}
 
                max_width = 0
                max_height = 0
@@ -24,6 +25,16 @@
                [/state_enabled]
 
        [/resolution]
+#enddef
+
+[minimap_definition]
+       id = "default"
+       description = "a minimap."
+
+       # Tiny gui sizes haven't been tested yet so might need some tuning.
+       {_GUI_RESOLUTION ({GUI_TINY__RESOLUTION})  50 }
+       {_GUI_RESOLUTION ()                       100 }
 
 [/minimap_definition]
 
+#undef _GUI_RESOLUTION 




Related Messages


Powered by MHonArc, Updated Mon Aug 25 17:41:22 2008