Sha256: ed5d1fbd9bffa8319c6b2dc901374f0b1cd29384cf5c370333b93dc6534ce9de

Contents?: true

Size: 323 Bytes

Versions: 6

Compression:

Stored size: 323 Bytes

Contents

require '../lib/green_shoes'

Shoes.app do
  lb = list_box items: COLORS.keys.map(&:to_s), choose: 'red' do |item|
    @o.style fill: eval(item)
    @p.text = item
  end.move(300, 0)
  @p = para
  nostroke
  @o = oval 100, 100, 100, 100
  i = 0
  button('print'){para lb.text, top: 20*(i+=1)}.move(500, 0)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
green_shoes-0.176.0 samples/sample29.rb
green_shoes-0.171.0 samples/sample29.rb
green_shoes-0.164.0 samples/sample29.rb
green_shoes-0.150.0 samples/sample29.rb
green_shoes-0.139.0 samples/sample29.rb
green_shoes-0.138.0 samples/sample29.rb