1#textdomain wesnoth-lib 2### 3### In game normal message dialog with some optional buttons and an icon. 4### 5 6[window] 7 id = "message" 8 description = "Message dialog with 1 ok button for now." 9 10 [resolution] 11 definition = "default" 12 13 click_dismiss = true 14 maximum_width = 800 15 16 [tooltip] 17 id = "tooltip" 18 [/tooltip] 19 20 [helptip] 21 id = "tooltip" 22 [/helptip] 23 24 [grid] 25 26 [row] 27 28 [column] 29 30 horizontal_alignment = "left" 31 32 [grid] 33 34 [row] 35 36 [column] 37 vertical_alignment = "top" 38 border = "all" 39 border_size = 5 40 41 [image] 42 id = "image" 43 definition = "default" 44 [/image] 45 46 [/column] 47 48 [column] 49 grow_factor = 1 50 vertical_alignment = "top" 51 horizontal_alignment = "left" 52 53 [grid] 54 55 [row] 56 57 [column] 58 border = "all" 59 border_size = 5 60 horizontal_alignment = "left" 61 62 [label] 63 id = "title" 64 definition = "title" 65 [/label] 66 67 [/column] 68 69 [/row] 70 71 [row] 72 grow_factor = 1 73 74 [column] 75 border = "all" 76 border_size = 5 77 vertical_alignment = "top" 78 horizontal_alignment = "left" 79 80 [scroll_label] 81 id = "label" 82 definition = "default" 83 [/scroll_label] 84 85 [/column] 86 87 [/row] 88 89 [/grid] 90 91 [/column] 92 93 [/row] 94 95 [/grid] 96 97 [/column] 98 99 [/row] 100 101 [row] 102 103 [column] 104 105 horizontal_alignment = "right" 106 107 [grid] 108 109 [row] 110 111 # This button will be shown or hidden depending on the 112 # whether or not a scrollbar is needed to show the 113 # text. 114 [column] 115 border = "all" 116 border_size = 5 117 horizontal_alignment = "right" 118 119 [button] 120 id = "left_side" 121 definition = "default" 122 [/button] 123 124 [/column] 125 126 [column] 127 border = "all" 128 border_size = 5 129 horizontal_alignment = "right" 130 131 [button] 132 id = "ok" 133 definition = "default" 134 135 label = _ "Close" 136 [/button] 137 138 [/column] 139 140 [column] 141 border = "all" 142 border_size = 5 143 horizontal_alignment = "right" 144 145 [button] 146 id = "cancel" 147 definition = "default" 148 149 label = _ "Cancel" 150 [/button] 151 152 [/column] 153 154 [column] 155 border = "all" 156 border_size = 5 157 horizontal_alignment = "right" 158 159 [button] 160 id = "right_side" 161 definition = "default" 162 [/button] 163 164 [/column] 165 166 [/row] 167 168 [/grid] 169 170 [/column] 171 172 [/row] 173 174 [/grid] 175 176 [/resolution] 177 178[/window] 179