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.
Files changed (37) hide show
  1. data/lib/limelight.jar +0 -0
  2. data/lib/limelight/builtin/utilities_production/alert/players/alert.rb +4 -1
  3. data/lib/limelight/builtin/utilities_production/production.rb +2 -2
  4. data/lib/limelight/dsl/styles_builder.rb +5 -0
  5. data/lib/limelight/java_couplings.rb +2 -2
  6. data/lib/limelight/main.rb +43 -46
  7. data/lib/limelight/producer.rb +21 -0
  8. data/lib/limelight/production.rb +18 -11
  9. data/lib/limelight/specs/test_scene_opener.rb +3 -0
  10. data/lib/limelight/stage.rb +62 -9
  11. data/lib/limelight/studio.rb +12 -143
  12. data/lib/limelight/styles/style.rb +288 -0
  13. data/lib/limelight/theater.rb +17 -2
  14. data/lib/limelight/version.rb +1 -1
  15. data/productions/examples/sandbox/stage_handles/players/sizer.rb +3 -0
  16. data/spec/limelight/builtin/players/combo_box_spec.rb +1 -1
  17. data/spec/limelight/builtin/players/radio_button_spec.rb +1 -1
  18. data/spec/limelight/casting_director_spec.rb +1 -1
  19. data/spec/limelight/commands/create_command_spec.rb +3 -3
  20. data/spec/limelight/commands/pack_command_spec.rb +1 -1
  21. data/spec/limelight/commands/unpack_command_spec.rb +1 -1
  22. data/spec/limelight/dsl/prop_builder_spec.rb +6 -6
  23. data/spec/limelight/file_chooser_spec.rb +1 -1
  24. data/spec/limelight/file_filter_spec.rb +2 -2
  25. data/spec/limelight/main_spec.rb +2 -2
  26. data/spec/limelight/paint_action_spec.rb +1 -1
  27. data/spec/limelight/pen_spec.rb +1 -1
  28. data/spec/limelight/producer_spec.rb +21 -8
  29. data/spec/limelight/production_spec.rb +4 -7
  30. data/spec/limelight/prop_spec.rb +2 -2
  31. data/spec/limelight/scene_spec.rb +1 -1
  32. data/spec/limelight/stage_spec.rb +32 -3
  33. data/spec/limelight/templates/templater_spec.rb +1 -1
  34. data/spec/limelight/theater_spec.rb +27 -0
  35. data/spec/spec_helper.rb +0 -6
  36. metadata +5 -4
  37. data/lib/limelight/styles.rb +0 -347
@@ -44,7 +44,7 @@ describe Limelight::FileChooser do
44
44
  it "should return the absolute path if a file was selected" do
45
45
  chooser = Limelight::FileChooser.new(:parent => "parent")
46
46
  chooser.chooser.should_receive(:showOpenDialog).with("parent").and_return(javax.swing.JFileChooser::APPROVE_OPTION)
47
- selected_file = make_mock("selected file", :absolute_path => "selected file's absolute path")
47
+ selected_file = mock("selected file", :absolute_path => "selected file's absolute path")
48
48
  chooser.chooser.should_receive(:getSelectedFile).and_return(selected_file)
49
49
 
50
50
  chooser.choose_file.should == "selected file's absolute path"
@@ -20,8 +20,8 @@ describe Limelight::FileFilter do
20
20
  filter = Limelight::FileFilter.new("Some Description") { |file| file.name == "good" }
21
21
 
22
22
  filter.getDescription().should == "Some Description"
23
- bad_file = make_mock("file", :name => "bad")
24
- good_file = make_mock("file", :name => "good")
23
+ bad_file = mock("file", :name => "bad")
24
+ good_file = mock("file", :name => "good")
25
25
  filter.accept(bad_file).should == false
26
26
  filter.accept(good_file).should == true
27
27
  end
@@ -12,8 +12,8 @@ describe Limelight::Main do
12
12
  end
13
13
 
14
14
  it "should run the specified command" do
15
- command_class = make_mock("command_class")
16
- command = make_mock("command")
15
+ command_class = mock("command_class")
16
+ command = mock("command")
17
17
 
18
18
  Limelight::Commands.should_receive(:[]).with("mock").and_return(command_class)
19
19
  command_class.should_receive(:new).and_return(command)
@@ -20,7 +20,7 @@ describe Limelight::PaintAction do
20
20
  local_pen = nil
21
21
  action = Limelight::PaintAction.new { |pen| local_pen = pen }
22
22
 
