okay lol ..it was cause of the local? Is that possible? What means that local exaclty?
Hm anyways - another question:
Code:
-- the menu open button
openmenubutton = CreateFrame("Frame", "OpenMenuButton", UIParent)
openmenubutton:SetBackdrop({bgFile = "Interface\\ChatFrame\\ChatFrameBackground",
edgeFile = "Interface\\ChatFrame\\ChatFrameBackground",
tileSize = 0, edgeSize = 1,
insets = { left = -1, right = -1, top = -1, bottom = -1}
})
openmenubutton:SetBackdropColor(.2,.2,.2,1)
openmenubutton:SetBackdropBorderColor(.4,.4,.4,1)
openmenubutton:SetWidth(buttonwidth)
openmenubutton:SetHeight(buttonheight)
openmenubutton:SetPoint("CENTER",0,0)
openmenubutton:EnableMouse(true)
openmenubutton:SetMovable(true)
-- (texture)
openmenubutton.texture = openmenubutton:CreateTexture(nil, "OVERLAY")
openmenubutton.texture:SetAllPoints(openmenubutton)
openmenubutton.texture:SetTexture("Interface\AddOns\magges\menubutton",true)
the texture .. i dont see it. Why? :/
even if i setpoint to openmenubutton + alpha(1)
texture is 20x20, is that the point? may it has to be 24x24 or whatever?
/e even with 2x \ instead of 1
/e got it ..32x32