LONG [id] { [Common flags] [MIN minval;] [MAX maxval;] [MINSLIDER minval;] [MAXSLIDER maxval;] [STEP step;] [CYCLE] }
Represents integer values in a container. Rendered as a numeric edit field, or as a selection list if CYCLE is present.
MIN minval; | The minimum value. |
MAX maxval; | The maximum value. |
MINSLIDER minval; | The minimum value for the slider. |
MAXSLIDER maxval; | The maximum value for the slider. |
STEP step; | The step for the edit field arrows. |
CYCLE idlist; | A selection list. Separate the options with semi-colons. |
If a CYCLE flag is provided then the element turns into a selection box with the included options:
The values must correspond to entries in the descname.h and descname.str files.
Two additional marker symbols can be used to display icons and separators:
For instance the CYCLE resource of the light object looks like this: