view TimeManager/TimeManager.xml @ 59:07ef62fe201f

Re-write of BuffFrame module: - uses secure hooks on blizzard BuffFrame.lua functions to determine needed action - make use of built-in table behavior to reduce unnecessary frame updates
author Nenue
date Thu, 28 Jul 2016 18:27:56 -0400
parents dd9b5f59632c
children
line wrap: on
line source
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">


  <Frame name="VeneerClock" parent="UIParent" hidden="false" clampedToScreen="true">
    <Scripts>
      <OnLoad>
        self.drag = true
        self.toggle = true
        Veneer.RegisterModuleFrame(self, 'Clock')
      </OnLoad>
    </Scripts>
    <Size x="280" y="16" />
    <Layers>
      <Layer level="OVERLAY">
        <FontString font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Bold.ttf" parentKey="time" text="GAME_TIME" outline="NORMAL">
          <FontHeight>
            <AbsValue val="14" />
          </FontHeight>

          <Anchors>
            <Anchor point="RIGHT" />
          </Anchors>
          <Color r="1" g="1" b="1" a="1" />
        </FontString>
        <FontString font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Bold.ttf" parentKey="coords" text="MAP_COORDS" outline="NORMAL">
          <FontHeight>
            <AbsValue val="14" />
          </FontHeight>

          <Anchors>
            <Anchor point="RIGHT" relativePoint="LEFT" relativeKey="$parent.time" />
          </Anchors>
          <Color r="1" g="1" b="1" a="1" />
        </FontString>
      </Layer>
    </Layers>
  </Frame>

  <Script file="TimeManager.lua" />

  </Ui>