-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework frame to with the new PlayerSpellsFrame
- Loading branch information
1 parent
8210c79
commit 6260196
Showing
2 changed files
with
49 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<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"> | ||
<CheckButton name="ClickCastingSkillLineTab" inherits="SpellBookSkillLineTabTemplate" parent="SpellBookSideTabsFrame" hidden="false"> | ||
<Scripts> | ||
<OnClick> | ||
if InClickBindingMode() then | ||
ClickBindingFrame.SaveButton:Click() | ||
else | ||
ToggleClickBindingFrame() | ||
end | ||
</OnClick> | ||
<OnShow> | ||
self:SetChecked(InClickBindingMode()) | ||
self:ClearAllPoints() | ||
self:SetPoint("TOPLEFT", _G["SpellBookSkillLineTab" .. GetNumSpellTabs()], "BOTTOMLEFT", 0, -40) | ||
</OnShow> | ||
</Scripts> | ||
<NormalTexture file="Interface\Icons\trade_engineering" /> | ||
</CheckButton> | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ../../FrameXML/UI.xsd"> | ||
|
||
<Button name="ClickCastingToggleButton" inherits="MagicButtonTemplate" text="Click Binding"> | ||
<Size x="120" y="22" /> | ||
<Scripts> | ||
<OnClick> | ||
ToggleClickBindingFrame() | ||
self:Hide() | ||
</OnClick> | ||
<OnEnter> | ||
GameTooltip:SetOwner(self, 'ANCHOR_BOTTOM'); | ||
GameTooltip:SetText("Click Cast Bindings"); | ||
GameTooltip:AddLine('Click to toggle the Click Cast Bindings mode'); | ||
GameTooltip:Show(); | ||
</OnEnter> | ||
<OnLeave>GameTooltip:Hide()</OnLeave> | ||
</Scripts> | ||
</Button> | ||
</Ui> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters