mail[Wesnoth-commits] r29141 - /trunk/data/gui/default/macros.cfg


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

Header


Content

Posted by koraq on August 31, 2008 - 19:43:
Author: mordante
Date: Sun Aug 31 19:43:34 2008
New Revision: 29141

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29141&view=rev
Log:
Remove deprected macros.

Modified:
    trunk/data/gui/default/macros.cfg

Modified: trunk/data/gui/default/macros.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/gui/default/macros.cfg?rev=29141&r1=29140&r2=29141&view=diff
==============================================================================
--- trunk/data/gui/default/macros.cfg (original)
+++ trunk/data/gui/default/macros.cfg Sun Aug 31 19:43:34 2008
@@ -124,164 +124,3 @@
        18
 #enddef
 
-###############################################################################
-###                                                                         
###
-### Old test code should be deleted when no longer needed.                  
###
-###                                                                         
###
-###############################################################################
-
-# 
-#
-##### Default settings
-#
-#
-
-# normal colour "221, 221, 221, 255"
-# label colour "107, 140, 255, 255"
-#define FONT_COLOUR_ENABLED
-       "221, 221, 221, 255"
-#enddef
-
-#define FONT_COLOUR_DISABLED
-       "128, 128, 128, 0"
-#enddef
-
-
-#
-#
-#### settings per resolution
-#
-#
-
-
-# Definition of the upper border of tiny-gui
-#define RESOLUTION_TINY
-       window_width = 640
-       window_height = 480
-#enddef
-
-#define FONT_SIZE_TINY__SMALL
-       9
-#enddef
-
-#define FONT_SIZE_TINY__NORMAL
-       10
-#enddef
-
-#define FONT_SIZE_TINY__BIG
-       11
-#enddef
-
-# Definition of the upper border of small-gui
-#define RESOLUTION_SMALL
-       window_width = 800
-       window_height = 480
-#enddef
-
-# Definition of the upper border of the normal gui
-#define RESOLUTION_NORMAL
-       window_width = 1024
-       window_height = 768
-#enddef
-
-#define FONT_SIZE_NORMAL__SMALL
-       12
-#enddef
-
-#define FONT_SIZE_NORMAL__NORMAL
-       14
-#enddef
-
-# font used for the titles
-#define FONT_SIZE_NORMAL__TITLE
-       18
-#enddef
-
-#define FONT_STYLE_NORMAL__TITLE
-       "bold"
-#enddef
-
-#define FONT_COLOUR_TITLE
-       "188, 176, 136, 255"
-#enddef
-
-#define FONT_SIZE_NORMAL__BIG
-       18
-#enddef
-
-# Definition of the upper border of the big gui
-#define RESOLUTION_BIG
-       window_width = 1680
-       window_height = 1050
-#enddef
-
-# for guis bigger as big fall back to the default of 0 0 
-
-#
-#
-# Other helper macros
-#
-#
-
-#define OUTER_RECT COLOUR_1 COLOUR_2
-       [line]
-               x1 = 0
-               y1 = 0
-               x2 = "(width - 1)"
-               y2 = 0
-               colour = {COLOUR_1} 
-               thickness = 1
-       [/line]
-
-       [line]
-               x1 = "(width - 1)"
-               y1 = 0
-               x2 = "(width - 1)"
-               y2 = "(height - 1)"
-               colour = {COLOUR_1} 
-               thickness = 1
-       [/line]
-
-       [line]
-               x1 = "(width - 1)"
-               y1 = "(height - 1)"
-               x2 = 0
-               y2 = "(height - 1)"
-               colour = {COLOUR_2} 
-               thickness = 1
-       [/line]
-
-       [line]
-               x1 = 0
-               y1 = "(height - 1)"
-               x2 = 0
-               y2 = 0
-               colour = {COLOUR_2} 
-               thickness = 1
-       [/line]
-
-#enddef
-
-# Make sure that if the text is to wide we don't get a negative
-# number of huge positive number.
-#define TEXT_H_CENTRE
-       "(if(text_width <= width, (width - text_width ) / 2, 0))"
-#enddef
-
-# Make sure that if the text is to wide we don't get a negative
-# number of huge positive number.
-#define TEXT_V_CENTRE
-       "(if(text_height <= height, (height - text_height) / 2, 0))"
-#enddef
-
-#define TEXT_DEFAULT_NORMAL
-       [text]
-               x = {TEXT_H_CENTRE}
-               y = {TEXT_V_CENTRE}
-               w = "(text_width)"
-               h = "(text_height)"
-               font_size = {FONT_SIZE_NORMAL__NORMAL}
-               colour = {FONT_COLOUR_ENABLED}
-               text = "(text)"
-       [/text]
-#enddef        




Related Messages


Powered by MHonArc, Updated Sun Aug 31 22:02:24 2008