WoWInterface SVN OneCompanion

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/OneCompanion/frames
    from Rev 33 to Rev 34
    Reverse comparison

Rev 33 → Rev 34

templates.lua
40,11 → 40,6
edgeFile = [[Interface\Buttons\UI-SliderBar-Border]],
tile = true, tileSize = 8, edgeSize = 8,
insets = { left = 3, right = 3, top = 3, bottom = 3 } }
local defaultBackdrop = {
bgFile = [[Interface\ChatFrame\ChatFrameBackground]],
edgeFile = [[Interface\Tooltips\UI-Tooltip-Border]],
tile = true, tileSize = 16, edgeSize = 16,
insets = { left = 5, right = 5, top = 5, bottom = 5 } }
texture:SetAllPoints(breanni)
texture:SetTexture([[Interface\AddOns\OneCompanion\textures\breanni]])
breanni:SetPoint(self.db.profile.sizes.breannipt, UIParent, self.db.profile.sizes.breannirpt, self.db.profile.sizes.breannix, self.db.profile.sizes.breanniy)
55,19 → 50,16
model:SetHeight(self.db.profile.sizes.mh)
model:SetWidth(self.db.profile.sizes.mw)
model:SetPoint("TOPLEFT", base, "TOPRIGHT", 0, 0)
model:SetBackdrop(defaultBackdrop)
footer:SetHeight(30)
footer:SetWidth(self.db.profile.sizes.w)
footer:SetPoint("BOTTOMLEFT", base, "BOTTOMLEFT", 0, 0)
footer:SetPoint("BOTTOMRIGHT", base, "BOTTOMRIGHT", 0, 0)
footer:SetBackdrop(defaultBackdrop)
scrollindex:SetScrollChild(child)
index:SetWidth(self.db.profile.sizes.w)
index:SetPoint("BOTTOMLEFT", footer, "TOPLEFT", 0, 0)
index:SetPoint("BOTTOMRIGHT", footer, "TOPRIGHT", 0, 0)
index:SetPoint("TOPLEFT", base, "TOPLEFT", 0, 0)
index:SetPoint("TOPRIGHT", base, "TOPRIGHT", 0, 0)
index:SetBackdrop(defaultBackdrop)
modelindex:SetPoint("BOTTOMLEFT", model, "BOTTOMLEFT", 5, 5)
modelindex:SetPoint("BOTTOMRIGHT", model, "BOTTOMRIGHT", -5, 5)
modelindex:SetPoint("TOPLEFT", model, "TOPLEFT", 5, -5)
166,6 → 158,7
base:Hide()
model:Hide()
 
opt:ToggleBorders(nil, nil)
opt:ToggleShowTooltips(nil, nil, nil)
opt:SetColor(nil, nil, nil, nil, nil)
opt:ToggleMainFrameClamp(nil)