Remove some unused code.

This commit is contained in:
Mark de Wever 2009-01-23 22:25:37 +00:00
parent 764297ab57
commit 302007bffb

View file

@ -224,92 +224,6 @@
#undef BASE_NAME
#define RESOLUTION WIDTH HEIGHT IMAGE_WIDTH
[resolution]
window_width = {WIDTH}
window_height = {HEIGHT}
definition = "wml_message_left"
automatic_placement = "false"
x = 0
y = "(screen_height - " + {IMAGE_WIDTH} + ")"
width = "(screen_width - 142)"
height = {IMAGE_WIDTH}
easy_close = "true"
[grid]
[row]
[column]
vertical_alignment = "bottom"
horizontal_grow = "true"
[panel]
definition = "message_test"
[grid]
[row]
[column]
horizontal_grow = "true"
[grid]
[row]
[column]
[spacer]
# reserve place for the image and set a minimum height for the text
id = "image_place_holder"
width = {IMAGE_WIDTH}
height = 75
[/spacer]
[/column]
[column]
grow_factor = 1
horizontal_grow = "true"
border = "all"
border_size = 5
[label]
id = "message"
definition = "default"
[/label]
[/column]
[/row]
[/grid]
[/column]
[/row]
[/grid]
[/panel]
[/column]
[/row]
[/grid]
[/resolution]
#enddef
[window]
id = "wml_message_left"
description = "Dialog showing a unit portrait on the left side"
@ -450,93 +364,6 @@
[/window]
#undef RESOLUTION
#define RESOLUTION_RIGHT WIDTH HEIGHT IMAGE_WIDTH
[resolution]
window_width = {WIDTH}
window_height = {HEIGHT}
definition = "wml_message_right"
automatic_placement = "false"
x = 0
y = "(screen_height - " + {IMAGE_WIDTH} + ")"
width = "(screen_width - 142)"
height = {IMAGE_WIDTH}
easy_close = "true"
[grid]
[row]
[column]
vertical_alignment = "bottom"
horizontal_grow = "true"
[panel]
definition = "message_test"
[grid]
[row]
[column]
horizontal_grow = "true"
[grid]
[row]
[column]
grow_factor = 1
horizontal_grow = "true"
border = "all"
border_size = 5
[label]
id = "message"
definition = "default"
[/label]
[/column]
[column]
[spacer]
# reserve place for the image and set a minimum height for the text
id = "image_place_holder"
width = {IMAGE_WIDTH}
height = 75
[/spacer]
[/column]
[/row]
[/grid]
[/column]
[/row]
[/grid]
[/panel]
[/column]
[/row]
[/grid]
[/resolution]
#enddef
[window]
id = "wml_message_right"
description = "Dialog showing a unit portrait on the right side"
@ -678,8 +505,6 @@
[/window]
#undef RESOLUTION_RIGHT
[window]
id = "message"
description = "Message dialog with 1 ok button for now."