fork/m-overlay

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

Bkacjios* Added CheckPanel * Renamed Checkbox to CheckBox * Created RadioBox as a subclass of CheckBox * Draw panel background in PrePaint to free up Paint for the super class7d480fc

v2.1.1
315 B19 linesraw
1local PANEL = class.create("RadioBox", "CheckBox")
2
3function PANEL:RadioBox()
4	-- Initialize our baseclass
5	self:super()
6end
7
8function PANEL:Paint(w, h)
9	gui.skinHook("Paint", "RadioBox", self, w, h)
10	self:PaintLabel(w, h)
11end
12
13function PANEL:OnClick()
14	-- Override
15end
16
17function PANEL:OnToggle(on)
18	-- Override
19end