WoWInterface SVN Torta

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/Torta/Windows
    from Rev 35 to Rev 36
    Reverse comparison

Rev 35 → Rev 36

DisplayWindow.xml
210,6 → 210,9
Torta.cl3:ModifyOpenTask( getglobal( self:GetParent():GetName() .. "EditBox" ):GetText() );
Torta.gui:UpdateCLScrollBar();
Torta.cl3:HideTaskEditor();
else
-- Add a setting that stops the editor from closing when escape is pressed sometime later.
Torta.cl3:HideTaskEditor();
end
</OnEscapePressed>
<OnEnterPressed>
Templates.xml
94,6 → 94,18
fs:SetJustifyV("TOP");
self.text = fs;
</OnLoad>
<OnEnter>
if self.text:GetStringWidth() >= (self:GetWidth() - 10) then
GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT");
GameTooltip:AddLine(self.text:GetText());
GameTooltip:Show();
end
</OnEnter>
<OnLeave>
if GameTooltip:IsOwned(self) then
GameTooltip:Hide();
end
</OnLeave>
</Scripts>
</Button>
 
120,12 → 132,15
self.dragFlag = true;
</OnMouseDown>
<OnMouseUp>
if not self.dragFlag then
Torta.gui:clTaskDragStop();
end
self.dragFlag = false;
Torta.gui:clTaskDragStop();
</OnMouseUp>
<OnLeave>
if self.dragFlag then
Torta.gui:clTaskDragStart(self);
self.dragFlag = false;
end
</OnLeave>
</Scripts>
161,7 → 176,7
</Scripts>
</CheckButton>
<!-- Drop areas -->
<Button name="$parentTopDropHandler" text="Top" hidden="true">
<Button name="$parentTopDropHandler" text="Above this task" hidden="true" alpha="0">
<NormalFont style="GameFontNormal"/>
<Anchors>
<Anchor point="TOPLEFT"/>
172,9 → 187,18
self.tortaDropType = "CLTASK";
self:GetParent().topDropHandler = self;
</OnLoad>
<OnEnter>
UIFrameFadeIn(self, 0.3, self:GetAlpha(), 1);
</OnEnter>
<OnLeave>
UIFrameFadeOut(self, 0.3, self:GetAlpha(), 0);
</OnLeave>
<OnUpdate>
 
</OnUpdate>
</Scripts>
</Button>
<Button name="$parentBottomDropHandler" text="Bottom" hidden="true">
<Button name="$parentBottomDropHandler" text="Below this task" hidden="true" alpha="0">
<NormalFont style="GameFontNormal"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="LEFT"/>
185,6 → 209,15
self.tortaDropType = "CLTASK";
self:GetParent().bottomDropHandler = self;
</OnLoad>
<OnEnter>
UIFrameFadeIn(self, 0.3, self:GetAlpha(), 1);
</OnEnter>
<OnLeave>
UIFrameFadeOut(self, 0.3, self:GetAlpha(), 0);
</OnLeave>
<OnUpdate>
 
</OnUpdate>
</Scripts>
</Button>
<!-- End of drop areas -->
209,7 → 242,8
</Layers>
</ScrollFrame>
 
<Frame name="TortaDragThingy" inherits="TortaTooltipStyleFrameTemplate" parent="UIParent" frameStrata="TOOLTIP">
<Frame name="TortaDragThingy" inherits="TortaTooltipStyleFrameTemplate" parent="UIParent"
frameStrata="TOOLTIP" hidden="true">
<Size x="200" y="40"/>
<Anchors>
<Anchor point="CENTER"/>
TortaParentFrame.xml
90,7 → 90,7
Torta.gui:CheckExplorerWindow();
</OnMouseUp>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_CURSOR");
GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT");
GameTooltip:AddLine("Drag here to resize the Torta window.");
GameTooltip:Show();
</OnEnter>
119,7 → 119,7
Torta.gui:CheckExplorerWindow();
</OnMouseUp>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_CURSOR");
GameTooltip:SetOwner(self, "ANCHOR_TOPLEFT");
GameTooltip:AddLine("Drag here to resize the Torta window.");
GameTooltip:Show();
</OnEnter>