Quantcast WoWInterface - Search Results
Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: Vrul
Forum: Classic - AddOn Search/Requests 01-18-20, 09:53 AM
Replies: 38
Views: 1,864
Posted By Vrul
Add statusText:SetDrawLayer("OVERLAY", 7) after...

Add

statusText:SetDrawLayer("OVERLAY", 7)

after your ClearAllPoints/SetPoint calls

hooksecurefunc("DefaultCompactUnitFrameSetup", function(self)
local fontSize = 12 *...
Forum: Classic - AddOn Search/Requests 01-16-20, 04:37 AM
Replies: 38
Views: 1,864
Posted By Vrul
:ClearAllPoints() should...

:ClearAllPoints()

should be

statusText:ClearAllPoints()
Forum: Classic - AddOn Search/Requests 01-06-20, 08:42 PM
Replies: 38
Views: 1,864
Posted By Vrul
No. The only other option is "THICKOUTLINE" in...

No. The only other option is "THICKOUTLINE" in place of "OUTLINE" which makes is thicker.
Forum: Classic - AddOn Search/Requests 01-06-20, 07:32 PM
Replies: 38
Views: 1,864
Posted By Vrul
Same as...

Same as before:

statusText:SetFont("Fonts\\ARIALN.TTF", fontSize, "OUTLINE")
Forum: Classic - AddOn Search/Requests 01-06-20, 05:42 PM
Replies: 38
Views: 1,864
Posted By Vrul
Give this a...

Give this a shot:

hooksecurefunc("DefaultCompactUnitFrameSetup", function(self)
local fontSize = 16 * min(DefaultCompactUnitFrameSetupOptions.height / 36, DefaultCompactUnitFrameSetupOptions.width...
Forum: Classic - AddOn Search/Requests 01-06-20, 07:03 AM
Replies: 38
Views: 1,864
Posted By Vrul
Try changing the line (before the last...

Try changing the line (before the last change):

statusText:SetFont("Fonts\\ARIALN.TTF", 16)

to:

statusText:SetFont("Fonts\\ARIALN.TTF", 16 * min(DefaultCompactUnitFrameSetupOptions.height / 36,...
Forum: Classic - AddOn Search/Requests 01-05-20, 10:21 PM
Replies: 38
Views: 1,864
Posted By Vrul
Try changing the...

Try changing the line:

statusText:SetFont("Fonts\\ARIALN.TTF", 16)

to:

statusText:SetFont("Fonts\\ARIALN.TTF", 16 * (statusText:GetHeight() or 12) / 12)
Forum: Classic - AddOn Search/Requests 01-05-20, 07:12 PM
Replies: 38
Views: 1,864
Posted By Vrul
Give this a...

Give this a try:

hooksecurefunc("DefaultCompactUnitFrameSetup", function(self)
local statusText = self.statusText
statusText:SetFont("Fonts\\ARIALN.TTF", 16)
statusText:SetShadowColor(0, 0, 0,...
Forum: Classic - AddOn Search/Requests 01-05-20, 01:12 PM
Replies: 38
Views: 1,864
Posted By Vrul
The last number for SetShadowColor is the alpha...

The last number for SetShadowColor is the alpha (transparency) and can be a value for 0 (invisible) to 1 (solid):

statusText:SetShadowColor(0, 0, 0, 1)
Forum: Classic - AddOn Search/Requests 01-05-20, 12:43 PM
Replies: 38
Views: 1,864
Posted By Vrul
For an outline...

For an outline change:

statusText:SetFont("Fonts\\ARIALN.TTF", 16)

to

statusText:SetFont("Fonts\\ARIALN.TTF", 16, "OUTLINE")

For shadow just add these lines after the SetFont and SetTextColor...
Forum: Classic - AddOn Search/Requests 01-05-20, 11:17 AM
Replies: 38
Views: 1,864
Posted By Vrul
Not tested but you can...

Not tested but you can try:

hooksecurefunc("CompactUnitFrame_UpdateStatusText", function(self)
local statusText = self.statusText
if statusText and statusText:IsShown() then
if...
Showing results 1 to 11 of 11