Quantcast [XML] New widgets <Line> <UiCamera> and desaturated texture tag - WoWInterface
 
Thread Tools Display Modes
11-24-15, 05:02 PM   #1
Gello
A Firelord
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 488
[XML] New widgets <Line> <UiCamera> and desaturated texture tag

Just posted on http://us.battle.net/wow/en/forum/topic/19974497350#8 but from peeking at the UI.xsd, it looks like we're getting a <Line> widget in Legion:

Code:
  <xs:complexType name="LineType">
    <xs:complexContent>
      <xs:extension base="TextureType">
        <xs:sequence minOccurs="0">
          <xs:element name="StartAnchor" maxOccurs="1">
            <xs:complexType>
              <xs:sequence minOccurs="0">
                <xs:element name="Offset" type="Dimension"/>
              </xs:sequence>
              <xs:attribute name="relativeTo" type="xs:string"/>
              <xs:attribute name="relativePoint" type="FRAMEPOINT"/>
              <xs:attribute name="relativeKey" type="xs:string"/>
              <xs:attribute name="x" type="xs:float"/>
              <xs:attribute name="y" type="xs:float"/>
            </xs:complexType>
          </xs:element>
          <xs:element name="EndAnchor" maxOccurs="1">
            <xs:complexType>
              <xs:sequence minOccurs="0">
                <xs:element name="Offset" type="Dimension"/>
              </xs:sequence>
              <xs:attribute name="relativeTo" type="xs:string"/>
              <xs:attribute name="relativePoint" type="FRAMEPOINT"/>
              <xs:attribute name="relativeKey" type="xs:string"/>
              <xs:attribute name="x" type="xs:float"/>
              <xs:attribute name="y" type="xs:float"/>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
        <xs:attribute name="thickness" type="xs:float" default="4"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Line" type="LineType" substitutionGroup="LayoutFrame"/>
with line translation/scaling animations later in the UI.xsd.

But even more exciting (for me personally) is a desaturated tag for textures, where this looks possible:
Code:
<Texture desaturated="true" file="Interface\Icons\INV_Misc_QuestionMark">
  <Color r="0.25" g="0.64" b="1.0"/>
</Texture>
So we'll likely be able to recolor existing art without going back in and desaturating it in the OnLoad/initialization.

There's also a new <UiCamera> widget:
Code:
  <xs:complexType name="UiCameraType">
    <xs:complexContent>
      <xs:extension base="ModelType"/>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="UiCamera" type="UiCameraType" substitutionGroup="ui:Frame"/>
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » [XML] New widgets <Line> <UiCamera> and desaturated texture tag

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off