lib/playa.rb in playa-0.0.10 vs lib/playa.rb in playa-0.0.11
- old
+ new
@@ -2,11 +2,10 @@
require 'vedeu'
require 'playa/track'
require 'playa/track_collection'
require 'playa/player'
-require 'playa/view'
require 'playa/controller'
module Playa
class Application
include Vedeu
@@ -22,22 +21,22 @@
interface 'progress' do
colour foreground: '#005aff', background: '#000000'
cursor false
width 60
height 1
- y playlist.geometry.top - 2
- x playlist.geometry.left
+ y playlist.north(2)
+ x playlist.left
centred false
delay 1.0
end
interface 'status' do
colour foreground: '#d70000', background: '#000000'
cursor false
width 60
height 1
- y playlist.geometry.bottom + 1
- x playlist.geometry.left
+ y playlist.south(1)
+ x playlist.left
centred false
end
def self.start(args = [])
Controller.new(args)