Sha256: 02ea6330e6eedcab1f5fa47d88ac6bc1a8a2678bf222bd6905feb3d640ce0e48

Contents?: true

Size: 587 Bytes

Versions: 6

Compression:

Stored size: 587 Bytes

Contents

#!/usr/bin/env ruby

lib_dir = File.dirname(__FILE__) + '/../lib'
$LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)

require 'vedeu'

class VedeuColoursApp
  include Vedeu

  configure do
    colour_mode 16777216
    debug!
    log '/tmp/vedeu_colours_app.log'
  end

  bind(:_initialize_) { Vedeu.trigger(:_refresh_) }

  interface 'colours' do
    geometry do
      centred!
      height 8
      width  8
    end
    colour foreground: '#000000', background: '#000000'
  end

  renders do
    view('colours') do
      border!
      lines do

      end
    end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vedeu-0.4.11 examples/colours_app.rb
vedeu-0.4.10 examples/colours_app.rb
vedeu-0.4.9 examples/colours_app.rb
vedeu-0.4.8 examples/colours_app.rb
vedeu-0.4.7 examples/colours_app.rb
vedeu-0.4.6 examples/colours_app.rb