Info bar - programmable information bar
This is an additional "information bar" initially created above the normal MUSHclient status line. It uses the full screen width, and can be used to show information relevant to what you are doing (eg. current hit points).

The info bar has the following characteristics:


  • Shared between all worlds
  • Can only be updated from scripting
  • Can have multiple fonts, multiple colours, multiple font sizes and styles
  • Can be undocked and moved
  • Can be hidden or shown (from a script, or from the View menu)


To access the info bar from scripting you can use the script routines described below.

Using world.Info to add text to the info bar does not replace existing content. The intention is that you initially use "InfoClear" to remove earlier content, then InfoFont and InfoColour to set up the info bar for the correct font and colour for the *next* piece of text. Then use world.Info to write text in the new font and colour.


See Also ...

Command

CMD_ID_VIEW_INFOBAR InfoBar (Show or hide the info bar)

Dialog

DLG_IDD_INFO Info bar

Functions

FNC_Info Info (Adds text to the "info" tool bar)
FNC_InfoBackground InfoBackground (Sets the background colour for the info bar)
FNC_InfoClear InfoClear (Clears all text from the info bar)
FNC_InfoColour InfoColour (Sets the colour of the foreground (text color) for the info bar)
FNC_InfoFont InfoFont (Changes the font, font size and style for text on the info bar)
FNC_ShowInfoBar ShowInfoBar (Shows or hides the "info" tool bar)

(Help topic: general=infobar)

DOC_contents Documentation contents page