23
- graphics = make_mock("graphics", :setColor => nil, :setStroke => nil, :setRenderingHint => nil)
23
+ graphics = mock("graphics", :setColor => nil, :setStroke => nil, :setRenderingHint => nil)
24
24
  action.invoke(graphics)
25
25
 
26
26
  local_pen.class.should == Limelight::Pen
@@ -7,7 +7,7 @@ require 'limelight/pen'
7
7
  describe Limelight::Pen do
8
8
 
9
9
  before(:each) do
10
- @context = make_mock("context", :setColor => nil, :setStroke => nil, :setRenderingHint => nil)
10
+ @context = mock("context", :setColor => nil, :setStroke => nil, :setRenderingHint => nil)
11
11
  @pen = Limelight::Pen.new(@context)
12
12
  end
13
13
 
@@ -19,7 +19,7 @@ describe Limelight::Producer do
19
19
  end
20
20
 
21
21
  it "should take an optional theater on creation" do
22
- theater = make_mock("theater")
22
+ theater = mock("theater")
23
23
  producer = Limelight::Producer.new("/tmp", theater)
24
24
 
25
25
  producer.theater.should == theater
@@ -33,7 +33,7 @@ describe Limelight::Producer do
33
33
  it "should load props" do
34
34
  TestDir.create_file("test_prod/props.rb", "child :id => 321")
35
35
 
36
- scene = @producer.load_props(:path => TestDir.path("test_prod"), :casting_director => make_mock("casting_director", :fill_cast => nil))
36
+ scene = @producer.load_props(:path => TestDir.path("test_prod"), :casting_director => mock("casting_director", :fill_cast => nil))
37
37
  scene.illuminate
38
38
  scene.children.size.should == 1
39
39
  scene.children[0].name.should == "child"
@@ -41,7 +41,7 @@ describe Limelight::Producer do
41
41
  end
42
42
 
43
43
  it "should load props even when props.rd doesn't exist." do
44
- scene = @producer.load_props(:path => TestDir.path("test_prod"), :casting_director => make_mock("casting_director", :fill_cast => nil))
44
+ scene = @producer.load_props(:path => TestDir.path("test_prod"), :casting_director => mock("casting_director", :fill_cast => nil))
45
45
  scene.children.size.should == 0
46
46
  end
47
47
 
@@ -66,7 +66,7 @@ describe Limelight::Producer do
66
66
  # TestDir.create_file("test_prod/props.rb", "one\n+\nthree")
67
67
  #
68
68
  # begin
69
- # result = @producer.load_props(:path => TestDir.path("test_prod"), :casting_director => make_mock("casting_director", :fill_cast => nil))
69
+ # result = @producer.load_props(:path => TestDir.path("test_prod"), :casting_director => mock("casting_director", :fill_cast => nil))
70
70
  # result.should == nil # should never perform
71
71
  # rescue Limelight::DSL::BuildException => e
72
72
  # e.line_number.should == 3
@@ -132,8 +132,8 @@ describe Limelight::Producer do
132
132
  end
133
133
 
134
134
  it "should open a scene" do
135
- stage = make_mock("stage")
136
- scene = make_mock("scene")
135
+ stage = mock("stage")
136
+ scene = mock("scene")
137
137
  @producer.should_receive(:load_props).with(:production => @producer.production, :casting_director => anything, :path => TestDir.path("test_prod/name"), :name => "name").and_return(scene)
138
138
  @producer.should_receive(:load_styles).and_return("styles")
139
139
  scene.should_receive(:styles=)
@@ -198,8 +198,8 @@ describe Limelight::Producer do
198
198
  end
199
199
 
200
200
  it "should allow options such as instance variables to be passed to open_scene" do
201
- stage = make_mock("stage")
202
- scene = make_mock("scene")
201
+ stage = mock("stage")
202
+ scene = mock("scene")
203
203
  @producer.should_receive(:load_props).with(:instance_variables => { :foo => "bar" }, :production => @producer.production, :casting_director => anything, :path => TestDir.path("test_prod/name"), :name => "name").and_return(scene)
204
204
  @producer.should_receive(:load_styles).and_return("styles")
205
205
  scene.should_receive(:styles=)
@@ -212,5 +212,18 @@ describe Limelight::Producer do
212
212
  Limelight::Producer.builtin_styles.should be(Limelight::Producer.builtin_styles)
213
213
  Limelight::Producer.builtin_styles["limelight_builtin_players_curtains"].should_not == nil
214
214
  end
