summaryrefslogtreecommitdiffstats
path: root/kmines/kmines.kcfg
blob: 382b6ccd494f485c5ae38436fba773bb4f7d49aa (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
103
104
105
<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
      http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
  <kcfgfile name="kminesrc"/>
  <group name="Options">
    <entry name="CaseSize" type="Int" key="case size">
      <label>The size of a square.</label>
      <min>4</min>
      <max>100</max>
      <default>20</default>
    </entry>
    <entry name="CustomWidth" type="Int" key="custom width">
      <label>The width of the playing field.</label>
      <min>5</min>
      <max>50</max>
      <default>10</default>
    </entry>
    <entry name="CustomHeight" type="Int" key="custom height">
      <label>The height of the playing field.</label>
      <min>5</min>
      <max>50</max>
      <default>10</default>
    </entry>
    <entry name="CustomMines" type="Int" key="custom mines">
      <label>The number of mines in the playing field.</label>
      <default>20</default>
    </entry>
    <entry name="UncertainMark" type="Bool" key="uncertain mark">
      <label>Whether the "uncertain" marker may be used.</label>
      <default>true</default>
    </entry>
    <entry name="KeyboardGame" type="Bool" key="keyboard game">
      <label>Whether the game can be played using the keyboard.</label>
      <default>false</default>
    </entry>
    <entry name="PauseFocus" type="Bool" key="pause focus">
      <label>Whether the game is paused when the window loses focus.</label>
      <default>true</default>
    </entry>
    <entry name="MagicReveal" type="Bool" key="magic reveal">
      <label>Whether to set flags and reveal squares in trivial situations.</label>
      <default>false</default>
    </entry>
    <entry name="level" type="Enum">
      <label>The difficulty level.</label>
      <default>Easy</default>
      <choices>
        <choice name="Easy"/>
        <choice name="Normal"/>
        <choice name="Expert"/>
        <choice name="Custom"/>
      </choices>
    </entry>

    <entry name="$(Button)MouseAction" type="Enum" key="mouse $(Button)">
      <choices>
        <choice name="Reveal"/>
        <choice name="AutoReveal"/>
        <choice name="ToggleFlag"/>
        <choice name="ToggleUncertainFlag"/>
        <choice name="None"/>
      </choices>
      <parameter name="Button" type="Enum">
        <values>
          <value>left</value>
          <value>mid</value>
          <value>right</value>
        </values>
      </parameter>
      <label>Mouse button actions</label>
      <default param="left">Reveal</default>
      <default param="mid">AutoReveal</default>
      <default param="right">ToggleFlag</default>
    </entry>
    <entry name="$(Type)Color" type="Color" key="$(Type) color">
      <parameter name="Type" type="Enum">
        <values>
          <value>flag</value>
          <value>explosion</value>
          <value>error</value>
        </values>
      </parameter>
      <label>Color</label>
      <default>#ff0000</default>
    </entry>
    <entry name="MineColor$(number)" type="Color" key="color #$(number)">
      <parameter name="number" type="Int" max="7"/>
      <label>Mine Color</label>
      <default param="0">#0000ff</default>
      <default param="1">#008800</default>
      <default param="2">#888800</default>
      <default param="3">#880088</default>
      <default param="4">#ff0000</default>
      <default param="5">#880000</default>
      <default param="6">#000000</default>
      <default param="7">#000000</default>
    </entry>
    <entry name="MenubarVisible" type="Bool" key="menubar visible">
      <label>Whether the menubar is visible.</label>
      <default>true</default>
    </entry>
  </group>
</kcfg>