1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* <license>
* This file is part of the dis-Emi-A HaXe Library. Copyright (c) edA-qa mort-ora-y
* For full copyright and license information please refer to doc/license.txt.
* </license>
*/
package ui;
/**
* The radio box is simply a slightly different rendering than the check box.
* Actual radio behaviour can be had with the RadioGroup class.
*/
class RadioBox extends CheckBox
{
private function new( text : String, ?color : draw.Color )
{
super( text, color );
circle = true;
}
static public function plain( text : String, ?color : draw.Color )
{
return new RadioBox( text, color );
}
}
|