Changeset View
Changeset View
Standalone View
Standalone View
autotests/input/test.pbl
- This file was added.
1 | # Wesnoth Markup Language | ||||
---|---|---|---|---|---|
2 | | ||||
3 | #textdomain wesnoth-libs | ||||
4 | | ||||
5 | #define __GUI_WINDOW_HEIGHT | ||||
6 | ( | ||||
7 | if(window_height = 0, 9999, window_height) | ||||
8 | )#enddef | ||||
9 | | ||||
10 | #define __GUI_WINDOW_FUNCTIONS | ||||
11 | def reevaluate_best_size(w, s) | ||||
12 | ( | ||||
13 | [ | ||||
14 | 0, | ||||
15 | # | ||||
16 | debug_print('window ', w), | ||||
17 | debug_print('screen ', s) | ||||
18 | # | ||||
19 | ][0] | ||||
20 | ); | ||||
21 | #enddef | ||||
22 | | ||||
23 | [about] | ||||
24 | title= _ "Campaign Designer" | ||||
25 | text="Your Name" | ||||
26 | [/about] | ||||
27 | | ||||
28 | [window] | ||||
29 | id = "tooltip" | ||||
30 | | ||||
31 | [resolution] | ||||
32 | definition = "tooltip" | ||||
33 | automatic_placement = false | ||||
34 | functions = "{__GUI_WINDOW_FUNCTIONS}" | ||||
35 | | ||||
36 | [grid] | ||||
37 | | ||||
38 | [row] | ||||
39 | | ||||
40 | [column] | ||||
41 | | ||||
42 | [label] | ||||
43 | id = "label" | ||||
44 | definition = "default_small" | ||||
45 | | ||||
46 | use_markup = true | ||||
47 | wrap = true | ||||
48 | [/label] | ||||
49 | | ||||
50 | [/column] | ||||
51 | | ||||
52 | [/row] | ||||
53 | | ||||
54 | [/grid] | ||||
55 | | ||||
56 | [/resolution] | ||||
57 | | ||||
58 | [/window] |