Apply Patch

This commit is contained in:
2026-10-30 16:27:05 +00:00
parent f58ee88ee3
commit 92e171266e
101 changed files with 29784 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
PTInputBlock = PTGuiComponent:Extend("puppeteer_input_block")
function PTInputBlock:New()
local obj = setmetatable({}, self)
local frame = CreateFrame("Frame", self:GenerateName())
obj:SetHandle(frame)
obj:SetBackground({frameBackdrop = {
bgFile = "Interface\\Buttons\\WHITE8X8",
edgeSize = 11,
tile = true
}, frameBackdropColor = {0, 0, 0, 0.5}})
frame:EnableMouse(true)
return obj
end
function PTInputBlock:SetParent(parent)
self.super.SetParent(self, parent)
self:SetPoint("TOPLEFT", parent, "TOPLEFT")
self:SetPoint("BOTTOMRIGHT", parent, "BOTTOMRIGHT")
end
PTGuiLib.RegisterComponent(PTInputBlock)