Sha256: 2530ba1350d5f87a52cd2e7af92ad32972b3046ed66ee479f0746ec6ecf86b60
Contents?: true
Size: 1.32 KB
Versions: 60
Compression:
Stored size: 1.32 KB
Contents
# frozen_string_literal: true b = box({ top: 166, data: :hello }) c=color({ id: :col1, red: 1, blue: 1}) b.instance_variable_set("@top", 30) b.instance_variable_set("@apply", [c.id]) b.instance_variable_set("@path", './medias/images/red_planet.png' ) b.instance_variable_set("@smooth", 30) wait 1 do b.refresh b.instance_variable_set("@left", 300) wait 1 do b.refresh b.instance_variable_set("@type", :text) wait 1 do b.refresh b.instance_variable_set("@type", :image) wait 1 do b.refresh end end end end # i=image(:green_planet) # alert i.path # i.instance_variable_set("@path", './medias/images/red_planet.png') # wait 2 do # i.refresh # # i.path'./medias/images/red_planet.png' # end # # b.instance_variable_set("@left", 300) # b.instance_variable_set("@top", 400) # # b.instance_variable_set("@width", 150) # # # b.instance_variable_set("@smooth", 9) # # new({particle: :tototo}) # # wait 1 do # b.refresh # # b.instance_variable_set("@type", :text) # b.instance_variable_set("@smooth", 9) # b.instance_variable_set("@apply", [c.id]) # wait 1 do # b.refresh # # b.instance_variable_set("@type", :image) # # wait 1 do # # alert b.type # # # b.refresh # # end # end # end # # t=text(:test) # t.touch(true) do # b.smooth(9) # b.refresh # end
Version data entries
60 entries across 60 versions & 1 rubygems