Sampleworld UI Files

From Multiverse

Jump to: navigation, search

Sampleworld uses the mars.toc theme file. This file lists all the Frame XML files required by Sampleworld. Of course, it also includes the four basic UI files listed in basic.toc as well:

Layout

The Interface directory contains all the files that define the user interface; it has two sub-directores:

  • FrameXML - contains UI XML files, corresponding Python scripts, theme (.toc) files, and key bindings files (bindings.xml and startup-bindings.xml).
  • Imagesets - contains all imageset files.

Basic UI files

The four Frame XML files in basic.toc define some very basic UI elements. Sampleworld (mars.toc) also includes these files.

Generally, you should keep these files in your theme file.

  • MvFonts.xml - defines some basic fonts:
    • MasterFont
    • NormalFont
    • SmallFont
    • FrameNameFont
    • ChatFont
    • DisabledFont
    • HelpFont
    • ItemCountFont
    • ItemStoreFont
    • TooltipFont
  • MvFrame.xml - defines:
    • MvBasicFrame - simple rectangular dialog frame.
    • CloseButton - button to close a UI widget.
  • MvChat.xml - defines widgets for chat window
  • MvStatus.xml - defines status area that, for example, displays frame rate (when you press Ctrl-N).

Other Sampleworld UI files

The remainder of the UI files listed in mars.toc define aspects of the Sampleworld UI. Some of these files depend on others, so if you start moving or modifying them, be aware of the dependencies. If you remove a file that others depend on, you will get an error.

  • MvDialog.xml - Quest offer dialog box. Defines:
    • MvHeaderFont
    • MvBodyFont
    • Button MvActionTemplate
  • MvItemButton.xml - Defines a virtual template used in MvContainer
  • MvContainer.xml - Inventory UI
  • MvTooltip.xml - Defines tooltips used by MvContainer.
  • MarsUnit.xml - Defines unit frames used by MarsPlayer.xml and MarsTarget.xml
  • MarsPlayer.xml - Player name and health bar UI
  • MarsTarget.xml - Targeting UI; also used by MarsPlayer.xml
  • MvActionButton.xml - Buttons on the action bar
  • MvActionBar.xml - The action bar
  • MvQuestLog.xml - Quest UI
  • MvAbilitiesFrame.xml - Abilities UI
  • MvMinimap.xml - Minimap
  • MvSecureTrade.xml - Secure trading UI
Personal tools