limelight 0.6.14-java → 0.6.17-java

Sign up to get free protection for your applications and to get access to all the features.
Binary file
Binary file
@@ -9,7 +9,7 @@ module Limelight
9
9
  # Although, this object does not update the screen, it provides a means to perform sequential updates in evenly
10
10
  # spaced time frames.
11
11
  #
12
- class Animation < Limelight::Background::Animation
12
+ class Animation < Java::limelight.background.Animation
13
13
 
14
14
  # A Prop and block are required to construct an Animation. Options may include
15
15
  # 1. :name (string)
@@ -75,7 +75,7 @@ module Limelight
75
75
 
76
76
  def __add_style(name, &block) #:nodoc:
77
77
  style = @__styles[name]
78
- style = Styles::RichStyle.new if style == nil
78
+ style = Java::limelight.styles.RichStyle.new if style == nil
79
79
  builder = StyleBuilder.new(name, style, self)
80
80
  builder.instance_eval(&block) if block
81
81
  @__styles[name] = style
@@ -17,8 +17,6 @@ if Java::java.lang.System.getProperty("limelight.home").nil?
17
17
  Java::java.lang.System.setProperty("limelight.home", $LIMELIGHT_HOME)
18
18
  end
19
19
 
20
- require 'limelight/java_couplings'
21
-
22
20
  def log
23
21
  Java::limelight.Log
24
22
  end
@@ -9,7 +9,7 @@ module Limelight
9
9
  #
10
10
  class PaintAction #:nodoc:
11
11
 
12
- include UI::Painting::PaintAction
12
+ include Java::limelight.ui.painting.PaintAction
13
13
 
14
14
  attr_reader :block
15
15
 
@@ -29,7 +29,7 @@ module Limelight
29
29
  # a hex color value.
30
30
  #
31
31
  def color=(value)
32
- resolve_color = Util::Colors.resolve(value)
32
+ resolve_color = Java::limelight.util.Colors.resolve(value)
33
33
  @context.setColor(resolve_color)
34
34
  end
35
35
 
@@ -271,7 +271,7 @@ module Limelight
271
271
  #
272
272
  # link :text => "I am a link", :url => "http://www.8thlight.com"
273
273
  def launch(url)
274
- Context.instance.os.launch(url)
274
+ Java::limelight.Context.instance.os.launch(url)
275
275
  end
276
276
 
277
277
  # GUI Events ##########################################
@@ -94,7 +94,7 @@ module Limelight
94
94
  # Creates a new Producer to open the specified Production.
95
95
  #
96
96
  def open_production(production_path)
97
- Thread.new { Context.instance.studio.open(production_path) }
97
+ Thread.new { Java::limelight.Context.instance.studio.open(production_path) }
98
98
  end
99
99
 
100
100
  # Opens the specified Scene on the Stage currently occupied by this Scene.
@@ -234,7 +234,7 @@ module Limelight
234
234
  def alert(message)
235
235
  Thread.new do
236
236
  begin
237
- Context.instance.studio.utilities_production.alert(message)
237
+ Java::limelight.Context.instance.studio.utilities_production.alert(message)
238
238
  rescue StandardError => e
239
239
  puts "Error on alert: #{e}"
240
240
  end
@@ -1,7 +1,7 @@
1
1
  #- Copyright © 2008-2011 8th Light, Inc. All Rights Reserved.
2
2
  #- Limelight and all included source files are distributed under terms of the MIT License.
3
3
 
4
- raise "studio.rb is present solely to document it's Java counterpart limelight.Studio. This file should NOT be loaded in the Ruby runtime."
4
+ raise "studio.rb is present solely to document it's Java counterpart limelight.model.Studio. This file should NOT be loaded in the Ruby runtime."
5
5
 
6
6
  module Limelight
7
7
 
@@ -1,7 +1,7 @@
1
1
  #- Copyright © 2008-2011 8th Light, Inc. All Rights Reserved.
2
2
  #- Limelight and all included source files are distributed under terms of the MIT License.
3
3
 
4
- raise "studio.rb is present for solely to document it's Java counterpart limelight.Studio. This file should NOT be loaded in the Ruby runtime."
4
+ raise "style.rb is present for solely to document it's Java counterpart limelight.Style. This file should NOT be loaded in the Ruby runtime."
5
5
 
6
6
  module Limelight
7
7
  class Style
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: limelight
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.14
5
+ version: 0.6.17
6
6
  platform: java
7
7
  authors:
8
8
  - Micah Martin
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-07-17 00:00:00 Z
13
+ date: 2012-08-06 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -36,11 +36,9 @@ files:
36
36
  - bin/limelight
37
37
  - ruby/lib/limelight-rb.jar
38
38
  - ruby/lib/limelight.jar
39
- - ruby/lib/limelight.rb
40
39
  - ruby/lib/limelight/animation.rb
41
40
  - ruby/lib/limelight/file_chooser.rb
42
41
  - ruby/lib/limelight/file_filter.rb
43
- - ruby/lib/limelight/java_couplings.rb
44
42
  - ruby/lib/limelight/java_util.rb
45
43
  - ruby/lib/limelight/limelight_exception.rb
