fork/m-overlay

git clone https://git.julia.blue/fork/m-overlay

BkacjiosBugfixes + Dark Mode skina8034e9

v2.1.1a
629 B26 linesraw
1local PANEL = class.create("GCBinderPanel", "Label")
2
3function PANEL:GCBinderPanel()
4	self:super() -- Initialize our baseclass
5	self:SetFocusable(true)
6	self:SetDrawPanel(true)
7	self:SetBGColor(color(215, 215, 215))
8
9	self:SetHeight(48)
10
11	self:TextMargin(0, 4, 0, 0)
12	self:SetTextAlignmentX("center")
13	self:SetTextAlignmentY("top")
14	self:SetTextColor(color_darkgrey)
15	self:DockPadding(2, 18, 2, 2)
16
17	self.m_pBinder = self:Add("GCBinder")
18	self.m_pBinder:Dock(DOCK_TOP)
19
20	self:InheritMethods(self.m_pBinder) -- Inherit all slider functions
21end
22
23function PANEL:Skin()
24	self:super("Skin")
25	gui.skinHook("Init", "SubPanel", self)
26end