Sha256: 79b6fcb0bc89bd27510f1f0a5c55b26467f3f010f2bd82a460760c077963553d
Contents?: true
Size: 452 Bytes
Versions: 29
Compression:
Stored size: 452 Bytes
Contents
%w[xot rays reflex] .map {|s| File.expand_path "../../#{s}/lib", __dir__} .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)} require 'reflex' Reflex::Application.start name: 'Visuals' do |app| Reflex::Window.new title: app.name, frame: [100, 100, 600, 500] do |win| win.style.background 0.1 10.times do |i| win.add Reflex::TextView.new name: 'hello', pos: [i * 5] * 2, data: 'HELLO WORLD!' end end.show end
Version data entries
29 entries across 29 versions & 1 rubygems