Shestak UI
Go Back   Shestak UI > Interface Forums > English Community > Bugs Reports

Bugs Reports Report any bugs or issues you come across with ShestakUI.

Advertising

 
Thread Tools
Old 08.04.2017, 18:53   #31
Wetxius
 Assistant User Information

Wetxius's Avatar
Can you post screenshot on default interface (Blizzard)?
Reward text for gold strangely huge.
lua Code [Select]:
local function HandleTooltipStatusBar()
        local bar = _G["WorldMapTaskTooltipStatusBar"].Bar
        local label = bar.Label
        if bar then
            bar:StripTextures()
            bar:SetStatusBarTexture(C.media.texture)
            bar:SetTemplate("Transparent")
            label:ClearAllPoints()
            label:SetPoint("CENTER", bar, 0, 0)
            label:SetDrawLayer("OVERLAY")
            label:SetFont(C.media.pixel_font, C.media.pixel_font_size, C.media.pixel_font_style)
        end
    end
    hooksecurefunc("TaskPOI_OnEnter", HandleTooltipStatusBar)

Добавлено через 3 минуты
This is for reputation bar.
lua Code [Select]:
local function ReputationTooltipStatusBar()
        local bar = _G["ReputationParagonTooltipStatusBar"].Bar
        local label = bar.Label
        if bar then
            bar:StripTextures()
            bar:SetStatusBarTexture(C.media.texture)
            bar:SetTemplate("Transparent")
            label:ClearAllPoints()
            label:SetPoint("CENTER", bar, 0, 0)
            label:SetDrawLayer("OVERLAY")
            label:SetFont(C.media.pixel_font, C.media.pixel_font_size, C.media.pixel_font_style)
        end
    end
    hooksecurefunc("ReputationParagonWatchBar_OnEnter", ReputationTooltipStatusBar)
Say Thank:
lanseb (08.04.2017)
Old 08.04.2017, 18:53   #1.5 - Disable Ads

Advertise on this site

Old 08.04.2017, 18:58   #32
lanseb
 Elder Member User Information

lanseb's Avatar
Quote:
Originally Posted by Wetxius View Post
Can you post screenshot on default interface (Blizzard)?
Reward text for gold strangely huge.
lua Code [Select]:
local function HandleTooltipStatusBar()
        local bar = _G["WorldMapTaskTooltipStatusBar"].Bar
        local label = bar.Label
        if bar then
            bar:StripTextures()
            bar:SetStatusBarTexture(C.media.texture)
            bar:SetTemplate("Transparent")
            label:ClearAllPoints()
            label:SetPoint("CENTER", bar, 0, 0)
            label:SetDrawLayer("OVERLAY")
            label:SetFont(C.media.pixel_font, C.media.pixel_font_size, C.media.pixel_font_style)
        end
    end
    hooksecurefunc("TaskPOI_OnEnter", HandleTooltipStatusBar)

Добавлено через 3 минуты
This is for reputation bar.
lua Code [Select]:
local function ReputationTooltipStatusBar()
        local bar = _G["ReputationParagonTooltipStatusBar"].Bar
        local label = bar.Label
        if bar then
            bar:StripTextures()
            bar:SetStatusBarTexture(C.media.texture)
            bar:SetTemplate("Transparent")
            label:ClearAllPoints()
            label:SetPoint("CENTER", bar, 0, 0)
            label:SetDrawLayer("OVERLAY")
            label:SetFont(C.media.pixel_font, C.media.pixel_font_size, C.media.pixel_font_style)
        end
    end
    hooksecurefunc("ReputationParagonWatchBar_OnEnter", ReputationTooltipStatusBar)
Hahaha we thought the same thing (was gonna fix rep bar too!)

Default Map

Reskinned Map

Will edit this once I tested rep bar.


EDIT: Rep bar not working
Old 08.04.2017, 19:09   #33
Wetxius
 Assistant User Information

Wetxius's Avatar
Quote:
Originally Posted by lanseb View Post
Default Map

Reskinned Map
You did not understand. Screenshot of the game without any addons, including our.

Добавлено через 2 минуты
lua Code [Select]:
local function ReputationTooltipStatusBar()
    local bar = ReputationParagonTooltipStatusBar.Bar
    local label = bar.Label
    if bar then
        bar:StripTextures()
        bar:SetStatusBarTexture(C.media.texture)
        bar:SetTemplate("Transparent")
        label:ClearAllPoints()
        label:SetPoint("CENTER", bar, 0, 0)
        label:SetDrawLayer("OVERLAY")
        label:SetFont(C.media.pixel_font, C.media.pixel_font_size, C.media.pixel_font_style)
    end
