wesnoth/data/gui/themes/default/widgets/panel_wml_message.cfg
Subhraman Sarkar 6b8c2e15e7 theme update for modern and rename themes
include new definitions and updated versions of existing definitions
"default/classic" and "modern" has been renamed to "Parchment" and "Celes" to avoid confusion
2025-01-09 09:02:42 +05:30

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