epall-limelight 0.5.1-java → 0.5.2-java
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/init.rb +2 -6
- data/lib/limelight.jar +0 -0
- data/lib/limelight/builtin/utilities_production/alert/players/alert.rb +4 -1
- data/lib/limelight/builtin/utilities_production/production.rb +6 -2
- data/lib/limelight/commands/create_command.rb +1 -1
- data/lib/limelight/commands/open_command.rb +4 -4
- data/lib/limelight/dsl/styles_builder.rb +5 -0
- data/lib/limelight/java_couplings.rb +3 -2
- data/lib/limelight/limelight_init.rb +12 -0
- data/lib/limelight/main.rb +43 -46
- data/lib/limelight/producer.rb +54 -13
- data/lib/limelight/production.rb +34 -7
- data/lib/limelight/scene.rb +1 -1
- data/lib/limelight/specs/spec_helper.rb +1 -1
- data/lib/limelight/specs/test_scene_opener.rb +3 -0
- data/lib/limelight/stage.rb +65 -5
- data/lib/limelight/studio.rb +28 -159
- data/lib/limelight/styles/style.rb +288 -0
- data/lib/limelight/theater.rb +27 -2
- data/lib/limelight/version.rb +2 -2
- data/productions/examples/sandbox/alerts/players/alerts.rb +1 -1
- data/productions/examples/sandbox/stage_handles/players/sizer.rb +3 -0
- data/spec/limelight/builtin/players/combo_box_spec.rb +1 -1
- data/spec/limelight/builtin/players/radio_button_spec.rb +1 -1
- data/spec/limelight/builtin/utilities_production/utilities_production_spec.rb +39 -38
- data/spec/limelight/casting_director_spec.rb +1 -1
- data/spec/limelight/commands/create_command_spec.rb +4 -4
- data/spec/limelight/commands/open_command_spec.rb +5 -4
- data/spec/limelight/commands/pack_command_spec.rb +1 -1
- data/spec/limelight/commands/unpack_command_spec.rb +1 -1
- data/spec/limelight/dsl/prop_builder_spec.rb +6 -6
- data/spec/limelight/dsl/stage_builder_spec.rb +1 -1
- data/spec/limelight/file_chooser_spec.rb +1 -1
- data/spec/limelight/file_filter_spec.rb +2 -2
- data/spec/limelight/main_spec.rb +2 -2
- data/spec/limelight/paint_action_spec.rb +1 -1
- data/spec/limelight/pen_spec.rb +1 -1
- data/spec/limelight/producer_spec.rb +30 -11
- data/spec/limelight/production_spec.rb +12 -20
- data/spec/limelight/prop_spec.rb +2 -2
- data/spec/limelight/scene_spec.rb +1 -1
- data/spec/limelight/stage_spec.rb +51 -6
- data/spec/limelight/templates/templater_spec.rb +1 -1
- data/spec/limelight/theater_spec.rb +49 -1
- data/spec/spec_helper.rb +0 -6
- metadata +5 -7
- data/lib/limelight/client/playbills.rb +0 -86
- data/lib/limelight/styles.rb +0 -347
- data/spec/limelight/client/playbills_spec.rb +0 -79
- data/spec/limelight/studio_spec.rb +0 -157
@@ -7,8 +7,9 @@ require 'limelight/production'
|
|
7
7
|
describe Limelight::Production, "Instance methods" do
|
8
8
|
|
9
9
|
before(:each) do
|
10
|
-
@producer =
|
11
|
-
@theater =
|
10
|
+
@producer = mock("producer")
|
11
|
+
@theater = mock("theater")
|
12
|
+
@studio = Limelight::Studio.install
|
12
13
|
@production = Limelight::Production.new("/tmp")
|
13
14
|
@production.producer = @producer
|
14
15
|
@production.theater = @theater
|
@@ -20,20 +21,6 @@ describe Limelight::Production, "Instance methods" do
|
|
20
21
|
@production.path.should == "/tmp"
|
21
22
|
end
|
22
23
|
|
23
|
-
it "should be indexed" do
|
24
|
-
Limelight::Studio.index(@production)
|
25
|
-
Limelight::Studio[@production.name].should == @production
|
26
|
-
end
|
27
|
-
|
28
|
-
it "should raise an error when setting the name to a duplicate name" do
|
29
|
-
@production.name = "Bill"
|
30
|
-
Limelight::Studio.index(@production)
|
31
|
-
|
32
|
-
production = Limelight::Production.new("/tmp")
|
33
|
-
Limelight::Studio.index(production)
|
34
|
-
lambda { production.name = "Bill" }.should raise_error(Limelight::LimelightException, "Production name 'Bill' is already taken")
|
35
|
-
end
|
36
|
-
|
37
24
|
it "should get it's name from the file" do
|
38
25
|
Limelight::Production.new("/tmp").name.should == "tmp"
|
39
26
|
Limelight::Production.new("/Somewhere/over/the/rainbow").name.should == "rainbow"
|
@@ -70,14 +57,19 @@ describe Limelight::Production, "Instance methods" do
|
|
70
57
|
@production.allow_close?.should == true
|
71
58
|
end
|
72
59
|
|
73
|
-
it "should tell
|
74
|
-
@
|
75
|
-
Limelight::Studio.should_receive(:production_closed).with(@production)
|
76
|
-
@production.should_receive(:production_closed)
|
60
|
+
it "should tell producer to do the closing" do
|
61
|
+
@producer.should_receive(:close).with(@production)
|
77
62
|
|
78
63
|
@production.close
|
79
64
|
end
|
80
65
|
|
66
|
+
it "should handle empty theater" do
|
67
|
+
@production.should_receive(:allow_close?).at_least(1).and_return(true)
|
68
|
+
@production.should_receive(:close)
|
69
|
+
|
70
|
+
@production.theater_empty!
|
71
|
+
end
|
72
|
+
|
81
73
|
describe "with files" do
|
82
74
|
|
83
75
|
after(:each) do
|
data/spec/limelight/prop_spec.rb
CHANGED
@@ -10,7 +10,7 @@ require 'limelight/production'
|
|
10
10
|
describe Limelight::Prop do
|
11
11
|
|
12
12
|
before(:each) do
|
13
|
-
@casting_director =
|
13
|
+
@casting_director = mock("casting_director", :fill_cast => nil)
|
14
14
|
@scene = Limelight::Scene.new(:casting_director => @casting_director)
|
15
15
|
@prop = Limelight::Prop.new(:id => "root", :name => "root_class")
|
16
16
|
@scene.illuminate
|
@@ -249,7 +249,7 @@ describe Limelight::Prop do
|
|
249
249
|
end
|
250
250
|
|
251
251
|
it "should give you a pen" do
|
252
|
-
graphics =
|
252
|
+
graphics = mock("graphics", :setColor => nil, :setStroke => nil, :setRenderingHint => nil)
|
253
253
|
@prop.panel.should_receive(:getGraphics).and_return(graphics)
|
254
254
|
|
255
255
|
pen = @prop.pen
|
@@ -8,7 +8,7 @@ require 'limelight/dsl/styles_builder'
|
|
8
8
|
describe Limelight::Scene do
|
9
9
|
|
10
10
|
before(:each) do
|
11
|
-
@casting_director =
|
11
|
+
@casting_director = mock("casting_director", :fill_cast => nil)
|
12
12
|
@scene = Limelight::Scene.new(:casting_director => @casting_director)
|
13
13
|
end
|
14
14
|
|
@@ -5,12 +5,12 @@ require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
|
5
5
|
require 'limelight/stage'
|
6
6
|
require 'limelight/scene'
|
7
7
|
require 'limelight/theater'
|
8
|
-
require 'limelight/studio'
|
9
8
|
|
10
9
|
describe Limelight::Stage do
|
11
10
|
|
12
11
|
before(:each) do
|
13
|
-
@
|
12
|
+
@production = mock("production")
|
13
|
+
@theater = Limelight::Theater.new(@production)
|
14
14
|
@stage = @theater.add_stage("George")
|
15
15
|
@stage.should_remain_hidden = true
|
16
16
|
Limelight::Context.instance.frameManager = Java::limelight.ui.model.InertFrameManager.new
|
@@ -125,8 +125,34 @@ describe Limelight::Stage do
|
|
125
125
|
@stage.frame.isVital.should == false
|
126
126
|
end
|
127
127
|
|
128
|
+
it "should notify theater when activated" do
|
129
|
+
@theater.should_receive(:stage_activated).with(@stage)
|
130
|
+
@stage.activated(nil)
|
131
|
+
end
|
132
|
+
|
133
|
+
it "should respond to stage events" do
|
134
|
+
e = mock("window event")
|
135
|
+
@theater.stub!(:stage_deactivated)
|
136
|
+
@theater.stub!(:stage_closed)
|
137
|
+
|
138
|
+
@stage.activated(e)
|
139
|
+
@stage.deactivated(e)
|
140
|
+
@stage.iconified(e)
|
141
|
+
@stage.deiconified(e)
|
142
|
+
@stage.closing(e)
|
143
|
+
@stage.closed(e)
|
144
|
+
end
|
145
|
+
|
146
|
+
it "should notify theater upon deactivation" do
|
147
|
+
@theater.should_receive(:stage_deactivated).with(@stage)
|
148
|
+
@stage.deactivated(nil)
|
149
|
+
end
|
150
|
+
|
128
151
|
describe "when opening a scene" do
|
152
|
+
|
129
153
|
before(:each) do
|
154
|
+
@production.stub!(:theater_empty!)
|
155
|
+
Limelight::Studio.install
|
130
156
|
@scene = Limelight::Scene.new
|
131
157
|
@scene.stub!(:illuminate)
|
132
158
|
end
|
@@ -173,25 +199,44 @@ describe Limelight::Stage do
|
|
173
199
|
@stage.open(@scene)
|
174
200
|
end
|
175
201
|
|
176
|
-
it "should
|
177
|
-
@stage.
|
202
|
+
it "should close by closing the frame" do
|
203
|
+
@stage.frame.should_receive(:close)
|
178
204
|
|
179
205
|
@stage.close
|
206
|
+
end
|
207
|
+
|
208
|
+
it "should clean when closed" do
|
209
|
+
@stage.open(@scene)
|
210
|
+
|
211
|
+
@stage.closed(nil)
|
180
212
|
|
181
213
|
@scene.visible?.should == false
|
182
214
|
@stage.current_scene.should == nil
|
183
215
|
end
|
184
216
|
|
217
|
+
it "should clean up when replacing scene" do
|
218
|
+
@stage.open(@scene)
|
219
|
+
new_scene = Limelight::Scene.new(:name => "new scene")
|
220
|
+
new_scene.stub!(:illuminate)
|
221
|
+
|
222
|
+
@stage.open(new_scene)
|
223
|
+
|
224
|
+
@scene.visible?.should == false
|
225
|
+
@stage.current_scene.should == new_scene
|
226
|
+
end
|
227
|
+
|
185
228
|
it "should be removed from the theater when closed" do
|
186
229
|
@stage.open(@scene)
|
187
230
|
@theater["George"].should be(@stage)
|
188
231
|
|
189
|
-
@stage.
|
232
|
+
@stage.closed(nil)
|
190
233
|
@theater["George"].should == nil
|
191
234
|
end
|
192
235
|
|
193
236
|
it "should open an alert" do
|
194
|
-
|
237
|
+
utilities_production = mock("utilities_production")
|
238
|
+
Limelight::Context.instance.studio.should_receive(:utilities_production).and_return(utilities_production)
|
239
|
+
utilities_production.should_receive(:alert).with("Some Message")
|
195
240
|
|
196
241
|
@stage.alert("Some Message")
|
197
242
|
sleep(0.01)
|
@@ -9,7 +9,7 @@ describe Limelight::Templates::Templater do
|
|
9
9
|
before(:each) do
|
10
10
|
TestDir.clean
|
11
11
|
@src_dir = File.join(TestDir.root, "src")
|
12
|
-
@logger =
|
12
|
+
@logger = mock("logger")
|
13
13
|
@templater = Limelight::Templates::Templater.new(TestDir.root, @src_dir)
|
14
14
|
@templater.logger = @logger
|
15
15
|
end
|
@@ -8,7 +8,8 @@ require 'limelight/stage'
|
|
8
8
|
describe Limelight::Theater do
|
9
9
|
|
10
10
|
before(:each) do
|
11
|
-
@
|
11
|
+
@production = mock("production", :theater_empty! => nil)
|
12
|
+
@theater = Limelight::Theater.new(@production)
|
12
13
|
@stage = @theater.add_stage("default")
|
13
14
|
end
|
14
15
|
|
@@ -69,4 +70,51 @@ describe Limelight::Theater do
|
|
69
70
|
@theater.active_stage.should == nil
|
70
71
|
end
|
71
72
|
|
73
|
+
it "should notify the production when all the stages are closed" do
|
74
|
+
@production.should_receive(:theater_empty!)
|
75
|
+
|
76
|
+
@theater.stage_closed(@stage)
|
77
|
+
end
|
78
|
+
|
79
|
+
it "should close" do
|
80
|
+
stage2 = @theater.add_stage("two")
|
81
|
+
stage3 = @theater.add_stage("three")
|
82
|
+
@theater.stage_activated(stage3)
|
83
|
+
stage2.should_receive(:close)
|
84
|
+
stage3.should_receive(:close)
|
85
|
+
|
86
|
+
@theater.close
|
87
|
+
|
88
|
+
@theater.stages.length.should == 0
|
89
|
+
@theater.active_stage.should == nil
|
90
|
+
end
|
91
|
+
|
92
|
+
it "should deactivate stages" do
|
93
|
+
stage2 = @theater.add_stage("two")
|
94
|
+
@theater.stage_activated(@stage)
|
95
|
+
@theater.stage_deactivated(@stage)
|
96
|
+
@theater.active_stage.should == nil
|
97
|
+
|
98
|
+
@theater.stage_activated(stage2)
|
99
|
+
@theater.stage_deactivated(@stage) # this is not the active stage
|
100
|
+
@theater.active_stage.should == nil # clear active stage since this implies that stage2 was not really active.
|
101
|
+
end
|
102
|
+
|
103
|
+
it "should notify the production that all the stages are hidden when a stage is closed" do
|
104
|
+
stage2 = @theater.add_stage("two")
|
105
|
+
stage2.hide
|
106
|
+
|
107
|
+
@production.should_receive(:theater_empty!)
|
108
|
+
@theater.stage_closed(@stage)
|
109
|
+
end
|
110
|
+
|
111
|
+
it "should notify the production that all the stages are hidden when a stage is deactivated" do
|
112
|
+
stage2 = @theater.add_stage("two")
|
113
|
+
stage2.hide
|
114
|
+
@stage.hide
|
115
|
+
|
116
|
+
@production.should_receive(:theater_empty!)
|
117
|
+
@theater.stage_deactivated(@stage)
|
118
|
+
end
|
119
|
+
|
72
120
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -9,12 +9,6 @@ Limelight::Main.new.configureTestContext
|
|
9
9
|
context = Limelight::Context.instance
|
10
10
|
context.frameManager = Java::limelight.ui.model.InertFrameManager.new
|
11
11
|
|
12
|
-
def make_mock(name, stubs = {})
|
13
|
-
the_mock = mock(name)
|
14
|
-
the_mock.stubs!(stubs)
|
15
|
-
return the_mock
|
16
|
-
end
|
17
|
-
|
18
12
|
class Object
|
19
13
|
def stubs!(stubs = {})
|
20
14
|
stubs.each_pair { |key, value| self.stub!(key).and_return(value) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epall-limelight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Eric Allen
|
@@ -9,7 +9,7 @@ autorequire: init
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-29 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -50,7 +50,6 @@ files:
|
|
50
50
|
- lib/limelight/builtin/utilities_production/styles.rb
|
51
51
|
- lib/limelight/button_group_cache.rb
|
52
52
|
- lib/limelight/casting_director.rb
|
53
|
-
- lib/limelight/client/playbills.rb
|
54
53
|
- lib/limelight/commands/command.rb
|
55
54
|
- lib/limelight/commands/create_command.rb
|
56
55
|
- lib/limelight/commands/freeze_command.rb
|
@@ -72,6 +71,7 @@ files:
|
|
72
71
|
- lib/limelight/java_couplings.rb
|
73
72
|
- lib/limelight/java_util.rb
|
74
73
|
- lib/limelight/limelight_exception.rb
|
74
|
+
- lib/limelight/limelight_init.rb
|
75
75
|
- lib/limelight/main.rb
|
76
76
|
- lib/limelight/paint_action.rb
|
77
77
|
- lib/limelight/pen.rb
|
@@ -84,7 +84,7 @@ files:
|
|
84
84
|
- lib/limelight/stage.rb
|
85
85
|
- lib/limelight/string.rb
|
86
86
|
- lib/limelight/studio.rb
|
87
|
-
- lib/limelight/styles.rb
|
87
|
+
- lib/limelight/styles/style.rb
|
88
88
|
- lib/limelight/templates/production_templater.rb
|
89
89
|
- lib/limelight/templates/scene_templater.rb
|
90
90
|
- lib/limelight/templates/sources/freezing/limelight_init.rb.template
|
@@ -116,7 +116,6 @@ files:
|
|
116
116
|
- spec/limelight/builtin/utilities_production/spec_helper.rb
|
117
117
|
- spec/limelight/builtin/utilities_production/utilities_production_spec.rb
|
118
118
|
- spec/limelight/casting_director_spec.rb
|
119
|
-
- spec/limelight/client/playbills_spec.rb
|
120
119
|
- spec/limelight/commands/command_spec.rb
|
121
120
|
- spec/limelight/commands/create_command_spec.rb
|
122
121
|
- spec/limelight/commands/freeze_command_spec.rb
|
@@ -142,7 +141,6 @@ files:
|
|
142
141
|
- spec/limelight/scene_spec.rb
|
143
142
|
- spec/limelight/stage_spec.rb
|
144
143
|
- spec/limelight/string_spec.rb
|
145
|
-
- spec/limelight/studio_spec.rb
|
146
144
|
- spec/limelight/styles_spec.rb
|
147
145
|
- spec/limelight/templates/production_templater_spec.rb
|
148
146
|
- spec/limelight/templates/scene_templater_spec.rb
|
@@ -331,6 +329,6 @@ rubyforge_project: limelight
|
|
331
329
|
rubygems_version: 1.3.5
|
332
330
|
signing_key:
|
333
331
|
specification_version: 3
|
334
|
-
summary: Limelight-0.5.
|
332
|
+
summary: Limelight-0.5.2 - Limelight http://limelight.8thlight.com
|
335
333
|
test_files: []
|
336
334
|
|
@@ -1,86 +0,0 @@
|
|
1
|
-
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
2
|
-
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
3
|
-
|
4
|
-
require 'rexml/document'
|
5
|
-
require 'uri'
|
6
|
-
require 'net/http'
|
7
|
-
|
8
|
-
module Limelight
|
9
|
-
module Client
|
10
|
-
|
11
|
-
class Playbills
|
12
|
-
|
13
|
-
def self.from_xml(xml, uri=nil)
|
14
|
-
playbills = []
|
15
|
-
doc = REXML::Document.new(xml)
|
16
|
-
doc.root.each_element do |playbill_element|
|
17
|
-
playbills << Playbill.from_element(playbill_element, uri)
|
18
|
-
end
|
19
|
-
return playbills
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.from_url(url)
|
23
|
-
uri = URI.parse(url)
|
24
|
-
response = Net::HTTP.get_response(uri)
|
25
|
-
return from_xml(response.body, uri)
|
26
|
-
end
|
27
|
-
|
28
|
-
end
|
29
|
-
|
30
|
-
class Playbill
|
31
|
-
|
32
|
-
def self.from_element(element, uri=nil)
|
33
|
-
playbill = Playbill.new(uri)
|
34
|
-
playbill.populate_from_element(element)
|
35
|
-
return playbill
|
36
|
-
end
|
37
|
-
|
38
|
-
def populate_from_element(element)
|
39
|
-
element.each_element do |element|
|
40
|
-
name = element.name.gsub("-", "_")
|
41
|
-
setter_sym = "#{name}=".to_sym
|
42
|
-
self.send(setter_sym, coerce_value(element))
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
attr_accessor :author, :created_at, :description, :id, :name, :size, :title, :updated_at, :version, :llp_path, :thumbnail_path
|
47
|
-
attr_reader :uri
|
48
|
-
|
49
|
-
def initialize(uri=nil)
|
50
|
-
@uri = uri
|
51
|
-
end
|
52
|
-
|
53
|
-
def thumbnail
|
54
|
-
return pull(thumbnail_path)
|
55
|
-
end
|
56
|
-
|
57
|
-
def llp
|
58
|
-
return pull(llp_path)
|
59
|
-
end
|
60
|
-
|
61
|
-
private #############################################
|
62
|
-
|
63
|
-
def coerce_value(element)
|
64
|
-
value = element.text
|
65
|
-
type_attribute = element.attribute("type")
|
66
|
-
return value if type_attribute.nil?
|
67
|
-
case type_attribute.value
|
68
|
-
when "datetime"
|
69
|
-
value = DateTime.parse(value)
|
70
|
-
when "integer"
|
71
|
-
value = value.to_i
|
72
|
-
end
|
73
|
-
return value
|
74
|
-
end
|
75
|
-
|
76
|
-
def pull(path)
|
77
|
-
new_uri = uri.dup
|
78
|
-
new_uri.path = path
|
79
|
-
response = Net::HTTP.get_response(new_uri)
|
80
|
-
return response.body
|
81
|
-
end
|
82
|
-
|
83
|
-
end
|
84
|
-
|
85
|
-
end
|
86
|
-
end
|
data/lib/limelight/styles.rb
DELETED
@@ -1,347 +0,0 @@
|
|
1
|
-
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
2
|
-
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
3
|
-
|
4
|
-
module Limelight
|
5
|
-
|
6
|
-
# This module is for reference only. The Style class is a java class for various reasons.
|
7
|
-
#
|
8
|
-
module Styles
|
9
|
-
# Specifies the Width of a prop.
|
10
|
-
#
|
11
|
-
# style.width = <value>
|
12
|
-
#
|
13
|
-
Width = Limelight::Styles::Style::STYLE_LIST.get(0)
|
14
|
-
|
15
|
-
# Specifies the Height of a prop.
|
16
|
-
#
|
17
|
-
# style.height = <value>
|
18
|
-
#
|
19
|
-
Height = Limelight::Styles::Style::STYLE_LIST.get(1)
|
20
|
-
|
21
|
-
# Specifies the Min Width of a prop.
|
22
|
-
#
|
23
|
-
# style.min_width = <value>
|
24
|
-
#
|
25
|
-
MinWidth = Limelight::Styles::Style::STYLE_LIST.get(2)
|
26
|
-
|
27
|
-
# Specifies the Min Height of a prop.
|
28
|
-
#
|
29
|
-
# style.min_height = <value>
|
30
|
-
#
|
31
|
-
MinHeight = Limelight::Styles::Style::STYLE_LIST.get(3)
|
32
|
-
|
33
|
-
# Specifies the Max Width of a prop.
|
34
|
-
#
|
35
|
-
# style.max_width = <value>
|
36
|
-
#
|
37
|
-
MaxWidth = Limelight::Styles::Style::STYLE_LIST.get(4)
|
38
|
-
|
39
|
-
# Specifies the Max Height of a prop.
|
40
|
-
#
|
41
|
-
# style.max_height = <value>
|
42
|
-
#
|
43
|
-
MaxHeight = Limelight::Styles::Style::STYLE_LIST.get(5)
|
44
|
-
|
45
|
-
# Specifies the Vertical Scrollbar of a prop.
|
46
|
-
#
|
47
|
-
# style.vertical_scrollbar = <value>
|
48
|
-
#
|
49
|
-
VerticalScrollbar = Limelight::Styles::Style::STYLE_LIST.get(6)
|
50
|
-
|
51
|
-
# Specifies the Horizontal Scrollbar of a prop.
|
52
|
-
#
|
53
|
-
# style.horizontal_scrollbar = <value>
|
54
|
-
#
|
55
|
-
HorizontalScrollbar = Limelight::Styles::Style::STYLE_LIST.get(7)
|
56
|
-
|
57
|
-
# Specifies the Top Border Color of a prop.
|
58
|
-
#
|
59
|
-
# style.top_border_color = <value>
|
60
|
-
#
|
61
|
-
TopBorderColor = Limelight::Styles::Style::STYLE_LIST.get(8)
|
62
|
-
|
63
|
-
# Specifies the Right Border Color of a prop.
|
64
|
-
#
|
65
|
-
# style.right_border_color = <value>
|
66
|
-
#
|
67
|
-
RightBorderColor = Limelight::Styles::Style::STYLE_LIST.get(9)
|
68
|
-
|
69
|
-
# Specifies the Bottom Border Color of a prop.
|
70
|
-
#
|
71
|
-
# style.bottom_border_color = <value>
|
72
|
-
#
|
73
|
-
BottomBorderColor = Limelight::Styles::Style::STYLE_LIST.get(10)
|
74
|
-
|
75
|
-
# Specifies the Left Border Color of a prop.
|
76
|
-
#
|
77
|
-
# style.left_border_color = <value>
|
78
|
-
#
|
79
|
-
LeftBorderColor = Limelight::Styles::Style::STYLE_LIST.get(11)
|
80
|
-
|
81
|
-
# Specifies the Top Border Width of a prop.
|
82
|
-
#
|
83
|
-
# style.top_border_width = <value>
|
84
|
-
#
|
85
|
-
TopBorderWidth = Limelight::Styles::Style::STYLE_LIST.get(12)
|
86
|
-
|
87
|
-
# Specifies the Right Border Width of a prop.
|
88
|
-
#
|
89
|
-
# style.right_border_width = <value>
|
90
|
-
#
|
91
|
-
RightBorderWidth = Limelight::Styles::Style::STYLE_LIST.get(13)
|
92
|
-
|
93
|
-
# Specifies the Bottom Border Width of a prop.
|
94
|
-
#
|
95
|
-
# style.bottom_border_width = <value>
|
96
|
-
#
|
97
|
-
BottomBorderWidth = Limelight::Styles::Style::STYLE_LIST.get(14)
|
98
|
-
|
99
|
-
# Specifies the Left Border Width of a prop.
|
100
|
-
#
|
101
|
-
# style.left_border_width = <value>
|
102
|
-
#
|
103
|
-
LeftBorderWidth = Limelight::Styles::Style::STYLE_LIST.get(15)
|
104
|
-
|
105
|
-
# Specifies the Top Margin of a prop.
|
106
|
-
#
|
107
|
-
# style.top_margin = <value>
|
108
|
-
#
|
109
|
-
TopMargin = Limelight::Styles::Style::STYLE_LIST.get(16)
|
110
|
-
|
111
|
-
# Specifies the Right Margin of a prop.
|
112
|
-
#
|
113
|
-
# style.right_margin = <value>
|
114
|
-
#
|
115
|
-
RightMargin = Limelight::Styles::Style::STYLE_LIST.get(17)
|
116
|
-
|
117
|
-
# Specifies the Bottom Margin of a prop.
|
118
|
-
#
|
119
|
-
# style.bottom_margin = <value>
|
120
|
-
#
|
121
|
-
BottomMargin = Limelight::Styles::Style::STYLE_LIST.get(18)
|
122
|
-
|
123
|
-
# Specifies the Left Margin of a prop.
|
124
|
-
#
|
125
|
-
# style.left_margin = <value>
|
126
|
-
#
|
127
|
-
LeftMargin = Limelight::Styles::Style::STYLE_LIST.get(19)
|
128
|
-
|
129
|
-
# Specifies the Top Padding of a prop.
|
130
|
-
#
|
131
|
-
# style.top_padding = <value>
|
132
|
-
#
|
133
|
-
TopPadding = Limelight::Styles::Style::STYLE_LIST.get(20)
|
134
|
-
|
135
|
-
# Specifies the Right Padding of a prop.
|
136
|
-
#
|
137
|
-
# style.right_padding = <value>
|
138
|
-
#
|
139
|
-
RightPadding = Limelight::Styles::Style::STYLE_LIST.get(21)
|
140
|
-
|
141
|
-
# Specifies the Bottom Padding of a prop.
|
142
|
-
#
|
143
|
-
# style.bottom_padding = <value>
|
144
|
-
#
|
145
|
-
BottomPadding = Limelight::Styles::Style::STYLE_LIST.get(22)
|
146
|
-
|
147
|
-
# Specifies the Left Padding of a prop.
|
148
|
-
#
|
149
|
-
# style.left_padding = <value>
|
150
|
-
#
|
151
|
-
LeftPadding = Limelight::Styles::Style::STYLE_LIST.get(23)
|
152
|
-
|
153
|
-
# Specifies the Background Color of a prop.
|
154
|
-
#
|
155
|
-
# style.background_color = <value>
|
156
|
-
#
|
157
|
-
BackgroundColor = Limelight::Styles::Style::STYLE_LIST.get(24)
|
158
|
-
|
159
|
-
# Specifies the Secondary Background Color of a prop.
|
160
|
-
#
|
161
|
-
# style.secondary_background_color = <value>
|
162
|
-
#
|
163
|
-
SecondaryBackgroundColor = Limelight::Styles::Style::STYLE_LIST.get(25)
|
164
|
-
|
165
|
-
# Specifies the Background Image of a prop.
|
166
|
-
#
|
167
|
-
# style.background_image = <value>
|
168
|
-
#
|
169
|
-
BackgroundImage = Limelight::Styles::Style::STYLE_LIST.get(26)
|
170
|
-
|
171
|
-
# Specifies the Background Image Fill Strategy of a prop.
|
172
|
-
#
|
173
|
-
# style.background_image_fill_strategy = <value>
|
174
|
-
#
|
175
|
-
BackgroundImageFillStrategy = Limelight::Styles::Style::STYLE_LIST.get(27)
|
176
|
-
|
177
|
-
# Specifies the Gradient of a prop.
|
178
|
-
#
|
179
|
-
# style.gradient = <value>
|
180
|
-
#
|
181
|
-
Gradient = Limelight::Styles::Style::STYLE_LIST.get(28)
|
182
|
-
|
183
|
-
# Specifies the Gradient Angle of a prop.
|
184
|
-
#
|
185
|
-
# style.gradient_angle = <value>
|
186
|
-
#
|
187
|
-
GradientAngle = Limelight::Styles::Style::STYLE_LIST.get(29)
|
188
|
-
|
189
|
-
# Specifies the Gradient Penetration of a prop.
|
190
|
-
#
|
191
|
-
# style.gradient_penetration = <value>
|
192
|
-
#
|
193
|
-
GradientPenetration = Limelight::Styles::Style::STYLE_LIST.get(30)
|
194
|
-
|
195
|
-
# Specifies the Cyclic Gradient of a prop.
|
196
|
-
#
|
197
|
-
# style.cyclic_gradient = <value>
|
198
|
-
#
|
199
|
-
CyclicGradient = Limelight::Styles::Style::STYLE_LIST.get(31)
|
200
|
-
|
201
|
-
# Specifies the Horizontal Alignment of a prop.
|
202
|
-
#
|
203
|
-
# style.horizontal_alignment = <value>
|
204
|
-
#
|
205
|
-
HorizontalAlignment = Limelight::Styles::Style::STYLE_LIST.get(32)
|
206
|
-
|
207
|
-
# Specifies the Vertical Alignment of a prop.
|
208
|
-
#
|
209
|
-
# style.vertical_alignment = <value>
|
210
|
-
#
|
211
|
-
VerticalAlignment = Limelight::Styles::Style::STYLE_LIST.get(33)
|
212
|
-
|
213
|
-
# Specifies the Text Color of a prop.
|
214
|
-
#
|
215
|
-
# style.text_color = <value>
|
216
|
-
#
|
217
|
-
TextColor = Limelight::Styles::Style::STYLE_LIST.get(34)
|
218
|
-
|
219
|
-
# Specifies the Font Face of a prop.
|
220
|
-
#
|
221
|
-
# style.font_face = <value>
|
222
|
-
#
|
223
|
-
FontFace = Limelight::Styles::Style::STYLE_LIST.get(35)
|
224
|
-
|
225
|
-
# Specifies the Font Size of a prop.
|
226
|
-
#
|
227
|
-
# style.font_size = <value>
|
228
|
-
#
|
229
|
-
FontSize = Limelight::Styles::Style::STYLE_LIST.get(36)
|
230
|
-
|
231
|
-
# Specifies the Font Style of a prop.
|
232
|
-
#
|
233
|
-
# style.font_style = <value>
|
234
|
-
#
|
235
|
-
FontStyle = Limelight::Styles::Style::STYLE_LIST.get(37)
|
236
|
-
|
237
|
-
# Specifies the Transparency of a prop.
|
238
|
-
#
|
239
|
-
# style.transparency = <value>
|
240
|
-
#
|
241
|
-
Transparency = Limelight::Styles::Style::STYLE_LIST.get(38)
|
242
|
-
|
243
|
-
# Specifies the Top Right Rounded Corner Radius of a prop.
|
244
|
-
#
|
245
|
-
# style.top_right_rounded_corner_radius = <value>
|
246
|
-
#
|
247
|
-
TopRightRoundedCornerRadius = Limelight::Styles::Style::STYLE_LIST.get(39)
|
248
|
-
|
249
|
-
# Specifies the Bottom Right Rounded Corner Radius of a prop.
|
250
|
-
#
|
251
|
-
# style.bottom_right_rounded_corner_radius = <value>
|
252
|
-
#
|
253
|
-
BottomRightRoundedCornerRadius = Limelight::Styles::Style::STYLE_LIST.get(40)
|
254
|
-
|
255
|
-
# Specifies the Bottom Left Rounded Corner Radius of a prop.
|
256
|
-
#
|
257
|
-
# style.bottom_left_rounded_corner_radius = <value>
|
258
|
-
#
|
259
|
-
BottomLeftRoundedCornerRadius = Limelight::Styles::Style::STYLE_LIST.get(41)
|
260
|
-
|
261
|
-
# Specifies the Top Left Rounded Corner Radius of a prop.
|
262
|
-
#
|
263
|
-
# style.top_left_rounded_corner_radius = <value>
|
264
|
-
#
|
265
|
-
TopLeftRoundedCornerRadius = Limelight::Styles::Style::STYLE_LIST.get(42)
|
266
|
-
|
267
|
-
# Specifies the Top Right Border Width of a prop.
|
268
|
-
#
|
269
|
-
# style.top_right_border_width = <value>
|
270
|
-
#
|
271
|
-
TopRightBorderWidth = Limelight::Styles::Style::STYLE_LIST.get(43)
|
272
|
-
|
273
|
-
# Specifies the Bottom Right Border Width of a prop.
|
274
|
-
#
|
275
|
-
# style.bottom_right_border_width = <value>
|
276
|
-
#
|
277
|
-
BottomRightBorderWidth = Limelight::Styles::Style::STYLE_LIST.get(44)
|
278
|
-
|
279
|
-
# Specifies the Bottom Left Border Width of a prop.
|
280
|
-
#
|
281
|
-
# style.bottom_left_border_width = <value>
|
282
|
-
#
|
283
|
-
BottomLeftBorderWidth = Limelight::Styles::Style::STYLE_LIST.get(45)
|
284
|
-
|
285
|
-
# Specifies the Top Left Border Width of a prop.
|
286
|
-
#
|
287
|
-
# style.top_left_border_width = <value>
|
288
|
-
#
|
289
|
-
TopLeftBorderWidth = Limelight::Styles::Style::STYLE_LIST.get(46)
|
290
|
-
|
291
|
-
# Specifies the Top Right Border Color of a prop.
|
292
|
-
#
|
293
|
-
# style.top_right_border_color = <value>
|
294
|
-
#
|
295
|
-
TopRightBorderColor = Limelight::Styles::Style::STYLE_LIST.get(47)
|
296
|
-
|
297
|
-
# Specifies the Bottom Right Border Color of a prop.
|
298
|
-
#
|
299
|
-
# style.bottom_right_border_color = <value>
|
300
|
-
#
|
301
|
-
BottomRightBorderColor = Limelight::Styles::Style::STYLE_LIST.get(48)
|
302
|
-
|
303
|
-
# Specifies the Bottom Left Border Color of a prop.
|
304
|
-
#
|
305
|
-
# style.bottom_left_border_color = <value>
|
306
|
-
#
|
307
|
-
BottomLeftBorderColor = Limelight::Styles::Style::STYLE_LIST.get(49)
|
308
|
-
|
309
|
-
# Specifies the Top Left Border Color of a prop.
|
310
|
-
#
|
311
|
-
# style.top_left_border_color = <value>
|
312
|
-
#
|
313
|
-
TopLeftBorderColor = Limelight::Styles::Style::STYLE_LIST.get(50)
|
314
|
-
|
315
|
-
# Specifies the Float of a prop.
|
316
|
-
#
|
317
|
-
# style.float = <value>
|
318
|
-
#
|
319
|
-
Float = Limelight::Styles::Style::STYLE_LIST.get(51)
|
320
|
-
|
321
|
-
# Specifies the X of a prop.
|
322
|
-
#
|
323
|
-
# style.x = <value>
|
324
|
-
#
|
325
|
-
X = Limelight::Styles::Style::STYLE_LIST.get(52)
|
326
|
-
|
327
|
-
# Specifies the Y of a prop.
|
328
|
-
#
|
329
|
-
# style.y = <value>
|
330
|
-
#
|
331
|
-
Y = Limelight::Styles::Style::STYLE_LIST.get(53)
|
332
|
-
|
333
|
-
# Specifies the starting X coordinate of background images.
|
334
|
-
#
|
335
|
-
# style.background_image_x = <value>
|
336
|
-
#
|
337
|
-
BackgroundImageX = Limelight::Styles::Style::STYLE_LIST.get(54)
|
338
|
-
|
339
|
-
# Specifies the Y of a prop.
|
340
|
-
#
|
341
|
-
# style.background_images_y = <value>
|
342
|
-
#
|
343
|
-
BackgroundImageY = Limelight::Styles::Style::STYLE_LIST.get(55)
|
344
|
-
|
345
|
-
end
|
346
|
-
|
347
|
-
end
|