Thread Tools Display Modes
12-02-11, 06:30 AM   #1
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 127
Question LFG ICON help

Hi all, i had to update my lfgicon code as was getting an error, but only thing i cant work out is when i reloadui it moves. i have added as a test SetParent(Minimap) and ClampedTo and other ways, any help would be great thanks..

Code:
function UpdateLFG()
	MiniMapLFGFrame:ClearAllPoints()
	MiniMapLFGFrame:SetPoint('BOTTOMRIGHT', Minimap, 3, -3)
    LFDSearchStatus:ClearAllPoints()
    LFDSearchStatus:SetPoint('TOPRIGHT', MiniMapLFGFrame, 'TOPLEFT')
    LFDSearchStatus:SetClampedToScreen(true)
end
MiniMapLFGFrame:SetParent(Minimap)
MiniMapLFGFrame:ClearAllPoints()
MiniMapLFGFrameBorder:SetAlpha(0)
MiniMapLFGFrame:SetPoint("BOTTOMRIGHT", Minimap, 0, 0)
__________________
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.
  Reply With Quote
12-02-11, 07:10 AM   #2
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
Originally Posted by weasoug View Post
Hi all, i had to update my lfgicon code as was getting an error, but only thing i cant work out is when i reloadui it moves. i have added as a test SetParent(Minimap) and ClampedTo and other ways, any help would be great thanks..

Code:
function UpdateLFG()
	MiniMapLFGFrame:ClearAllPoints()
	MiniMapLFGFrame:SetPoint('BOTTOMRIGHT', Minimap, 3, -3)
    LFDSearchStatus:ClearAllPoints()
    LFDSearchStatus:SetPoint('TOPRIGHT', MiniMapLFGFrame, 'TOPLEFT')
    LFDSearchStatus:SetClampedToScreen(true)
end
MiniMapLFGFrame:SetParent(Minimap)
MiniMapLFGFrame:ClearAllPoints()
MiniMapLFGFrameBorder:SetAlpha(0)
MiniMapLFGFrame:SetPoint("BOTTOMRIGHT", Minimap, 0, 0)
Try to add this

MiniMapLFGFrame.SetPoint = function() end
  Reply With Quote
12-02-11, 08:31 AM   #3
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 127
Thumbs up

thanks for that. seem it was a old addon making the prob. as i removed my TidyMinimap as it has not been updated.,. i just updated the toc. but i removed that. nd tried it with and with out this code and was fine. i guess i will use MBB for now..
__________________
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.
  Reply With Quote
12-02-11, 11:19 AM   #4
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,327
Some added info that took me a while to track down. They changed LFDSearchStatus to LFGSearchStatus. They also changed most other LFD... frames to LFG...
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » LFG ICON 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