Class: Playa::StatusView

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

Instance Method Summary collapse

Instance Method Details

#renderObject



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

def render
  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 ' Select  ' }

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

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