46
44
  - ruby/lib/limelight/limelight_init.rb
@@ -101,7 +99,7 @@ post_install_message:
101
99
  rdoc_options: []
102
100
 
103
101
  require_paths:
104
- - lib
102
+ - ruby/lib
105
103
  required_ruby_version: !ruby/object:Gem::Requirement
106
104
  none: false
107
105
  requirements:
@@ -117,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
115
  requirements: []
118
116
 
119
117
  rubyforge_project: limelight
120
- rubygems_version: 1.8.15
118
+ rubygems_version: 1.8.24
121
119
  signing_key:
122
120
  specification_version: 3
123
121
  summary: UI Framework for Ruby
@@ -1,48 +0,0 @@
1
- #- Copyright © 2008-2011 8th Light, Inc. All Rights Reserved.
2
- #- Limelight and all included source files are distributed under terms of the MIT License.
3
-
4
- require File.expand_path(File.dirname(__FILE__) + "/init")
5
-
6
- # = Limelight
7
- #
8
- # Simple UI Framework for Ruby
9
- #
10
- # == API
11
- #
12
- # Where to start:
13
- #
14
- # * Limelight::Main
15
- #
16
- # == More Documentation
17
- #
18
- # If you're not using it already, be sure to check out the Limelight Docs production. It's full of tutorials and examples
19
- # that'll teach you everything you need to know to build your own Limelight productions.
20
- #
21
- # Just install Limelight and let'er rip.
22
- #
23
- # == Developing with Limelight
24
- # jruby -S gem install gemcutter
25
- # jruby -S gem tumble
26
- # jruby -S gem install limelight
27
- #
28
- # jruby -S limelight create production my_first_production
29
- # jruby -S limelight open my_first_production
30
- #
31
- # == Development on Limelight
32
- # git clone git://github.com/slagyr/limelight.git
33
- # cd limelight
34
- # ant
35
- # jruby -S rake init
36
- # jruby -S rake tests
37
- #
38
- # Try it out:
39
- # bin/limelight open productions/examples/sandbox
40
- #
41
- # == License
42
- #
43
- # Copyright 2008-2009 8th Light, Inc. All Rights Reserved.
44
- # Limelight and all included source files are distributed under terms of the GNU LGPL.
45
- #
46
- module Limelight
47
-
48
- end
@@ -1,70 +0,0 @@
1
- #- Copyright © 2008-2011 8th Light, Inc. All Rights Reserved.
2
- #- Limelight and all included source files are distributed under terms of the MIT License.
3
-
4
- module Limelight
5
-
6
- About = Java::limelight.About
7
- Context = Java::limelight.Context
8
- Studio = Java::limelight.model.Studio
9
-
10
- module BuiltIn
11
- Styles = Java::limelight.builtin.BuiltInStyles
12
- end
13
-
14
- module Background
15
- Animation = Java::limelight.background.Animation
16
- end
17
-
18
- module Styles #:nodoc:
19
- Style = Java::limelight.styles.Style
20
- FlatStyle = Java::limelight.styles.FlatStyle
21
- RichStyle = Java::limelight.styles.RichStyle
22
- ScreenableStyle = Java::limelight.styles.ScreenableStyle
23
- end
24
-
25
- module Util #:nodoc:
26
- Colors = Java::limelight.util.Colors
27
- Version = Java::limelight.util.Version
28
- Debug = Java::limelight.util.Debug
29
- end
30
-
31
- module UI #:nodoc:
32
-
33
- ButtonGroupCache = Java::limelight.ui.ButtonGroupCache
34
-
35
- module Model #:nodoc:
36
- # Frame = Java::limelight.ui.model.Stage
37
- # PropPanel = Java::limelight.ui.model.PropPanel
38
- # ScenePanel = Java::limelight.ui.model.ScenePanel
39
- ImagePanel = Java::limelight.ui.model.ImagePanel
40
-
41
- module Inputs #:nodoc:
42
- ButtonPanel = Java::limelight.ui.model.inputs.ButtonPanel
43
- CheckBoxPanel = Java::limelight.ui.model.inputs.CheckBoxPanel
44
- DropDownPanel = Java::limelight.ui.model.inputs.DropDownPanel
45
- RadioButtonPanel = Java::limelight.ui.model.inputs.RadioButtonPanel
46
- TextAreaPanel = Java::limelight.ui.model.inputs.TextAreaPanel
47
- TextBoxPanel = Java::limelight.ui.model.inputs.TextBoxPanel
48
- end
49
- end
50
-
51
- module Api #:nodoc:
52
- # Scene = Java::limelight.ui.api.Scene
53
- # Prop = Java::limelight.ui.api.Prop
54
- # StageProxy = Java::limelight.ui.api.StageProxy
55
- # Theater = Java::limelight.ui.api.Theater
56
- # Production = Java::limelight.ui.api.Production
57
- end
58
-
59
- module Painting #:nodoc:
60
- PaintAction = Java::limelight.ui.painting.PaintAction
61
- end
62
-
63
- end
64
-
65
- module Util #:nodoc:
66
-
67
- Packer = Java::limelight.io.Packer
68
-
69
- end
70
- end