mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 16:57:47 +00:00
113 lines
2.1 KiB
INI
113 lines
2.1 KiB
INI
#textdomain wesnoth-lib
|
|
###
|
|
### Definition of the panel for the title screen.
|
|
###
|
|
### Most of the code is a copy paste of window_default.cfg.
|
|
###
|
|
|
|
#define _GUI_RESOLUTION RESOLUTION BORDER OFFSET_SIDE_1 OFFSET_SIDE_2 OFFSET_TOTAL BACKGROUND
|
|
[resolution]
|
|
|
|
{RESOLUTION}
|
|
|
|
left_border = {BORDER}
|
|
right_border = {BORDER}
|
|
top_border = {BORDER}
|
|
bottom_border = {BORDER}
|
|
|
|
[background]
|
|
|
|
[draw]
|
|
|
|
{BACKGROUND}
|
|
|
|
[rectangle]
|
|
x = 0
|
|
y = 0
|
|
w = "(width)"
|
|
h = "(height)"
|
|
|
|
border_thickness = 3
|
|
border_color = "16, 22, 35, 255"
|
|
|
|
fill_color = "0, 0, 0, 137"
|
|
[/rectangle]
|
|
|
|
[rectangle]
|
|
x = 1
|
|
y = 1
|
|
w = "(width - 2)"
|
|
h = "(height - 2)"
|
|
|
|
border_thickness = 1
|
|
border_color = {GUI__BORDER_COLOR_DARK}
|
|
[/rectangle]
|
|
|
|
[/draw]
|
|
|
|
[/background]
|
|
|
|
[foreground]
|
|
|
|
[draw]
|
|
|
|
[/draw]
|
|
|
|
[/foreground]
|
|
|
|
[/resolution]
|
|
#enddef
|
|
|
|
#define _PANEL_BLUR
|
|
[pre_commit]
|
|
|
|
[blur]
|
|
depth = 1
|
|
[/blur]
|
|
|
|
[/pre_commit]
|
|
#enddef
|
|
|
|
[panel_definition]
|
|
|
|
id = "box_display"
|
|
description = "Definition of the panel for the title screen"
|
|
|
|
{_GUI_RESOLUTION (window_width,window_height = 800, 600) 10 5 10 5 ({_PANEL_BLUR}) }
|
|
{_GUI_RESOLUTION (window_width,window_height = 850, 650) 25 5 9 14 ({_PANEL_BLUR}) }
|
|
|
|
[/panel_definition]
|
|
|
|
[panel_definition]
|
|
|
|
id = "box_display_no_blur"
|
|
description = "Definition of the panel for the title screen"
|
|
|
|
{_GUI_RESOLUTION (window_width,window_height = 800, 600) 10 5 10 5 () }
|
|
{_GUI_RESOLUTION (window_width,window_height = 850, 650) 25 5 9 14 () }
|
|
|
|
[/panel_definition]
|
|
|
|
[panel_definition]
|
|
|
|
id = "box_display_no_blur_medium_border"
|
|
description = "Definition of the panel for the title screen"
|
|
|
|
{_GUI_RESOLUTION (window_width,window_height = 800, 600) 10 5 10 5 () }
|
|
{_GUI_RESOLUTION (window_width,window_height = 850, 650) 15 5 9 14 () }
|
|
|
|
[/panel_definition]
|
|
|
|
[panel_definition]
|
|
|
|
id = "box_display_no_blur_no_border"
|
|
description = "Definition of the panel for the title screen"
|
|
|
|
{_GUI_RESOLUTION (window_width,window_height = 800, 600) 3 5 10 5 () }
|
|
{_GUI_RESOLUTION (window_width,window_height = 850, 650) 3 5 9 14 () }
|
|
|
|
[/panel_definition]
|
|
|
|
#undef _GUI_RESOLUTION
|
|
#undef _PANEL_BLUR
|