view ObjectiveWidgets.xml @ 3:3397aae1f44d

- use the correct key value when searching for action buttons - handle pre-built frames from XML
author Nenue
date Thu, 31 Mar 2016 07:32:05 -0400
parents
children 5301c68f28d8
line wrap: on
line source
<Ui>
  <!-- houses objective widget templates -->

  <Frame name="VeneerObjectiveCriteriaProgressBar" virtual="true">
    <Size x="250" y="30" />
    <Scripts>
      <OnLoad>
        self.widgetType = 'ProgressBar'
        Veneer.ObjectiveTracker.RegisterWidget(self)
      </OnLoad>
      <OnShow>
        Veneer.ObjectiveTracker.InitializeWidget(self)
      </OnShow>
      <OnHide>
        Veneer.ObjectiveTracker.ReleaseWidget(self)
      </OnHide>
      <OnEvent>

      </OnEvent>
    </Scripts>
    <Layers>
      <Layer level="BACKGROUND">
        <Texture SetAllPoints="true" name="$parentBackground" parentKey="bg" setAllPoints="true">
          <Color r="0" g="0" b="0" a="0.25" />
        </Texture>
      </Layer>
      <Layer level="ARTWORK">

      </Layer>
      <Layer level="OVERLAY">
        <FontString name="$parentQuantityString" parentKey="quantityString" inherits="VeneerCriteriaFont">

        </FontString>
      </Layer>
    </Layers>
  </Frame>
</Ui>