Theme Editor: Fixed some resource alias issues, implemented device configuration...
[kugel-rb.git] / utils / themeeditor / resources / deviceoptions
blobcd306f50db211a68e474f274c5136058ccccec87
1 # This file defines the options for the device configuration panel
2 # Declare a section with a line containing a string inside brackets, i.e.
3 # [Some Section]
4 # Declare options within the section in the following format, one per line
5 # tag;Tag Label;[input];default
6 # tag is the skin tag represented by that option
8 # Tag Label is a human-readable label to attach to the input
10 # [input] is the type of widget that should be used for the tag, and its range
11 # if applicable.  The valid forms are
12 # check - Inserts a true/false checkbox
13 # text - Inserts a line edit box
14 # slider(min, max) - Inserts a horizontal slider with range specified
15 # spin(min, max) - Inserts a spin box with range specified
16 # fspin(min, max) - Inserts a floating point spin box with range specified
17 # combo(option1, option2...) - Inserts a combo box with the options specified
19 # default is the default value for the input
21 # Note that there aren't any provisions for escaping characters at the moment,
22 # so don't include [, ], or ; in your text, or (, ) in combo box choices
24 # Blank lines are ignored
26 # Be warned: because this file is compiled into the application, I'm not
27 # performing much of any error checking on it: screwing up the syntax may very
28 # well segfault the application on startup
30 [Test Section 1]
31 a ; Text Input ; text ; Some text
32 b ; Checkbox ; check ; false
33 c ; Slider 1 - 5 ; slider(1, 5) ; 4
35 [Test Section 2]
36 d ; Spinbox 6 - 10 ; spin(6, 10) ; 8
37 e ; Float Spinbox 2.5 - 6.3; fspin(2.5, 6.3) ; 3.9
38 # A combo box ends up returning an integer from 0 to n - 1, with n choices
39 f ; Combo Box; combo(An option, Another Option, A Third option) ; Another Option