Author: mordante
Date: Fri Aug 29 21:26:17 2008
New Revision: 29096

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29096&view=rev
Log:
Cleanup the window definition.

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

Modified: trunk/data/gui/default/widget/window_default.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/gui/default/widget/window_default.cfg?rev=29096&r1=29095&r2=29096&view=diff
==============================================================================
--- trunk/data/gui/default/widget/window_default.cfg (original)
+++ trunk/data/gui/default/widget/window_default.cfg Fri Aug 29 21:26:17 2008
@@ -1,9 +1,11 @@
 ###
 ### Defines all window styles used in the game.
+### For now the definition for normal and tiny gui are the same, this might
+### change later when tiny-gui will be tested.
 ###
 
 
-#define __WINDOW ID DESCRIPTION BASE_NAME
+#define _GUI_WINDOW ID DESCRIPTION BASE_NAME
 [window_definition]
 
        id = {ID}
@@ -19,28 +21,6 @@
                [background]
 
                        [draw]
-
-# Keep the old way, might come in handy for testing later.
-#                              [rectangle]
-#                                      x = 0
-#                                      y = 0
-#                                      w = "(width)"
-#                                      h = "(height)"
-
-#                                      border_thickness = 3
-#                                      border_colour = "55, 55, 55, 192"
-#                                      fill_colour = "128, 128, 128, 128"
-#                              [/rectangle]
-
-#                              [rectangle]
-#                                      x = 10
-#                                      y = 10
-#                                      w = "(width - 20)"
-#                                      h = "(height - 20)"
-
-#                                      border_thickness = 3
-#                                      border_colour = "55, 55, 55, 192"
-#                              [/rectangle]
 
                                [image]
                                        name = 
"dialogs/{BASE_NAME}-border-topleft.png"
@@ -120,11 +100,11 @@
 [/window_definition]
 #enddef
 
-{__WINDOW "default" "The default window" "opaque"}
-{__WINDOW "message" "The style used as transparent to the user." 
"translucent65"}
-{__WINDOW "titlescreen" "The items in the titelscreen" "translucent54"}
+{_GUI_WINDOW "default" "The default window" "opaque"}
+{_GUI_WINDOW "message" "The style used as transparent to the user." 
"translucent65"}
+{_GUI_WINDOW "titlescreen" "The items in the titelscreen" "translucent54"}
 
 # No idea what this style does, just leave it disabled for now.
-#{__WINDOW "menu2" "menu2" "menu2"} 
+#{_GUI_WINDOW "menu2" "menu2" "menu2"} 
 
-#undef __WINDOW
+#undef _GUI_WINDOW


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

Reply via email to