Sha256: 6929a97403301135e1b038dd0c39922b074d8e746ddbebd6069edad82505c3dc

Contents?: true

Size: 746 Bytes

Versions: 29

Compression:

Stored size: 746 Bytes

Contents

# frozen_string_literal: true

label = text({ data: 0, top: 400, left: 69, component: { size: 12 }, color: :gray })

aaa = grab(:intuition).slider({ id: :toto, range: { color: :yellow }, min: -12, max: 33, width: 333, value: 12, height: 25, left: 99, top: 350, color: :orange, cursor: { color: :orange, width: 25, height: 25 } }) do |value|
  label.data("(#{value})")
end

aa = grab(:intuition).slider({ orientation: :vertical, range: { color: :white }, value: 55, width: 55, height: 555, attach: :intuition, left: 555, top: 33, color: :red, cursor: { color: {alpha: 1, red: 0.12, green: 0.12, blue: 0.12}, width: 33, height: 66, smooth: 3 } }) do |value|
  label.data("(#{value})")
end

b=box
b.touch(true) do
  aa.value(12)
  aaa.value(-6)
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
atome-0.5.7.6.0 vendor/assets/application/examples/sliders.rb
atome-0.5.7.5.9 vendor/assets/application/examples/sliders.rb
atome-0.5.7.5.4 vendor/assets/application/examples/sliders.rb
atome-0.5.7.5.3 vendor/assets/application/examples/sliders.rb
atome-0.5.7.5.1 vendor/assets/application/examples/sliders.rb
atome-0.5.7.4.8 vendor/assets/application/examples/sliders.rb
atome-0.5.7.4.7 vendor/assets/application/examples/sliders.rb
atome-0.5.7.4.6 vendor/assets/application/examples/sliders.rb
atome-0.5.7.4.3 vendor/assets/application/examples/sliders.rb
atome-0.5.7.4.2 vendor/assets/application/examples/sliders.rb
atome-0.5.7.3.9 vendor/assets/application/examples/sliders.rb
atome-0.5.7.3.6 vendor/assets/application/examples/sliders.rb
atome-0.5.7.3.5 vendor/assets/application/examples/sliders.rb
atome-0.5.7.3.3 vendor/assets/application/examples/sliders.rb
atome-0.5.7.3.2 vendor/assets/application/examples/sliders.rb
atome-0.5.7.3.1 vendor/assets/application/examples/sliders.rb
atome-0.5.7.3.0 vendor/assets/application/examples/sliders.rb
atome-0.5.7.1.8 vendor/assets/application/examples/sliders.rb
atome-0.5.7.1.7 vendor/assets/application/examples/sliders.rb
atome-0.5.7.1.0 vendor/assets/application/examples/sliders.rb