Sha256: c5317795dc95ada8c4e1fb7d72f26a17e62e6bff85673fd44d4b5014b7ab0248

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 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.pre12 samples/simple_count_and_draw.rb