View Single Post
07-29-18, 09:40 PM   #1
Theroxis
A Fallenroot Satyr
Join Date: Jun 2018
Posts: 24
Hooking a data provider mixin?

So this seems like an oversight by blizzard with frame naming conventions...
I'm trying to change the zone text font size when mousing over a zone in BattlefieldMapFrame, this text, it's frame and it's size are all handled by this code:
https://github.com/tomrus88/Blizzard...taProvider.lua

Since this code never declares any logical frame names, the frames have a randomly generated ID for their name. This is:
A) Undesirable
B) Difficult to manipulate.


How should I approach hooking a function here to call self:SetFont()?

This is foreign territory to me because the data providers are kind of supposed to be hands off, but seeing as this is the only place this frame is accesible reliably this is the approach that must be taken...
  Reply With Quote