For example, a meter with the option X=15 starts 15 pixels from the left edge of the skin. It also means that meter positions are given relative to the top-left corner of the skin, rather than the desktop. This means that when the skin is moved, its meters move with it. Meters are positioned within the skin window. This means that every meter is actually bounded by a rectangular block of pixels, even though it may have a transparent background and therefore appear to be "free-floating." Most other meter options depend on the type, but there are some general options that are valid in many or all meters.īelow is an example of a complete working meter: Ī meter has a certain position, which is given by its X and Y options, and dimensions, which are given by its W and H options. All meters use the Meter option to define the section as a specific type of meter. FormatĪ meter is written as a section in the skin. Specific options and requirements for each meter type are detailed in their individual articles. Some are used to create static elements, such as background images, frames and labels. Not all meters are used to display information. Dynamic variables are allowed in all options on all meters (other than the Meter option). This includes section variables, which provide an alternative way of using measure values. Some meter types must be bound to a specific measure on others, binding is optional.Ī meter can use variables in any option. For example, a string meter would display the string value of a measure as a block of text, while a bar meter would display the same measure's number value as a percentage of its maximum value. In this way, the meter will automatically display the value in a way that is appropriate for the type of meter. Some meters are used to display or respond to informational values in two ways:Ī meter can be bound to a measure. UsageĪ meter does not have a "value" in the way that measures do. Meters are one of the two major kinds of objects in a skin, along with measures. A meter is an object that defines a visual element that is displayed in a skin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |