#textdomain wesnoth-lib ### ### Definition of the main screen for Wesnoth. ### [window_definition] id = "title_screen" description = "The window definition for the title screen." [resolution] [background] [draw] [image] x = 0 y = 0 w = "(width)" h = "(height)" name = "(background_image)" [/image] [text] x = 0 y = "(height - text_height)" w = "(text_width)" h = "(text_height)" font_size = 16 font_colour = "255, 255, 255, 128" text = "(revision_number)" [/text] [/draw] [/background] [foreground] [draw] [/draw] [/foreground] [/resolution] [/window_definition] #define GUI_TIP_SECTION #enddef #define GUI_BUTTON ID CAPTION [row] [column] border = "all" border_size = 5 horizontal_alignment = "left" [button] id = {ID} definition = "default" label = {CAPTION} [/button] [/column] [/row] #enddef #define MENU_SECTION [grid] {GUI_BUTTON "tutorial" _"Tutorial"} {GUI_BUTTON "campaign" _"Campaign"} {GUI_BUTTON "multiplayer" _"Multiplayer"} {GUI_BUTTON "load" _"Load"} {GUI_BUTTON "addons" _"Add-ons"} {GUI_BUTTON "editor" _"Editor"} {GUI_BUTTON "language" _"Language"} {GUI_BUTTON "preferences" _"Preferences"} {GUI_BUTTON "credits" _"Credits"} {GUI_BUTTON "quit" _"Quit"} [/grid] #enddef [window] id = "title_screen" description = "MP create game dialog." [resolution] definition = "title_screen" automatic_placement = "false" x = 0 y = 0 width = "(screen_width)" height = "(screen_height)" [grid] [row] [column] {MENU_SECTION} [/column] [/row] [/grid] [/resolution] [/window] #undef GUI_TIP_SECTION #undef MENU_SECTION #undef GUI_BUTTON