Sha256: 9f4aba498c2104dd54e10e1d20b7a2d7fc7e9376896714d2444c02aa817e7fe1
Contents?: true
Size: 1.23 KB
Versions: 2
Compression:
Stored size: 1.23 KB
Contents
module Playa class Application include Vedeu interface 'help' do centred true colour foreground: '#ffffff', background: '#000000' cursor false group 'help' height 9 width 60 end interface 'playlist' do colour foreground: '#afd700', background: '#000000' cursor false width 60 height 5 centred true group 'player' end interface 'progress' do colour foreground: '#005aff', background: '#000000' cursor false width 60 height 1 y { use('playlist').north(2) } x { use('playlist').left } centred false delay 1.0 group 'player' end interface 'status' do colour foreground: '#d70000', background: '#000000' cursor false width 60 height 1 y { use('playlist').south(1) } x { use('playlist').left } centred false group 'player' end def self.start(args = []) Controller.new(args) Vedeu::Launcher.new(args).execute! rescue Errno::EMFILE puts "Playa does not support this number of files." puts "Please see https://github.com/gavinlaking/playa/issues/11" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
playa-0.0.14 | lib/playa/application.rb |
playa-0.0.13 | lib/playa/application.rb |