Thread Tools Display Modes
03-31-10, 11:11 AM   #1
shiin
A Fallenroot Satyr
Join Date: Feb 2005
Posts: 23
How to move ContainerFrames without taint?

Hi there!

The title already tells most of my question: I'd like anchor the whole block of container frames (i.e. the opened bags, bank slots and backpack) to a different position. The one way I see how to do it without hooking many functions, is by altering the CONTAINER_OFFSET_X, CONTAINER_OFFSET_Y variables. But they are also used in the GameTooltip_SetDefaultAnchor() function. Since this function is called in many execution paths, this introduces a lot of taint blocking functions in combat, e.g. when trying to switch totems on the totem bar.

Is there a more elegant way to move the opened containers without causing taint?
  Reply With Quote
03-31-10, 11:22 AM   #2
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Originally Posted by shiin View Post
Hi there!

The title already tells most of my question: I'd like anchor the whole block of container frames (i.e. the opened bags, bank slots and backpack) to a different position. The one way I see how to do it without hooking many functions, is by altering the CONTAINER_OFFSET_X, CONTAINER_OFFSET_Y variables. But they are also used in the GameTooltip_SetDefaultAnchor() function. Since this function is called in many execution paths, this introduces a lot of taint blocking functions in combat, e.g. when trying to switch totems on the totem bar.

Is there a more elegant way to move the opened containers without causing taint?
Alter the Blizzard functions used for the bags.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
04-03-10, 09:03 AM   #3
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
night your one line answers to secure issues just kill me! You make it sound so easy! lol. oh just change the blizzard code like its nooo big deal.
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
  Reply With Quote
04-03-10, 10:12 AM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,931
rofl, yeah, piece of cake ... *grumbles about font sizing issues in her own watchframe change attempts* rofl
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » How to move ContainerFrames without taint?


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