Sha256: f55d48aca65d09996e46f462179650622ad9960cc2707547cc05c377aebb4c75

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

Shoes.app do
  button 'go' do
    p = para 0, left: 0, top: 30
    a = every do |i|
      i += 1
      j = i * 20
      p.text = i.to_s
      para i.to_s, left: j * 2, top: 30
      oval 100 + j, 100 + j, 10, 10
      a.remove if i > 8
    end

    timer 10 do
      p.text = 'hello'
      para 'shoes 4', left: 0, top: 200
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.rc1 samples/simple_count_and_draw.rb