summaryrefslogtreecommitdiffstats
path: root/kmahjongg/kmahjonggui.rc
blob: e8c4bd5be21fae5259ede8391e98d7133260e076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE kpartgui>
<kpartgui name="kmahjongg" version="2">

<MenuBar>
  <Menu name="game"><text>&amp;Game</text>
    <Action name="game_new_numeric" append="new_merge" />
    <Action name="game_open_theme" append="new_merge" />
    <Action name="game_open_tileset" append="new_merge" />
    <Action name="game_open_background" append="new_merge" />
    <Action name="game_open_layout" append="new_merge" />
    <Action name="game_save_theme" append="save_merge" />
  </Menu>
  <Menu name="edit"><text>&amp;Edit</text>
    <Action name="edit_board_editor" />
  </Menu>
  <Menu name="move"><text>&amp;Move</text>
    <Action name="move_shuffle"/>
  </Menu>
  <Menu name="settings"><text>&amp;Settings</text>
    <Action name="options_show_matching_tiles" append="show_merge"/>
  </Menu>
</MenuBar>

<ToolBar name="mainToolBar" noMerge="1"><text>Main Toolbar</text>
  <Action name="game_new" />
  <Action name="game_new_numeric" />
  <Action name="game_load" />
  <Action name="game_save" />
  <Action name="move_undo" />
  <Action name="move_redo" />
  <Action name="game_pause" />
  <Action name="move_hint" />
</ToolBar>

<State name="inactive">
  <enable>
    <Action name="game_new"/>
    <Action name="game_new_numeric"/>
    <Action name="game_load"/>
    <Action name="game_save"/>
    <Action name="game_highscores"/>
    <Action name="game_open_theme"/>
    <Action name="game_open_tileset"/>
    <Action name="game_open_background"/>
    <Action name="game_open_layout"/>
    <Action name="edit_board_editor"/>
    <Action name="move_hint"/>
    <Action name="game_show_matching_tiles"/>
    <Action name="game_pause"/>
    <Action name="move_demo"/>
  </enable>
  <disable>
  </disable>
</State>

<State name="active">
  <enable>
    <Action name="move_demo"/>
  </enable>
  <disable>
    <Action name="game_new"/>
    <Action name="game_new_numeric"/>
    <Action name="game_load"/>
    <Action name="game_save"/>
    <Action name="game_highscores"/>
    <Action name="game_open_theme"/>
    <Action name="game_open_tileset"/>
    <Action name="game_open_background"/>
    <Action name="game_open_layout"/>
    <Action name="edit_board_editor"/>
    <Action name="move_hint"/>
    <Action name="game_show_matching_tiles"/>
    <Action name="game_pause"/>
    <Action name="move_undo"/>
    <Action name="move_redo"/>
  </disable>
</State>

<State name="paused">
  <enable>
    <Action name="game_pause"/>
  </enable>
  <disable>
    <Action name="game_new"/>
    <Action name="game_new_numeric"/>
    <Action name="game_load"/>
    <Action name="game_save"/>
    <Action name="game_highscores"/>
    <Action name="game_open_theme"/>
    <Action name="game_open_tileset"/>
    <Action name="game_open_background"/>
    <Action name="game_open_layout"/>
    <Action name="edit_board_editor"/>
    <Action name="move_hint"/>
    <Action name="game_show_matching_tiles"/>
    <Action name="move_undo"/>
    <Action name="move_redo"/>
    <Action name="move_demo"/>
  </disable>
</State>

</kpartgui>