Sha256: be20d7f99e534d0274183146ccf84ce9d4aa92d035b5162baa17181aed3eb54d

Contents?: true

Size: 656 Bytes

Versions: 3

Compression:

Stored size: 656 Bytes

Contents

module Playa
  class StatusView < Vedeu::View
    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
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
playa-0.0.15 lib/playa/views/status_view.rb
playa-0.0.14 lib/playa/views/status_view.rb
playa-0.0.13 lib/playa/views/status_view.rb