1 move
= ego
:smart_class
{
3 self
.box
= ego
:rectangle ()
10 move
= function (self
, x
, y
)
14 resize
= function (self
, w
, h
)
15 self
.box
:resize (w
, h
)
18 show
= function (self
)
22 hide
= function (self
)
26 color_set
= function (self
, color
)
27 self
.box
.color
= color
30 clip_set
= function (self
, clip
)
34 clip_unset
= function (self
)
35 self
.box
:clip_unset ()