WoWInterface SVN TotemGuru

Compare Revisions

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

Rev 22 → Rev 23

Settings.lua
128,7 → 128,7
y = -100
y = self:createButton("Assign","Assign",x,y,self.AssignmentPanel,TotemGuruAssignments_LoadWindow)
y = self:createButton("ShowButton","TotemBar",x,y,self.AssignmentPanel,TotemGuruwindows_SingleButtonCast)
y = self:CreateMulticastDropdown(x + 10,y-10)
y = self:CreateMulticastDropdown(x-40,y-10)
InterfaceOptions_AddCategory(self.AssignmentPanel);
 
end
297,12 → 297,13
------------------------------------------------
function TotemGuruSettingsGUI:CreateMulticastDropdown(x,y)
local parent = self.AssignmentPanel
local title = "Select Multicast button to use for Assigned totems"
local title = "Select Multicast button|nto use for Assigned totems"
local frame = CreateFrame('Frame', "MulticastTypeDropDownFrame" , parent,'UIDropDownMenuTemplate')
frame:SetPoint("TOPLEFT", parent, "TOPLEFT", x, y-20)
 
frame:SetPoint("TOPRIGHT", parent, "TOPRIGHT", x, y-20)
 
frame.titletext = frame:CreateFontString(nil, 'BACKGROUND')
frame.titletext:SetPoint('BOTTOMLEFT', frame, 'TOPLEFT')
frame.titletext:SetPoint('BOTTOM', frame,'TOP',-120,0)
frame.titletext:SetFontObject('GameFontNormal')
frame.titletext:SetText(title)
if TotemGuruConfig and TotemGuruConfig.Multicast then