skateloading.blogg.se

World of warcraft frame
World of warcraft frame




world of warcraft frame

This example will align the top of the 'child' frame to the top of 'MyFrame', and then offset that alignment by -22 vertically. Frames also provide a sophisicated 'Z order' based layering system, both in element and between the frames themselves. Frame works by providing a flexible set of layout and scripting constructs. When used with along with the and the element from LayoutFrame, allows WoW to 'Layout' all of its visible and make them interactive and responsive, including the 3D views of the world.

  • hidden ( boolean) - makes the element hidden by defaultįrame based elements facilitate 'Layout', 'Appearance' and 'Behaviour' mechanisms for the WoW UI at runtime.
  • setAllPoints ( boolean) - automatically anchors the TOPLEFT and BOTTOMRIGHT points to the parent.
  • virtual ( boolean) - marks frame as inheritable type, causing runtime to not create frame.
  • inherits ( string) - name of the virtual element as to use a template, to inherit properties and attributes from.
  • parentArray ( string) - name for a Lua array in the parent, to hold a reference to this element at runtime.
  • parentKey ( string) - name for a Lua key in the parent element, which will reference this element at runtime.
  • Prefixing with '$parent' replaces with next named parents name. Creates Lua global variable holding a reference to this element at runtime.
  • name ( string) - the name of the element.
  • protected ( boolean) - if the frame is allowed to run protected code (only allowed in Blizzard code).
  • clampedToScreen ( boolean) - if the frame is kept inside the screen boundaries.
  • enableKeyboard ( boolean) - if keystroke events are sent to the frame.
  • enableMouse ( boolean) - if mouse events are sent to the frame.
  • frameLevel ( int) - position in the strata, overrides parent and XML order.
  • frameStrata ( FRAMESTRATA) - which layer your frame should be on.
  • resizable ( boolean) - if the frame can be resized by the user.
  • movable ( boolean) - if the frame can be moved by the user.
  • toplevel ( boolean) - if should be displayed on top of all the other frames in its strata.
  • world of warcraft frame

  • parent ( string) - name frame to use as parent.
  • opacity of the frame, where 1.0 is opaque and 0.0 is fully transparent
  • 2.1 Inherited Elements: from LayoutFrame.





  • World of warcraft frame