end
hooksecurefunc("ReputationParagonFrame_SetupParagonTooltip", ReputationTooltipStatusBar)
Say Thank:
lanseb (08.04.2017)
Old 12.04.2017, 17:09   #34
lanseb
 Elder Member User Information

lanseb's Avatar

Fixed

Quote:
Originally Posted by Wetxius View Post
Quote:
Originally Posted by lanseb View Post
Default Map

Reskinned Map
You did not understand. Screenshot of the game without any addons, including our.
link

Posted in 3 minutes
Quote:
Originally Posted by Wetxius View Post
Добавлено через 2 минуты
lua Code [Select]:
local function ReputationTooltipStatusBar()
    local bar = ReputationParagonTooltipStatusBar.Bar
    local label = bar.Label
    if bar then
        bar:StripTextures()
        bar:SetStatusBarTexture(C.media.texture)
        bar:SetTemplate("Transparent")
        label:ClearAllPoints()
        label:SetPoint("CENTER", bar, 0, 0)
        label:SetDrawLayer("OVERLAY")
        label:SetFont(C.media.pixel_font, C.media.pixel_font_size, C.media.pixel_font_style)
    end
end
hooksecurefunc("ReputationParagonFrame_SetupParagonTooltip", ReputationTooltipStatusBar)
That worked
[hide]


Wetxius

I found this for the wardrobe:

Code [Select]:
-- Taken from AddOnSkins
for i = 1, 3 do
	for j = 1, 6 do
		WardrobeCollectionFrame.ItemsCollectionFrame["ModelR"..i.."C"..j]:StripTextures()
		WardrobeCollectionFrame.ItemsCollectionFrame["ModelR"..i.."C"..j]:SetFrameLevel(WardrobeCollectionFrame.ItemsCollectionFrame["ModelR"..i.."C"..j]:GetFrameLevel() + 2)
		WardrobeCollectionFrame.ItemsCollectionFrame["ModelR"..i.."C"..j]:CreateBackdrop("Default")
		WardrobeCollectionFrame.ItemsCollectionFrame["ModelR"..i.."C"..j].Border:Kill()
		hooksecurefunc(WardrobeCollectionFrame.ItemsCollectionFrame["ModelR"..i.."C"..j].Border, 'SetAtlas', function(self, texture)
			local color = E.media.bordercolor
			if texture == "transmog-wardrobe-border-uncollected" then
				color = { 1, 1, 0}
			elseif texture == "transmog-wardrobe-border-unusable" then
				color = { 1, 0, 0}
			end
			self:GetParent().backdrop:SetBackdropBorderColor(unpack(color))
		end)
	end
end
Code [Select]:
-- Taken from AddOnSkins
for i = 1, 2 do
	for j = 1, 4 do
		WardrobeCollectionFrame.SetsTransmogFrame["ModelR"..i.."C"..j]:StripTextures()
		WardrobeCollectionFrame.SetsTransmogFrame["ModelR"..i.."C"..j]:CreateBackdrop("Default")
	end
end
I tried it and it works minus the part about setting the border color. Can we add this to the skin?

Preview:
Says Thank:
Shestak (13.04.2017), Wetxius (08.04.2017)
Old 15.04.2017, 10:45   #35
Wetxius
 Assistant User Information

Wetxius's Avatar
It's kind of button. What about mouseovering texture?
I'll look at this in a couple of days.

Добавлено через 64 часа 31 минуту
https://github.com/Shestak/ShestakUI...9660af25630dff
Done.
http://savepic.net/9215332.jpg
Says Thank:
lanseb (12.04.2017), Shestak (22.04.2017)

Tags
7.2

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fixed] Patch 7.1 Issues lanseb Bugs Reports 4 02.11.2016 10:38
[Fixed] Patch 6.2.2: Nameplates, Quest Window, World Map lanseb Bugs Reports 3 03.09.2015 18:22
Patch 4.0.1 and PTR gabbu General Discussion 8 24.09.2010 07:22
Patch 3.3.5 and ShestakUI tehTyrant Technical Support 13 02.07.2010 15:26


Mobile Style Русский English Deutsch Italian Chinese