12.07.2015 Views

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

546 Part IV ■ <strong>Reference</strong>zero intensity <strong>of</strong> the component) to ff (representing full intensity <strong>of</strong> thecomponent):1. Alpha value, but currently unused: always ff2. Red component <strong>of</strong> the color3. Green component <strong>of</strong> the color4. Blue component <strong>of</strong> the colortext—The text to be colorized.For example the string |cffffff00Yellow Text|r will display yellow text whensent to a font string or message frame. Color strings can be used <strong>for</strong> display anywherein the UI, but can only be delivered in a chat message if included as part <strong>of</strong> a hyperlink.containerIDA containerID is a numeric identifier <strong>for</strong> one <strong>of</strong> the player’s bags or other containers.Possible values:-2—Keyring-1—Main storage area in the bank0—BackpackIn addition a number from 1 through NUM_BAG_SLOTS indicates a bag slot, numberedas presented in the default UI from right to left. Container identifiers fromNUM_BAG_SLOTS + 1 through NUM_BAG_SLOTS + NUM_BANKBAGSLOTS represent thebank bag slots, numbered as presented in the default UI from left to right.containerSlotIDA containerSlotID is a numeric index <strong>of</strong> an item slot within a container. Slots arenumbered from left to right, top to bottom, as presented in the default UI.frameStrataA frameStrata value is a string identifying the general layering order <strong>of</strong> frames.Where frame level provides fine control over the layering <strong>of</strong> frames, frame strataprovides a coarser level <strong>of</strong> layering control. Frames in a higher strata always appear‘‘in front <strong>of</strong>’’ frames in lower strata regardless <strong>of</strong> frame level. Available frame strataare listed below in order from lowest to highest:BACKGROUND—Used by default <strong>for</strong> static UI elements such as the PlayerFrame<strong>and</strong> MinimapLOW—Used by default <strong>for</strong> lower-priority UI elements such as the party member<strong>and</strong> target framesMEDIUM—Default frame strata <strong>for</strong> general usageHIGH—Used by default <strong>for</strong> higher-priority UI elements such as the Calendar <strong>and</strong>Loot framesDIALOG—Used by default <strong>for</strong> alerts <strong>and</strong> other dialog boxes which should appearover nearly all other UI elements

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!