Sha256: cedf0e5cf45a2c04fad3e43e5cab426f4af0672ad39c1a44e6ce810640d9f9e9
Contents?: true
Size: 478 Bytes
Versions: 6
Compression:
Stored size: 478 Bytes
Contents
# -*- coding: utf-8 -*- %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
6 entries across 6 versions & 1 rubygems