Sha256: 373519aeb4ccd51bc23449fbd23b17c4ab9b1856fc93f333ace673f003f59309

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

# frozen_string_literal: true

# Defines an interface.
#
Vedeu.interface '<%= object.name %>' do
  # Define the colour of the interface:
  #
  # background '#000000'
  # foreground '#ffffff'

  # Define the colour of the interface concisely:
  #
  # colour background: '#000000', foreground: '#ffffff'

  # Define whether the interface should have a cursor (can be
  # overridden by the view):
  #
  # cursor!    # => same as `cursor(true)`
  # no_cursor! # => same as `cursor(false)`

  # See Vedeu::DSL::Interface#delay
  # delay 1.0

  # Uncomment to indicate this interface as having focus at startup.
  # Note: If multiple interfaces are set to have focus on startup,
  #       the last defined will have focus.
  #
  # focus!

  # Define the group the interface belongs to. Allowing multiple
  # interfaces to be manipulated at once.
  #
  # group ''

  # Define visibility of the interface.
  #
  # hide!
  # show!

  # Define the default style for the interface, this affects all
  # characters in the interface unless overridden on a per-line,
  # per-stream or per-character basis.
  #
  # style :normal

  # Interfaces with a higher zindex will be display on top of
  # interfaces with a lower zindex.
  #
  # zindex 1
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vedeu_cli-0.0.10 lib/vedeu/cli/templates/application/app/views/interfaces/name.erb
vedeu_cli-0.0.9 lib/vedeu/cli/templates/application/app/views/interfaces/name.erb