GUI2: remove bottom border from WML message dialogs
This solves the first item in the second section of the following post: [http://forums.wesnoth.org/viewtopic.php?t=29640]
This commit is contained in:
parent
a9bfc65374
commit
902abccd4b
1 changed files with 4 additions and 12 deletions
|
@ -6,7 +6,7 @@
|
||||||
#define _GUI_BASE_NAME
|
#define _GUI_BASE_NAME
|
||||||
"translucent65" #enddef
|
"translucent65" #enddef
|
||||||
|
|
||||||
#define _GUI_RESOLUTION RESOLUTION BORDER_SIDE_1 BORDER_SIDE_2 OFFSET_SIDE_1 OFFSET_SIDE_2 OFFSET_TOTAL
|
#define _GUI_RESOLUTION RESOLUTION BORDER_SIDE_1 BORDER_SIDE_2 OFFSET_SIDE_1 OFFSET_TOTAL
|
||||||
[resolution]
|
[resolution]
|
||||||
|
|
||||||
{RESOLUTION}
|
{RESOLUTION}
|
||||||
|
@ -28,19 +28,11 @@
|
||||||
name = "dialogs/" + {_GUI_BASE_NAME} + "-border-top.png"
|
name = "dialogs/" + {_GUI_BASE_NAME} + "-border-top.png"
|
||||||
[/image]
|
[/image]
|
||||||
|
|
||||||
[image]
|
|
||||||
x = 0
|
|
||||||
y = "(height - {OFFSET_SIDE_2})"
|
|
||||||
w = "(width)"
|
|
||||||
resize_mode = "stretch"
|
|
||||||
name = "dialogs/" + {_GUI_BASE_NAME} + "-border-bottom.png"
|
|
||||||
[/image]
|
|
||||||
|
|
||||||
[image]
|
[image]
|
||||||
x = 0
|
x = 0
|
||||||
y = {OFFSET_SIDE_1}
|
y = {OFFSET_SIDE_1}
|
||||||
w = "(width)"
|
w = "(width)"
|
||||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
h = "(if(height < {OFFSET_TOTAL}, 0, height))"
|
||||||
name = "dialogs/" + {_GUI_BASE_NAME} + "-background.png"
|
name = "dialogs/" + {_GUI_BASE_NAME} + "-background.png"
|
||||||
[/image]
|
[/image]
|
||||||
|
|
||||||
|
@ -63,8 +55,8 @@
|
||||||
id = "wml_message"
|
id = "wml_message"
|
||||||
description = "The panel for the wml messages."
|
description = "The panel for the wml messages."
|
||||||
|
|
||||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 5 6 2 4 6 }
|
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 5 6 2 6 }
|
||||||
{_GUI_RESOLUTION () 10 13 5 9 14 }
|
{_GUI_RESOLUTION () 10 13 5 14 }
|
||||||
|
|
||||||
[/panel_definition]
|
[/panel_definition]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue