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.
- data/ruby/lib/limelight-rb.jar +0 -0
- data/ruby/lib/limelight.jar +0 -0
- data/ruby/lib/limelight/animation.rb +1 -1
- data/ruby/lib/limelight/dsl/styles_builder.rb +1 -1
- data/ruby/lib/limelight/limelight_init.rb +0 -2
- data/ruby/lib/limelight/paint_action.rb +1 -1
- data/ruby/lib/limelight/pen.rb +1 -1
- data/ruby/lib/limelight/prop.rb +1 -1
- data/ruby/lib/limelight/scene.rb +1 -1
- data/ruby/lib/limelight/stage.rb +1 -1
- data/ruby/lib/limelight/studio.rb +1 -1
- data/ruby/lib/limelight/style.rb +1 -1
- metadata +4 -6
- data/ruby/lib/limelight.rb +0 -48
- data/ruby/lib/limelight/java_couplings.rb +0 -70
data/ruby/lib/limelight-rb.jar
CHANGED
Binary file
|
data/ruby/lib/limelight.jar
CHANGED
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 <
|
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 =
|
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
|
data/ruby/lib/limelight/pen.rb
CHANGED
data/ruby/lib/limelight/prop.rb
CHANGED
@@ -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 ##########################################
|
data/ruby/lib/limelight/scene.rb
CHANGED
@@ -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.
|
data/ruby/lib/limelight/stage.rb
CHANGED
@@ -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
|
|
data/ruby/lib/limelight/style.rb
CHANGED
@@ -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 "
|
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.
|
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-
|
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.
|
118
|
+
rubygems_version: 1.8.24
|
121
119
|
signing_key:
|
122
120
|
specification_version: 3
|
123
121
|
summary: UI Framework for Ruby
|
data/ruby/lib/limelight.rb
DELETED
@@ -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
|