Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-28-12, 02:57 PM   #1
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 127
Exclamation wStuff help

Hi there, all. I see with the mop beta. i cant move this frame no more. i have looked into other ways around this. but something i am missing that has changed with mop. any help would be great-full. thanks



Code:
local f1 = CreateFrame("frame", "wStuff", UIParent)
f1:ClearAllPoints()
f1:SetPoint("CENTER", UIParent, "BOTTOMRIGHT", -500, 30)
f1:SetWidth(189) f1:SetHeight(65)
f1:SetBackdropColor(54/255, 54/255, 54/255)
f1:Show()
f1:SetScale(0.8)
f1:SetFrameStrata("LOW")
f1:SetBackdrop({ bgFile = "interface\\Tooltips\\UI-Tooltip-Background", edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", tile = 1, tileSize = 26, edgeSize = 26, insets = { left = 3, right = 3, top = 3, bottom = 3 } });
f1:EnableMouse(true)
f1:SetMovable(true)
f1:RegisterForDrag("LeftButton")
f1:SetScript("OnDragStart", function(self) if IsShiftKeyDown() then  self:StartMoving() end end)
f1:SetScript("OnDragStop", function(self) self:StopMovingOrSizing() end)
f1:SetUserPlaced(true)
__________________
wMmap :: Is a lightweight Minimap, with a sleek look & custom imagery.
wIn1 :: In one addon. and is very lightweight & simple to use.
wChat :: Is a lightweight chat mod.
wBroker :: Is A simple broker add-on.
wPetXPBar :: Is A simple lightweight Pet XP Bar.
wBuffs :: Is A simple Buffs Bar.
 
 

WoWInterface » Site Forums » Archived Beta Forums » MoP Beta archived threads » wStuff help


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off