Module Limelight
In: lib/limelight/animation.rb
lib/limelight/builtin/players/button.rb
lib/limelight/builtin/players/check_box.rb
lib/limelight/builtin/players/combo_box.rb
lib/limelight/builtin/players/combo_box_popup_list.rb
lib/limelight/builtin/players/combo_box_popup_list_item.rb
lib/limelight/builtin/players/curtains.rb
lib/limelight/builtin/players/image.rb
lib/limelight/builtin/players/password_box.rb
lib/limelight/builtin/players/radio_button.rb
lib/limelight/builtin/players/stage_mover.rb
lib/limelight/builtin/players/stage_sizer.rb
lib/limelight/builtin/players/text_area.rb
lib/limelight/builtin/players/text_box.rb
lib/limelight/button_group_cache.rb
lib/limelight/casting_director.rb
lib/limelight/commands/command.rb
lib/limelight/commands/create_command.rb
lib/limelight/commands/freeze_command.rb
lib/limelight/commands/help_command.rb
lib/limelight/commands/open_command.rb
lib/limelight/commands/pack_command.rb
lib/limelight/commands/unpack_command.rb
lib/limelight/commands/version_command.rb
lib/limelight/data.rb
lib/limelight/dsl/build_exception.rb
lib/limelight/dsl/menu_bar.rb
lib/limelight/dsl/prop_builder.rb
lib/limelight/dsl/stage_builder.rb
lib/limelight/dsl/styles_builder.rb
lib/limelight/file_chooser.rb
lib/limelight/file_filter.rb
lib/limelight/file_loader.rb
lib/limelight/gems.rb
lib/limelight/java_couplings.rb
lib/limelight/limelight_exception.rb
lib/limelight/main.rb
lib/limelight/paint_action.rb
lib/limelight/pen.rb
lib/limelight/producer.rb
lib/limelight/production.rb
lib/limelight/prop.rb
lib/limelight/scene.rb
lib/limelight/specs/spec_helper.rb
lib/limelight/specs/test_scene_opener.rb
lib/limelight/stage.rb
lib/limelight/studio.rb
lib/limelight/styles/style.rb
lib/limelight/templates/production_templater.rb
lib/limelight/templates/scene_templater.rb
lib/limelight/templates/templater.rb
lib/limelight/templates/templater_logger.rb
lib/limelight/theater.rb
lib/limelight/util/downloader.rb
lib/limelight/util.rb
lib/limelight/version.rb
lib/limelight.rb

Limelight

Simple UI Framework for Ruby

API

Where to start:

More Documentation

If you‘re not using it already, be sure to check out the Limelight Docs production. It‘s full of tutorials and examples that‘ll teach you everything you need to know to build your own Limelight productions.

Just install Limelight and let‘er rip.

Developing with Limelight

  jruby -S gem install gemcutter
  jruby -S gem tumble
  jruby -S gem install limelight

  jruby -S limelight create production my_first_production
  jruby -S limelight open my_first_production

Development on Limelight

  git clone git://github.com/slagyr/limelight.git
  cd limelight
  ant
  jruby -S rake init
  jruby -S rake tests

Try it out:

   bin/limelight open productions/examples/sandbox

License

Copyright 2008-2009 8th Light, Inc. All Rights Reserved. Limelight and all included source files are distributed under terms of the GNU LGPL.

Methods

Classes and Modules

Module Limelight::Background
Module Limelight::Builtin
Module Limelight::Commands
Module Limelight::DSL
Module Limelight::Gems
Module Limelight::Specs
Module Limelight::Templates
Class Limelight::Animation
Class Limelight::CastingDirector
Class Limelight::Data
Class Limelight::FileChooser
Class Limelight::FileFilter
Class Limelight::LimelightException
Class Limelight::Main
Class Limelight::Pen
Class Limelight::Producer
Class Limelight::Production
Class Limelight::Prop
Class Limelight::Recruiter
Class Limelight::Scene
Class Limelight::Stage
Class Limelight::Studio
Class Limelight::Theater

Constants

ButtonGroupCache = UI::ButtonGroupCache #:nodoc:
Main = Java::limelight.Main
ResourceLoader = Java::limelight.ResourceLoader
Context = Java::limelight.Context
Studio = Java::limelight.Studio

Public Class methods

A trigger to build a Limelight::Scene using the PropBuilder DSL.

See Limelight::PropBuilder

[Source]

    # File lib/limelight/dsl/prop_builder.rb, line 15
15:   def self.build_props(root, options={}, &block)
16:     loader = options.delete(:build_loader)
17:     instance_variables = options.delete(:instance_variables)
18:     root.add_options(options)
19:     builder = DSL::PropBuilder.new(root)
20:     builder.__install_instance_variables(instance_variables)
21:     builder.__loader__ = loader
22:     builder.instance_eval(&block) if block
23:     return root
24:   end

A trigger to build/configure Stage objects using the StageBuilder DSL.

See Limelight::Stagesbuilder, Limelight::Stagebuilder

[Source]

    # File lib/limelight/dsl/stage_builder.rb, line 13
13:   def self.build_stages(theater, &block)
14:     builder = DSL::StagesBuilder.new(theater)
15:     builder.instance_eval(&block) if block
16:     return builder.__stages__
17:   end

A trigger to define Style objects using the StyleBuilder DSL.

See Limelight::Stylesbuilder, Limelight::Stylebuilder

[Source]

    # File lib/limelight/dsl/styles_builder.rb, line 12
12:   def self.build_styles(extendable_styles = nil, &block)
13:     builder = DSL::StylesBuilder.new(extendable_styles)
14:     builder.instance_eval(&block) if block
15:     return builder.__styles
16:   end

[Source]

    # File lib/limelight/dsl/styles_builder.rb, line 18
18:   def self.build_styles_from_file(filename, extendable_styles = nil)
19:     content = IO.read(filename)
20:     styles = Limelight.build_styles(extendable_styles) do
21:       begin
22:         eval content
23:       rescue Exception => e
24:         raise Limelight::DSL::BuildException.new(filename, content, e)
25:       end
26:     end
27:     return styles
28:   end

[Validate]