You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
375 lines
12 KiB
375 lines
12 KiB
<Ui>
|
|
|
|
<CheckButton name="RematchOptionGrowthTemplate" inherits="RematchSlotTemplate" virtual="true">
|
|
<Size x="40" y="40"/>
|
|
<CheckedTexture file="Interface\Buttons\CheckButtonHilight" alphaMode="ADD" alpha="0.5"/>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<Texture parentKey="Arrow" file="Interface\Minimap\Minimap-QuestArrow">
|
|
<Size x="32" y="32"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnMouseDown>
|
|
self.Arrow:SetSize(30,30)
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
self.Arrow:SetSize(32,32)
|
|
</OnMouseUp>
|
|
<OnEnter>
|
|
RematchOptionPanel.GrowthOnEnter(self)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
Rematch:HideTooltip()
|
|
</OnLeave>
|
|
<OnClick>
|
|
RematchOptionPanel.GrowthOnClick(self)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
|
|
<RematchCompositeButton name="RematchOptionListButtonTemplate" virtual="true">
|
|
<Size x="0" y="26"/>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="HeaderBack" file="Interface\AddOns\Rematch\Textures\backplate">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
<TexCoords left="0" right="1" top="0.5" bottom="1"/>
|
|
<Color r="0.25" g="0.25" b="0.25"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="BORDER">
|
|
<Texture parentKey="CheckButton" file="Interface\AddOns\Rematch\Textures\checkbuttons">
|
|
<Size x="26" y="26"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="0" y="0"/>
|
|
</Anchors>
|
|
<TexCoords left="0.75" right="1" top="0.5" bottom="0.75"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<FontString parentKey="Text" inherits="GameFontNormal" justifyH="LEFT">
|
|
<Size x="0" y="24"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.CheckButton" relativePoint="RIGHT" x="2" y="0"/>
|
|
<Anchor point="RIGHT" x="-8" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter>
|
|
RematchOptionPanel.ListButtonOnEnter(self)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
RematchOptionPanel.ListButtonOnLeave(self)
|
|
</OnLeave>
|
|
<OnMouseDown>
|
|
RematchOptionPanel.ListButtonOnMouseDown(self)
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
RematchOptionPanel.ListButtonOnMouseUp(self)
|
|
</OnMouseUp>
|
|
<OnClick>
|
|
RematchOptionPanel.ListButtonOnClick(self,button)
|
|
</OnClick>
|
|
</Scripts>
|
|
</RematchCompositeButton>
|
|
|
|
<Button name="OldRematchOptionListButtonTemplate" virtual="true">
|
|
<Size x="248" y="24"/>
|
|
<Frames>
|
|
<CheckButton parentKey="CheckButton" motionScriptsWhileDisabled="true">
|
|
<Size x="26" y="26"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="4" y="0"/>
|
|
</Anchors>
|
|
<HitRectInsets>
|
|
<AbsInset left="-2" right="-200" top="1" bottom="1"/>
|
|
</HitRectInsets>
|
|
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
|
|
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
|
|
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
|
|
<Scripts>
|
|
<OnClick>
|
|
RematchOptionPanel.CheckButtonOnClick(self)
|
|
</OnClick>
|
|
<OnEnter>
|
|
RematchOptionPanel.ListButtonOnEnter(self)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
Rematch:HideTooltip()
|
|
</OnLeave>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton parentKey="RadioButton" motionScriptsWhileDisabled="true">
|
|
<Size x="22" y="22"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="6" y="0"/>
|
|
</Anchors>
|
|
<HitRectInsets>
|
|
<AbsInset left="-2" right="-200" top="1" bottom="1"/>
|
|
</HitRectInsets>
|
|
<NormalTexture file="Interface\Garrison\GarrLanding-TradeskilLTimerFill">
|
|
<Size x="14" y="14"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<Color r="0.65" g="0.65" b="0.65"/>
|
|
</NormalTexture>
|
|
<HighlightTexture file="Interface\Buttons\UI-RadioButton" alphaMode="ADD">
|
|
<TexCoords left="0.5" right="0.75" top="0" bottom="1"/>
|
|
</HighlightTexture>
|
|
<CheckedTexture file="Interface\Common\Indicator-Yellow">
|
|
<Size x="16" y="16"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="-1"/>
|
|
</Anchors>
|
|
</CheckedTexture>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self:GetNormalTexture():SetDesaturated(true)
|
|
</OnLoad>
|
|
<OnClick>
|
|
RematchOptionPanel.RadioButtonOnClick(self)
|
|
</OnClick>
|
|
<OnEnter>
|
|
RematchOptionPanel.ListButtonOnEnter(self)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
Rematch:HideTooltip()
|
|
</OnLeave>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<Button parentKey="Header" setAllPoints="true">
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\Buttons\CollapsibleHeader">
|
|
<Size x="76" y="18"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="4" y="0"/>
|
|
</Anchors>
|
|
<TexCoords left="0.17578125" right="0.47265625" top="0.29687500" bottom="0.54687500"/>
|
|
<Color r="0.75" g="0.75" b="0.75"/>
|
|
</Texture>
|
|
<Texture file="Interface\Buttons\CollapsibleHeader">
|
|
<Size x="76" y="18"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" x="-4" y="0"/>
|
|
</Anchors>
|
|
<TexCoords left="0.17578125" right="0.47265625" top="0.01562500" bottom="0.26562500"/>
|
|
<Color r="0.75" g="0.75" b="0.75"/>
|
|
</Texture>
|
|
<Texture file="Interface\Buttons\CollapsibleHeader">
|
|
<Size x="0" y="18"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="60" y="0"/>
|
|
<Anchor point="RIGHT" x="-60" y="0"/>
|
|
</Anchors>
|
|
<TexCoords left="0.48046875" right="0.98046875" top="0.01562500" bottom="0.26562500"/>
|
|
<Color r="0.75" g="0.75" b="0.75"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture parentKey="ExpandIcon" file="Interface\Buttons\UI-PlusMinus-Buttons">
|
|
<Size x="7" y="7"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="10" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<HighlightTexture file="Interface\TokenFrame\UI-TokenFrame-CategoryButton" alphaMode="ADD" alpha="0.25">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="6" y="-5"/>
|
|
<Anchor point="BOTTOMRIGHT" x="-6" y="5"/>
|
|
</Anchors>
|
|
<TexCoords left="0" right="1" top="0.609375" bottom="0.796875"/>
|
|
</HighlightTexture>
|
|
<ButtonText parentKey="Text">
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="24" y="0"/>
|
|
<Anchor point="RIGHT" x="-8" y="0"/>
|
|
</Anchors>
|
|
</ButtonText>
|
|
<NormalFont style="GameFontNormalLeft"/>
|
|
<HighlightFont style="GameFontHighlightLeft"/>
|
|
<Scripts>
|
|
<OnClick>
|
|
RematchOptionPanel.HeaderOnClick(self)
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString parentKey="Text" inherits="GameFontHighlight" justifyH="LEFT">
|
|
<Size x="0" y="24"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.CheckButton" relativePoint="RIGHT" x="2" y="0"/>
|
|
<Anchor point="RIGHT" x="-8" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
|
|
<Frame name="RematchOptionPanel" inherits="RematchPanelTemplate" hidden="true">
|
|
<Frames>
|
|
|
|
<Frame parentKey="Top" inherits="RematchInsetFrameTemplate">
|
|
<Size x="280" y="29"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"/>
|
|
<Anchor point="TOPRIGHT"/>
|
|
</Anchors>
|
|
<Frames>
|
|
<!-- search bar at top of panel -->
|
|
<EditBox parentKey="SearchBox" inherits="RematchSearchBoxTemplate">
|
|
<Size x="0" y="24"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="4" y="-3"/>
|
|
<Anchor point="TOPRIGHT" x="-4" y="-3"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
RematchOptionPanel.SearchBoxOnTextChanged(self)
|
|
</OnTextChanged>
|
|
<OnEnterPressed>
|
|
self:ClearFocus()
|
|
</OnEnterPressed>
|
|
</Scripts>
|
|
</EditBox>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<RematchAutoScrollFrame parentKey="List">
|
|
<Size x="280" y="503"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Top" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
|
|
<Anchor point="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
<Frames>
|
|
<Frame parentKey="Reticle">
|
|
|
|
</Frame>
|
|
</Frames>
|
|
</RematchAutoScrollFrame>
|
|
|
|
<Frame parentKey="Growth">
|
|
<Size x="248" y="48"/>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString parentKey="Label" inherits="GameFontHighlight">
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="8" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<CheckButton parentArray="Corners" inherits="RematchOptionGrowthTemplate" id="1">
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="64" y="0"/>
|
|
</Anchors>
|
|
<KeyValues>
|
|
<KeyValue key="corner" value="BOTTOMRIGHT"/>
|
|
</KeyValues>
|
|
</CheckButton>
|
|
<CheckButton parentArray="Corners" inherits="RematchOptionGrowthTemplate" id="2">
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="108" y="0"/>
|
|
</Anchors>
|
|
<KeyValues>
|
|
<KeyValue key="corner" value="TOPRIGHT"/>
|
|
</KeyValues>
|
|
</CheckButton>
|
|
<CheckButton parentArray="Corners" inherits="RematchOptionGrowthTemplate" id="3">
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="152" y="0"/>
|
|
</Anchors>
|
|
<KeyValues>
|
|
<KeyValue key="corner" value="BOTTOMLEFT"/>
|
|
</KeyValues>
|
|
</CheckButton>
|
|
<CheckButton parentArray="Corners" inherits="RematchOptionGrowthTemplate" id="4">
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="196" y="0"/>
|
|
</Anchors>
|
|
<KeyValues>
|
|
<KeyValue key="corner" value="TOPLEFT"/>
|
|
</KeyValues>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame> <!-- Growth -->
|
|
|
|
<!-- this button is attached to the Custom Scale list button to open a dialog -->
|
|
<Button parentKey="CustomScaleButton" inherits="RematchStretchButtonTemplate,RematchTooltipScripts">
|
|
<Size x="64" y="24"/>
|
|
<Scripts>
|
|
<OnClick>
|
|
RematchOptionPanel.ShowCustomScaleDialog(self)
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button parentKey="CollapseAllButton" hidden="true">
|
|
<Scripts>
|
|
<OnKeyDown>
|
|
RematchOptionPanel.CollapseAllButtonOnKeyDown(self,key)
|
|
</OnKeyDown>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<!-- this slider widget is a child of RematchDialog for use in the custom scale dialog -->
|
|
<Slider parentKey="ScaleSlider" orientation="HORIZONTAL" minValue="50" maxValue="200" valuestep="5" obeyStepOnDrag="true" parent="RematchDialog" enableMouse="true" hidden="true" inherits="RematchSliderBackdropTemplate">
|
|
<Size x="220" y="17"/>
|
|
<HitRectInsets>
|
|
<AbsInset left="0" right="0" top="-10" bottom="-10"/>
|
|
</HitRectInsets>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString inherits="GameFontHighlightSmall" text="50%">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="-4" y="-2"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString inherits="GameFontHighlightSmall" text="100%">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativePoint="BOTTOMLEFT" x="82" y="-2"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString inherits="GameFontHighlightSmall" text="200%">
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" x="4" y="-2"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString parentKey="Value" inherits="GameFontHighlightLarge">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativePoint="TOP" x="0" y="6"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<ThumbTexture file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
|
|
<Size>
|
|
<AbsDimension x="32" y="32"/>
|
|
</Size>
|
|
</ThumbTexture>
|
|
<Scripts>
|
|
<OnValueChanged>
|
|
RematchOptionPanel.CustomScaleSliderOnValueChanged(self,value)
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
|
|
</Ui>
|