Forum: Lua/XML Help
05-07-21, 11:58 AM
|
Replies: 14
Views: 3,389
It should be something as simple...
It should be something as simple as:
hooksecurefunc("DefaultCompactUnitFrameSetup", function(frame)
frame.myHealPrediction:SetTexture([[Raid-Bar-Hp-Fill.blp]])
...
|
Forum: Lua/XML Help
05-07-21, 11:43 AM
|
Replies: 14
Views: 3,389
The size is set via SetPoint calls in...
The size is set via SetPoint calls in CompactUnitFrameUtil_UpdateFillBar. It is called as: CompactUnitFrameUtil_UpdateFillBar(frame, healthTexture, frame.myHealPrediction, myIncomingHeal,...
|
Forum: Lua/XML Help
05-07-21, 10:09 AM
|
Replies: 14
Views: 3,389
It seems that SetColorTexture respects any...
It seems that SetColorTexture respects any SetGradient in place but SetVertexColor overrides SetGradient. Since SetColorTexture is set to pure white by default we just need to use SetVertexColor to...
|
Forum: Lua/XML Help
05-07-21, 07:27 AM
|
Replies: 14
Views: 3,389
This should remove the...
This should remove the gradient:
frame.myHealPrediction:SetGradient("VERTICAL", 255, 255, 255, 255, 255, 255)
|