WoWInterface SVN Torta

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 21 to Rev 22
    Reverse comparison

Rev 21 → Rev 22

Torta/Windows/StartPage.xml
90,6 → 90,14
<Anchor point="BOTTOM"/>
</Anchors>
</FontString>
<Texture name="$parentNPPLogo" file="Interface\AddOns\Torta\Media\NPP">
<Size x="110" y="32"/>
<Anchors>
<Anchor point="BOTTOM">
<Offset y="10"/>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
Torta/Windows/DisplayWindow.xml
28,7 → 28,7
</Layer>
</Layers>
<Frames>
<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate">
<ScrollFrame name="$parentScrollBar" inherits="TortaFauxScrollFrameTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentHeaderTexture" relativePoint="BOTTOMLEFT">
<Offset y="-1"/>
52,7 → 52,15
<OnShow>
Torta.gui:CheckCLButtons();
Torta.gui:UpdateCLScrollBar(true);
getglobal(self:GetName() .. "ScrollBar"):SetValue(0);
-- print(getglobal(self:GetName() .. "ScrollBar"):GetValue());
 
local scrollBar = _G[self:GetName() .. "ScrollBar"];
-- When the UI first loads, the scrollbar's slider is set to 0
-- but the slider marker thing (referred to as the "thumb texture"
-- in UIPanelTemplates.xml) is invisible. This fixes that.
if scrollBar:GetValue() == 0 then
scrollBar:SetValue(0);
end
</OnShow>
<OnUpdate>
Torta.gui:CheckCLButtons();
Torta/Windows/Templates.xml
124,7 → 124,7
self:GetParent().check = self;
</OnLoad>
<OnUpdate>
-- This is retardedly hackish, but the anchors trick doesnt work for some reason (WTF?!?!?!)
-- This is retardedly hackish, but the anchors trick doesnt work for some reason (WTF!)
-- This is roughly how Checklist2 does it.
self:GetParent().text:SetWidth(self:GetParent():GetWidth() - 38);
</OnUpdate>
133,4 → 133,22
</Frames>
</Button>
 
<ScrollFrame name="TortaFauxScrollFrameTemplate" inherits="FauxScrollFrameTemplate" virtual="true">
<Layers>
<Layer level="BACKDROP">
<Texture>
<Color a="0.25"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset x="6"/>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
<Offset x="22"/>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
</ScrollFrame>
 
</Ui>
\ No newline at end of file
Torta/Windows/Explorer.xml
20,7 → 20,7
</Layer>
</Layers>
<Frames>
<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate">
<ScrollFrame name="$parentScrollBar" inherits="TortaFauxScrollFrameTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentHeaderTexture" relativePoint="BOTTOMLEFT">
<Offset y="-1"/>
38,7 → 38,8
</OnVerticalScroll>
<OnShow>
Torta.gui:UpdateExplorerScrollBar();
getglobal(self:GetName() .. "ScrollBar"):SetValue(0);
local scrollBar = getglobal(self:GetName() .. "ScrollBar");
scrollBar:SetValue(scrollBar:GetValue());
</OnShow>
</Scripts>
</ScrollFrame>
Torta/Media/NPP.tga Cannot display: file marked as a binary type. svn:mime-type = image/tga Property changes : Added: svn:mime-type + image/tga
Torta/UIManager.lua
252,6 → 252,6
FauxScrollFrame_SetOffset(explorerScrollBar, 0);
FauxScrollFrame_SetOffset(clScrollBar, 0);
 
mainWindow:SetMinResize(600, 400);
mainWindow:SetMinResize(610, 450);
PanelTemplates_SetNumTabs(mainWindow, 3);
Torta.gui:OnTabClicked(1);
\ No newline at end of file