mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 07:57:55 +00:00
125 lines
2.2 KiB
INI
125 lines
2.2 KiB
INI
#textdomain wesnoth-lib
|
|
###
|
|
### Defines all window styles used in the game.
|
|
### For now the definition for normal and tiny gui are the same, this might
|
|
### change later when tiny-gui will be tested.
|
|
###
|
|
|
|
|
|
#define _GUI_WINDOW ID DESCRIPTION BASE_NAME PRE_COMMIT
|
|
[window_definition]
|
|
|
|
id = {ID}
|
|
description = {DESCRIPTION}
|
|
|
|
[resolution]
|
|
|
|
left_border = 10
|
|
right_border = 13
|
|
top_border = 10
|
|
bottom_border = 13
|
|
|
|
[background]
|
|
|
|
[draw]
|
|
|
|
{PRE_COMMIT}
|
|
|
|
[image]
|
|
name = "dialogs/{BASE_NAME}-border-topleft.png"
|
|
[/image]
|
|
|
|
[image]
|
|
x = 5
|
|
y = 0
|
|
w = "(width - 14)"
|
|
stretch = "true"
|
|
name = "dialogs/{BASE_NAME}-border-top.png"
|
|
[/image]
|
|
|
|
[image]
|
|
x = "(width - 9)"
|
|
y = 0
|
|
name = "dialogs/{BASE_NAME}-border-topright.png"
|
|
[/image]
|
|
|
|
[image]
|
|
x = "(width - 9)"
|
|
y = 5
|
|
h = "(height - 14)"
|
|
stretch = "true"
|
|
name = "dialogs/{BASE_NAME}-border-right.png"
|
|
[/image]
|
|
|
|
[image]
|
|
x = "(width - 9)"
|
|
y = "(height - 9)"
|
|
name = "dialogs/{BASE_NAME}-border-botright.png"
|
|
[/image]
|
|
|
|
[image]
|
|
x = 5
|
|
y = "(height - 9)"
|
|
w = "(width - 14)"
|
|
stretch = "true"
|
|
name = "dialogs/{BASE_NAME}-border-bottom.png"
|
|
[/image]
|
|
|
|
[image]
|
|
x = 0
|
|
y = "(height - 9)"
|
|
name = "dialogs/{BASE_NAME}-border-botleft.png"
|
|
[/image]
|
|
|
|
[image]
|
|
x = 0
|
|
y = 5
|
|
h = "(height - 14)"
|
|
stretch = "true"
|
|
name = "dialogs/{BASE_NAME}-border-left.png"
|
|
[/image]
|
|
|
|
[image]
|
|
x = 5
|
|
y = 5
|
|
w = "(width - 14)"
|
|
h = "(height - 14)"
|
|
name = "dialogs/{BASE_NAME}-background.png"
|
|
[/image]
|
|
|
|
[/draw]
|
|
|
|
[/background]
|
|
|
|
[foreground]
|
|
|
|
[draw]
|
|
[/draw]
|
|
|
|
[/foreground]
|
|
|
|
[/resolution]
|
|
|
|
[/window_definition]
|
|
#enddef
|
|
|
|
#define _BLUR
|
|
[pre_commit]
|
|
|
|
[blur]
|
|
depth = 5
|
|
[/blur]
|
|
|
|
[/pre_commit]
|
|
#enddef
|
|
|
|
{_GUI_WINDOW "default" "The default window" "opaque" ()}
|
|
{_GUI_WINDOW "message" "The style used as transparent to the user." "translucent65" ({_BLUR})}
|
|
{_GUI_WINDOW "titlescreen" "The items in the titlescreen" "translucent54" ()}
|
|
|
|
# No idea what this style does, just leave it disabled for now.
|
|
#{_GUI_WINDOW "menu2" "menu2" "menu2"}
|
|
|
|
#undef _BLUR
|
|
#undef _GUI_WINDOW
|