require 'vedeu/support/common' require 'vedeu/support/terminal' require 'vedeu/output/renderers/all' require 'vedeu/events/all' require 'vedeu/models/all' require 'vedeu/input/all' require 'vedeu/dsl/components/all' require 'vedeu/dsl/composition' require 'vedeu/dsl/shared/all' require 'vedeu/dsl/group' require 'vedeu/dsl/view' module Vedeu # Provides the API to Vedeu. Methods therein, and classes belonging to this # module expose Vedeu's core functionality. # # These methods are used in a variety of ways, sometimes in combination: # # # with parameters # Vedeu.method_name(*params) # # # with a block # Vedeu.method_name(*params) do # # ... # end # # # with other methods # Vedeu.method_name.other_method # # @api public # module API extend Forwardable extend self # @!method borders # @see Vedeu::Borders.borders def_delegators Vedeu::Borders, :borders # @!method buffers # @see Vedeu::Buffers.buffers def_delegators Vedeu::Buffers, :buffers # @!method canvas # @see Vedeu::Canvas.canvas def_delegators Vedeu::Canvas, :canvas # @!method background_colours # @see Vedeu::BackgroundColours.background_colours def_delegators Vedeu::BackgroundColours, :background_colours # @!method foreground_colours # @see Vedeu::ForegroundColours.foreground_colours def_delegators Vedeu::ForegroundColours, :foreground_colours # @!method cursors # @see Vedeu::Cursors.cursors def_delegators Vedeu::Cursors, :cursors # @!method cursor # @see Vedeu::Cursors.cursor def_delegators Vedeu::Cursors, :cursor # @!method events # @see Vedeu::EventsRepository.events def_delegators Vedeu::EventsRepository, :events # @!method geometries # @see Vedeu::Geometries.geometries def_delegators Vedeu::Geometries, :geometries # @!method groups # @see Vedeu::Groups.groups def_delegators Vedeu::Groups, :groups # @!method interfaces # @see Vedeu::InterfacesRepository.interfaces def_delegators Vedeu::InterfacesRepository, :interfaces # @!method keymaps # @see Vedeu::Keymaps.keymaps def_delegators Vedeu::Keymaps, :keymaps # @!method keypress # @see Vedeu::Mapper.keypress def_delegators Vedeu::Mapper, :keypress # @!method menus # @see Vedeu::Menus.menus def_delegators Vedeu::Menus, :menus # @!method bind # @see Vedeu::Event.bind # @!method unbind # @see Vedeu::Event.unbind def_delegators Vedeu::Event, :bind, :unbind # @!method trigger # @see Vedeu::Trigger.trigger def_delegators Vedeu::Trigger, :trigger # @!method configure # @see Vedeu::Configuration.configure # @!method configuration # @see Vedeu::Configuration.configuration def_delegators Vedeu::Configuration, :configure, :configuration # @!method border # @see Vedeu::DSL::Border.border def_delegators Vedeu::DSL::Border, :border # @!method geometry # @see Vedeu::DSL::Geometry.geometry def_delegators Vedeu::DSL::Geometry, :geometry # @!method keymap # @see Vedeu::DSL::Keymap.keymap def_delegators Vedeu::DSL::Keymap, :keymap # @!method group # @see Vedeu::DSL::Group.group def_delegators Vedeu::DSL::Group, :group # @!method use # @see Vedeu::DSL::Use#use def_delegators Vedeu::DSL::Use, :use # @!method interface # @see Vedeu::DSL::View.interface # @!method renders # @see Vedeu::DSL::View.renders # @!method views # @see Vedeu::DSL::View.views def_delegators Vedeu::DSL::View, :interface, :renders, :views # @!method focus # @see Vedeu::Focus#focus # @!method focus_by_name # @see Vedeu::Focus#focus_by_name # @!method focussed? # @see Vedeu::Focus#focussed? # @!method focus_next # @see Vedeu::Focus#focus_next # @!method focus_previous # @see Vedeu::Focus#focus_previous def_delegators Vedeu::Focus, :focus, :focus_by_name, :focussed?, :focus_next, :focus_previous # @!method log # @see Vedeu::Log.log def_delegators Vedeu::Log, :log # @!method menu # @see Vedeu::Menu.menu def_delegators Vedeu::Menu, :menu # @!method height # @see Vedeu::Terminal#height # @!method width # @see Vedeu::Terminal#width # @!method resize # @see Vedeu::Terminal#resize def_delegators Vedeu::Terminal, :height, :width, :resize # @!method renderer # @see Vedeu::Renderers#renderer # @!method renderers # @see Vedeu::Renderers#renderers def_delegators Vedeu::Renderers, :renderer, :renderers end # API extend API end # Vedeu