Class: Playa::StatusView

Inherits:
Object
  • Object
show all
Includes:
Vedeu
Defined in:
lib/playa/views/status_view.rb

Instance Method Summary collapse

Instance Method Details

#showObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/playa/views/status_view.rb', line 5

def show
  render do
    view 'status' do
      line do
        foreground('#ff0000') { text " \u{25B2}" }
        foreground('#ffffff') { text ' Prev  ' }

        foreground('#ff0000') { text "\u{25BC}" }
        foreground('#ffffff') { text ' Next  ' }

        foreground('#ff0000') { text "\u{21B2}" }
        foreground('#ffffff') { text ' Play  ' }

        foreground('#ff0000') { text "\u{2395}" }
        foreground('#ffffff') { text ' Pause  ' }

        foreground('#ff0000') { text 'Q' }
        foreground('#ffffff') { text ' Quit  ' }
      end
    end
  end
end