mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 01:10:28 +00:00

include new definitions and updated versions of existing definitions "default/classic" and "modern" has been renamed to "Parchment" and "Celes" to avoid confusion
66 lines
1.0 KiB
INI
66 lines
1.0 KiB
INI
#textdomain wesnoth-lib
|
|
###
|
|
### The panel used in the wml messages using the new portraits.
|
|
###
|
|
|
|
#define _GUI_BASE_NAME
|
|
"translucent65" #enddef
|
|
|
|
#define _GUI_RESOLUTION RESOLUTION BORDER_SIDE_1 BORDER_SIDE_2 OFFSET_SIDE_1 OFFSET_TOTAL
|
|
[resolution]
|
|
|
|
{RESOLUTION}
|
|
|
|
left_border = 0
|
|
right_border = 0
|
|
top_border = {BORDER_SIDE_1}
|
|
bottom_border = {BORDER_SIDE_2}
|
|
|
|
[background]
|
|
|
|
[draw]
|
|
|
|
{DEFAULT_BLUR}
|
|
|
|
[image]
|
|
x = 0
|
|
y = 0
|
|
w = "(width)"
|
|
resize_mode = "stretch"
|
|
name = "dialogs/" + {_GUI_BASE_NAME} + "-border-top.png"
|
|
[/image]
|
|
|
|
[image]
|
|
x = 0
|
|
y = {OFFSET_SIDE_1}
|
|
w = "(width)"
|
|
h = "(if(height < {OFFSET_TOTAL}, 0, height))"
|
|
name = "dialogs/" + {_GUI_BASE_NAME} + "-background.png"
|
|
[/image]
|
|
|
|
[/draw]
|
|
|
|
[/background]
|
|
|
|
[foreground]
|
|
|
|
[draw]
|
|
|
|
[/draw]
|
|
|
|
[/foreground]
|
|
|
|
[/resolution]
|
|
#enddef
|
|
|
|
[panel_definition]
|
|
id = "wml_message"
|
|
description = "The panel for the wml messages."
|
|
|
|
{_GUI_RESOLUTION () 10 13 5 14 }
|
|
|
|
[/panel_definition]
|
|
|
|
#undef _GUI_RESOLUTION
|
|
#undef _GUI_BASE_NAME
|