WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   [XML] New widgets <Line> <UiCamera> and desaturated texture tag (https://www.wowinterface.com/forums/showthread.php?t=52910)

Gello 11-24-15 05:02 PM

[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"/>



All times are GMT -6. The time now is 09:22 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI