1
0
Fork 0
fgdata/Nasal/canvas/gui/widgets/CheckBox.nas
2014-06-17 21:02:59 +02:00

12 lines
257 B
Text

gui.widgets.CheckBox = {
new: func(parent, style, cfg)
{
cfg["type"] = "checkbox";
var m = gui.widgets.Button.new(parent, style, cfg);
m._checkable = 1;
append(m.parents, gui.widgets.CheckBox);
return m;
},
setCheckable: nil
};