Codes for graphical elements

The following codes are used to display various graphical elements in the status bar. Some (like the {i} code for icons) are purely for cosmetic reasons, and others have more functional uses.

CodeDescription

{fl} {gfl}

Format lock control

{gfl} displays a grayscale version of the icon but otherwise behaves identically.

{i:dir} {i:file} {i:<ext>} {i:<file>}

Icons

Lets you display an arbitrary icon in the status bar. For example, instead of status bar text that reads Folders: xxx / yyy you could display a generic folder icon.

{{:media:status_bar_icons.png?nolink|}}
{i:dir} {sd}/{td} {i:file} {sf}/{tf} {i:.mp3} {smp3}/{tmp3}

You may want this to save space on the status bar or for purely cosmetic reasons.

You can specify a generic folder icon ({i:dir}), a generic file icon ({i:file}), or an icon for a specific file type (e.g. {i:.mp3} for an MP3 file icon).

You can also use your own custom icon or image by providing the path and filename of the icon. For example, {i:/mypictures/myicon.png}. The image file will be automatically scaled down to fit the status bar.

{bg}

Bar graphs

Bar graphs can be used to visually represent a value as a percentage. The default behaviour of bar graphs is to display the percentage of disk space used on the current drive, but using the various parameters for the {bg} code you can configure a bar graph to represent any other status bar value as a percentage of either another value or an absolute amount.

See the page on bar graphs for full details on configuring the graphs.

最后更新于