     width: my_kind.size
     click: action
   }
+  body
 
 body = make.columns 'controls', ["step", "run", "stop", "reset"]
 body.padding = my.control.spacing

{my} = require '../my'
{make} = require './make'

make_button = (kind, items, my_kind, action) ->
  body = make.columns "#{name}s", items
  body.stroke = my.color.line
  body.padding = my_kind.padding

  click: (world, args) -> world.send world.get('value')
}

control_names = ["step", "run", "stop", "reset"]
exports.controls = make_buttons(
  'control',
  control_names,
  my.control,
  (world, args) -> world.send world.get('value')
)

