local p="\078\101\120\117\115\073\109\097\103\101\066\117\116\116\111\110"local u=(require(script.Parent.Parent.Parent:WaitForChild("\078\101\120\117\115\080\108\117\103\105\110\070\114\097\109\101\119\111\114\107\080\114\111\106\101\099\116"))):GetContext(script)local L=u:GetResource("\085\073\046\073\110\112\117\116\046\065\098\115\116\114\097\099\116\046\078\101\120\117\115\071\117\105\066\117\116\116\111\110")local i=L:Extend()i:SetClassName(p)u:SetContextResource(i)function i.__new(u)u:InitializeSuper("\073\109\097\103\101\066\117\116\116\111\110")u.Name=p u.BackgroundColor3="\066\117\116\116\111\110"u.BorderColor3="\066\117\116\116\111\110\066\111\114\100\101\114"end return i
--[[
TheNexusAvenger

Image button that disables auto button colors when disabled.
--]]

local CLASS_NAME = "NexusImageButton"



local NexusPluginFramework = require(script.Parent.Parent.Parent:WaitForChild("NexusPluginFrameworkProject")):GetContext(script)
local NexusGuiButton = NexusPluginFramework:GetResource("UI.Input.Abstract.NexusGuiButton")

local NexusImageButton = NexusGuiButton:Extend()
NexusImageButton:SetClassName(CLASS_NAME)
NexusPluginFramework:SetContextResource(NexusImageButton)



--[[
Creates a Nexus Image Box object.
--]]
function NexusImageButton:__new()
	self:InitializeSuper("ImageButton")
	self.Name = CLASS_NAME
	
	--Set the defaults.
	self.BackgroundColor3 = "Button"
	self.BorderColor3 = "ButtonBorder"
end



return NexusImageButton