215
+
216
+ it "should close a production" do
217
+ theater = mock("theater")
218
+ production = mock("production", :theater => theater, :closed? => false)
219
+ production.should_receive(:closed=).with(true)
220
+ production.should_receive(:production_closing)
221
+ theater.should_receive(:close)
222
+ production.should_receive(:production_closed)
223
+ Limelight::Context.instance.studio.should_receive(:production_closed).with(production)
224
+
225
+ close_thread = @producer.close(production)
226
+ close_thread.join()
227
+ end
215
228
 
216
229
  end
@@ -7,8 +7,8 @@ require 'limelight/production'
7
7
  describe Limelight::Production, "Instance methods" do
8
8
 
9
9
  before(:each) do
10
- @producer = make_mock("producer")
11
- @theater = make_mock("theater")
10
+ @producer = mock("producer")
11
+ @theater = mock("theater")
12
12
  @studio = Limelight::Studio.install
13
13
  @production = Limelight::Production.new("/tmp")
14
14
  @production.producer = @producer
@@ -57,11 +57,8 @@ describe Limelight::Production, "Instance methods" do
57
57
  @production.allow_close?.should == true
58
58
  end
59
59
 
60
- it "should tell studio it closed and triger it's closing events" do
61
- @production.should_receive(:production_closing)
62
- @studio.should_receive(:production_closed).with(@production)
63
- @production.should_receive(:production_closed)
64
- @theater.should_receive(:close)
60
+ it "should tell producer to do the closing" do
61
+ @producer.should_receive(:close).with(@production)
65
62
 
66
63
  @production.close
67
64
  end
@@ -10,7 +10,7 @@ require 'limelight/production'
10
10
  describe Limelight::Prop do
11
11
 
12
12
  before(:each) do
13
- @casting_director = make_mock("casting_director", :fill_cast => nil)
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 = make_mock("graphics", :setColor => nil, :setStroke => nil, :setRenderingHint => nil)
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 = make_mock("casting_director", :fill_cast => nil)
11
+ @casting_director = mock("casting_director", :fill_cast => nil)
12
12
  @scene = Limelight::Scene.new(:casting_director => @casting_director)
13
13
  end
14
14
 
@@ -125,6 +125,29 @@ 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
129
152
 
130
153
  before(:each) do
@@ -176,10 +199,16 @@ describe Limelight::Stage do
176
199
  @stage.open(@scene)
177
200
  end
178
201
 
179
- it "should clean up on close" do
180
- @stage.open(@scene)
202
+ it "should close by closing the frame" do
203
+ @stage.frame.should_receive(:close)
181
204
 
182
205
  @stage.close
206
+ end
207
+
208
+ it "should clean when closed" do
209
+ @stage.open(@scene)
210
+
211
+ @stage.closed(nil)
183
212
 
184
213
  @scene.visible?.should == false
185
214
  @stage.current_scene.should == nil
@@ -200,7 +229,7 @@ describe Limelight::Stage do
200
229
  @stage.open(@scene)
201
230
  @theater["George"].should be(@stage)
202
231
 
203
- @stage.close
232
+ @stage.closed(nil)
204
233
  @theater["George"].should == nil
205
234
  end
206
235
 
@@ -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 = make_mock("logger")
12
+ @logger = mock("logger")
13
13
  @templater = Limelight::Templates::Templater.new(TestDir.root, @src_dir)
14
14
  @templater.logger = @logger
15
15
  end
@@ -87,7 +87,34 @@ describe Limelight::Theater do
87
87
 
88
88
  @theater.stages.length.should == 0
89
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
90
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)
91
118
  end
92
119
 
93
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: limelight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: java
6
6
  authors:
7
7
  - Micah Martin, 8th Light
@@ -9,7 +9,7 @@ autorequire: init
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-27 00:00:00 -05:00
12
+ date: 2009-10-28 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -93,7 +93,8 @@ files:
93
93
  - lib/limelight/stage.rb
94
94
  - lib/limelight/string.rb
95
95
  - lib/limelight/studio.rb
96
- - lib/limelight/styles.rb
96
+ - lib/limelight/styles
97
+ - lib/limelight/styles/style.rb
97
98
  - lib/limelight/templates
98
99
  - lib/limelight/templates/production_templater.rb
99
100
  - lib/limelight/templates/scene_templater.rb
@@ -413,6 +414,6 @@ rubyforge_project: limelight
413
414
  rubygems_version: 1.3.1
414
415
  signing_key:
415
416
  specification_version: 2
416
- summary: Limelight-0.5.1 - Limelight http://limelight.8thlight.com
417
+ summary: Limelight-0.5.2 - Limelight http://limelight.8thlight.com
417
418
  test_files: []
418
419
 
@@ -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