mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-07-27 01:34:44 +00:00
267 lines
8.3 KiB
XML
267 lines
8.3 KiB
XML
<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">
|
|
<Script file="HealBot_Options.lua" />
|
|
<Button name="HealBot_Options_Tab" inherits="CharacterFrameTabButtonTemplate" virtual="true">
|
|
<Scripts>
|
|
<OnClick>
|
|
PlaySound("igMainMenuOpen");
|
|
PanelTemplates_Tab_OnClick(HealBot_Options);
|
|
HealBot_Options_ShowPanel(HealBot_Options.selectedTab);
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Slider name="HealBot_Options_SliderTemplate" inherits="OptionsSliderTemplate" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="240" y="16" />
|
|
</Size>
|
|
</Slider>
|
|
|
|
<EditBox name="HealBot_Options_EditBoxTemplate" autoFocus="false" historyLines="32" justifyH="LEFT" virtual="true">
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
|
|
<Size>
|
|
<AbsDimension x="8" y="20"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="-5" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
|
|
</Texture>
|
|
<Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
|
|
<Size>
|
|
<AbsDimension x="8" y="20"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="5" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
|
|
</Texture>
|
|
<Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
|
|
<Size>
|
|
<AbsDimension x="10" y="20"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
|
|
<Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
|
|
</Anchors>
|
|
<TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Size>
|
|
<AbsDimension x="240" y="20"/>
|
|
</Size>
|
|
<FontString inherits="GameFontHighlightSmall" bytes="256"/>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText" text=" " inherits="GameFontNormalSmall">
|
|
<Size>
|
|
<AbsDimension x="0" y="10"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="4"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEscapePressed>
|
|
this:ClearFocus();
|
|
</OnEscapePressed>
|
|
<OnEditFocusLost>
|
|
this:HighlightText(0, 0);
|
|
</OnEditFocusLost>
|
|
<OnEditFocusGained>
|
|
this:HighlightText();
|
|
</OnEditFocusGained>
|
|
</Scripts>
|
|
</EditBox>
|
|
|
|
<Frame name="HealBot_Options" toplevel="true" frameStrata="DIALOG"
|
|
movable="true" parent="UIParent" enableMouse="true" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="420" y="455"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop tile="true"
|
|
bgFile="Interface\DialogFrame\UI-DialogBox-Background"
|
|
edgeFile="Interface\DialogFrame\UI-DialogBox-Border">
|
|
<BackgroundInsets>
|
|
<AbsInset left="11" right="12" top="12" bottom="11"/>
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="32"/>
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="32"/>
|
|
</EdgeSize>
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<Texture name="HealBot_Options_Header"
|
|
file="Interface\DialogFrame\UI-DialogBox-Header">
|
|
<Size>
|
|
<AbsDimension x="400" y="64"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset>
|
|
<AbsDimension x="0" y="12"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
<FontString inherits="GameFontNormal" text="HEALBOT_OPTIONS_TITLE">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="HealBot_Options_Header">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-13"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button name="HealBot_OptionsTab1" inherits="HealBot_Options_Tab" id="1" text="HEALBOT_OPTIONS_TAB_GENERAL">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="11" y="-25" />
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="HealBot_OptionsTab2" inherits="HealBot_Options_Tab" id="2" text="HEALBOT_OPTIONS_TAB_SPELLS">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="HealBot_OptionsTab1" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-14" y="0" />
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="HealBot_OptionsTab3" inherits="HealBot_Options_Tab" id="3" text="HEALBOT_OPTIONS_TAB_HEALING">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="HealBot_OptionsTab2" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-14" y="0" />
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="HealBot_OptionsTab4" inherits="HealBot_Options_Tab" id="4" text="HEALBOT_OPTIONS_TAB_CDC">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="HealBot_OptionsTab3" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-14" y="0" />
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="HealBot_OptionsTab5" inherits="HealBot_Options_Tab" id="5" text="HEALBOT_OPTIONS_TAB_SKIN">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="HealBot_OptionsTab4" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-14" y="0" />
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="HealBot_OptionsTab6" inherits="HealBot_Options_Tab" id="6" text="HEALBOT_OPTIONS_TAB_BUFF">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="HealBot_OptionsTab5" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-14" y="0" />
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="HealBot_OptionsTab7" inherits="HealBot_Options_Tab" id="7" text="HEALBOT_OPTIONS_TAB_CHAT">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="HealBot_OptionsTab6" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-14" y="0" />
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="HealBot_Options_Defaults" inherits="UIPanelButtonTemplate" text="HEALBOT_OPTIONS_DEFAULTS">
|
|
<Size>
|
|
<AbsDimension x="80" y="22"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativePoint="BOTTOM">
|
|
<Offset>
|
|
<AbsDimension x="-50" y="15"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>HealBot_Options_Defaults_OnClick(this)</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="HealBot_Options_CloseButton" inherits="UIPanelButtonTemplate" text="HEALBOT_OPTIONS_CLOSE">
|
|
<Size>
|
|
<AbsDimension x="80" y="22"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativePoint="BOTTOM">
|
|
<Offset>
|
|
<AbsDimension x="50" y="15"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
HideUIPanel(this:GetParent());
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad>HealBot_Options_OnLoad(this);</OnLoad>
|
|
<OnShow>HealBot_Options_OnShow(this);</OnShow>
|
|
</Scripts>
|
|
</Frame>
|
|
</Ui>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|