[Wesnoth-cvs-commits] wesnoth/data/themes default.cfg (December 09, 2004 - 00:25)

 

CVSROOT:	/cvsroot/wesnoth
Module name:	wesnoth
Branch: 	
Changes by:	Yann Dirson <ydirson@xxxxxxxxxx>	04/12/08 23:11:16

Modified files:
	data/themes    : default.cfg 

Log message:
	more relative positionning in 1024x768 theme

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/data/themes/default.cfg.diff?tr1=1.70&tr2=1.71&r1=text&r2=text

Patches:
Index: wesnoth/data/themes/default.cfg
diff -u wesnoth/data/themes/default.cfg:1.70 wesnoth/data/themes/default.cfg:1.71
--- wesnoth/data/themes/default.cfg:1.70	Sun Dec  5 22:14:04 2004
+++ wesnoth/data/themes/default.cfg	Wed Dec  8 23:11:16 2004
@@ -14,6 +14,7 @@
 height=768
 
 	[screen]
+	# this is only useful as a ref for other rects
 	id=screen
 	rect=0,0,1024,768
 	[/screen]
@@ -42,12 +43,14 @@
 	yanchor=fixed
 	[/panel]
 	[panel]
+	id=middle-right-panel
 	image=misc/rightside-bg.png
 	rect==,+0,=,+421
 	xanchor=right
 	yanchor=top
 	[/panel]
 	[panel]
+	id=bottom-right-panel
 	image=misc/rightside-bottom.png
 	rect==,+0,=,768
 	xanchor=right
@@ -80,7 +83,7 @@
 	[/menu]
 	[mini_map]
 	ref=top-right-panel
-	rect==+10,=+7,=-7,175
+	rect==+10,=+7,=-7,+143
 	xanchor=right
 	yanchor=fixed
 	[/mini_map]
@@ -88,7 +91,8 @@
 	[menu]
 	title= _ "End Turn"
 	items=endturn
-	rect=900,737
+	ref=bottom-right-panel
+	rect==+8,=+7
 	xanchor=right
 	yanchor=bottom
 	[/menu]
@@ -202,7 +206,8 @@
 	[status]
 		# the time of day image
 		[time_of_day]
-		rect=892,184,1017,+39
+		ref=top-right-panel
+		rect==+10,=+159,=-7,+39
 		xanchor=right
 		yanchor=fixed
 		[/time_of_day]
@@ -276,7 +281,6 @@
 		yanchor=fixed
 		[/terrain]
 		[position]
-		id=position-text
 		font_size=12
 		rect=+5,=,+105,+16
 		xanchor=proportional
@@ -285,7 +289,6 @@
 
 		[observers]
 		font_size=12
-		ref=position-text
 		rect=+4,=-1,+16,+16
 		xanchor=proportional
 		yanchor=fixed
@@ -299,19 +302,20 @@
 		[/unit_image]
 		[unit_description]
 		font_size=14
-		rect==,+5,1022,+18
+		ref=middle-right-panel
+		rect==+9,=+3,=-2,+18
 		xanchor=right
 		yanchor=fixed
 		[/unit_description]
 		[unit_type]
 		font_size=12
-		rect==,+0,1022,+16
+		rect==,+0,=,+16
 		xanchor=right
 		yanchor=fixed
 		[/unit_type]
 		[unit_level]
 		font_size=12
-		rect==,+0,1022,+16
+		rect==,+0,=,+16
 		prefix= _ "statuspanel^level"
 		prefix_literal=" "
 		xanchor=right
@@ -319,19 +323,19 @@
 		[/unit_level]
 		[unit_alignment]
 		font_size=12
-		rect==,+0,1022,+16
+		rect==,+0,=,+16
 		xanchor=right
 		yanchor=fixed
 		[/unit_alignment]
 		[unit_traits]
 		font_size=12
-		rect==,+0,1022,+16
+		rect==,+0,=,+16
 		xanchor=right
 		yanchor=fixed
 		[/unit_traits]
 		[unit_abilities]
 		font_size=12
-		rect==,+0,1022,+16
+		rect==,+0,=,+16
 		xanchor=right
 		yanchor=fixed
 		[/unit_abilities]
@@ -351,7 +355,7 @@
 		[/unit_moves]
 		[unit_hp]
 		font_size=12
-		rect=967,246,1022,+14
+		rect=967,246,=,+14
 		#prefix=hp
 		#prefix_literal=" "
 		xanchor=right
@@ -368,7 +372,7 @@
 		[unit_weapons]
 		font_size=12
 		#rect=900,452,1020,620
-		rect=891,426,1022,594
+		rect=891,426,=,594
 		xanchor=right
 		yanchor=fixed
 		[/unit_weapons]



You are on the gna.org mail server.

Generated by mhonarc, Tue Sep 20 16:45:14 2005