#textdomain wesnoth-lib [window_definition] id = "outro" description = "The window definition for the outro screen." [resolution] # NOTE: we don't specify borders like most definitions since we want # widgets to fully reach the edge of the window. [background] [draw] [rectangle] x = 0 y = 0 w = "(width)" h = "(height)" fill_color = "0, 0, 0, 255" immutable = true [/rectangle] [text] x = 10 y = {GUI__TEXT_VERTICALLY_CENTRED} w = "(width - 20)" h = "(text_height)" maximum_width = "(width - 20)" font_size = 60 font_family = "script" color = "([215, 215, 215, fade_alpha])" text = "(outro_text)" text_markup = true text_alignment = "center" [/text] [text] x = "(screen_width - text_width - 20)" y = "(screen_height - text_height - 20)" w = "(text_width)" h = "(text_height)" font_size = {GUI_FONT_SIZE_DEFAULT} text = _ "Press ESC to skip" [/text] [/draw] [/background] [foreground] [draw] [/draw] [/foreground] [/resolution] [/window_definition] [window] id = "outro" description = "Outro text display" [resolution] definition = "outro" {GUI_WINDOW_FULLSCREEN} [tooltip] id = "tooltip_large" [/tooltip] [helptip] id = "tooltip_large" [/helptip] # No contents. The only text is drawn in the background by the canvas. [grid] [/grid] [/resolution] [/window]