Cleanup the window definition.

This commit is contained in:
Mark de Wever 2008-08-29 19:26:17 +00:00
parent ddc3769581
commit b641844238

View file

@ -1,9 +1,11 @@
###
### 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 __WINDOW ID DESCRIPTION BASE_NAME
#define _GUI_WINDOW ID DESCRIPTION BASE_NAME
[window_definition]
id = {ID}
@ -20,28 +22,6 @@
[draw]
# Keep the old way, might come in handy for testing later.
# [rectangle]
# x = 0
# y = 0
# w = "(width)"
# h = "(height)"
# border_thickness = 3
# border_colour = "55, 55, 55, 192"
# fill_colour = "128, 128, 128, 128"
# [/rectangle]
# [rectangle]
# x = 10
# y = 10
# w = "(width - 20)"
# h = "(height - 20)"
# border_thickness = 3
# border_colour = "55, 55, 55, 192"
# [/rectangle]
[image]
name = "dialogs/{BASE_NAME}-border-topleft.png"
[/image]
@ -120,11 +100,11 @@
[/window_definition]
#enddef
{__WINDOW "default" "The default window" "opaque"}
{__WINDOW "message" "The style used as transparent to the user." "translucent65"}
{__WINDOW "titlescreen" "The items in the titelscreen" "translucent54"}
{_GUI_WINDOW "default" "The default window" "opaque"}
{_GUI_WINDOW "message" "The style used as transparent to the user." "translucent65"}
{_GUI_WINDOW "titlescreen" "The items in the titelscreen" "translucent54"}
# No idea what this style does, just leave it disabled for now.
#{__WINDOW "menu2" "menu2" "menu2"}
#{_GUI_WINDOW "menu2" "menu2" "menu2"}
#undef __WINDOW
#undef _GUI_WINDOW