Commit 0ba76b77106d97a946c0ec83b16cbf57394bfffc

Authored by Adeel Kazmi
1 parent 4f18c49f

Changes following the property & singal name changes

Change-Id: I5d09c3ba92dca882a6ae3e1765cb105ddad66bec
builder/dali-builder.cpp
... ... @@ -56,7 +56,7 @@ std::string JSON_BROKEN(" \
56 56 { \
57 57 'type':'TextActor', \
58 58 'size': [50,50,1], \
59   - 'parent-origin': 'CENTER', \
  59 + 'parentOrigin': 'CENTER', \
60 60 'text':'COULD NOT LOAD JSON FILE' \
61 61 } \
62 62 ] \
... ...
demo/dali-table-view.cpp
... ... @@ -938,11 +938,11 @@ void DaliTableView::OnLogoTapped( Dali::Actor actor, const Dali::TapGesture& tap
938 938 mVersionPopup = Dali::Toolkit::Popup::New();
939 939  
940 940 Toolkit::TextLabel titleActor = Toolkit::TextLabel::New( "Version information" );
941   - titleActor.SetName( "title-actor" );
  941 + titleActor.SetName( "titleActor" );
942 942 titleActor.SetProperty( Toolkit::TextLabel::Property::HORIZONTAL_ALIGNMENT, "CENTER" );
943 943  
944 944 Toolkit::TextLabel contentActor = Toolkit::TextLabel::New( stream.str() );
945   - contentActor.SetName( "content-actor" );
  945 + contentActor.SetName( "contentActor" );
946 946 contentActor.SetProperty( Toolkit::TextLabel::Property::MULTI_LINE, true );
947 947 contentActor.SetProperty( Toolkit::TextLabel::Property::HORIZONTAL_ALIGNMENT, "CENTER" );
948 948 contentActor.SetPadding( Padding( 0.0f, 0.0f, 20.0f, 0.0f ) );
... ...
examples/blocks/blocks-example.cpp
... ... @@ -56,8 +56,8 @@ const Vector3 PADDLE_COLLISION_MARGIN(0.0f, 0.0f, 0.0f); ///<
56 56 const Vector3 BRICK_COLLISION_MARGIN(0.0f, 0.0f, 0.0f); ///< Collision margin for ball-brick detection.
57 57 const Vector3 INITIAL_BALL_DIRECTION(1.0f, 1.0f, 0.0f); ///< Initial ball direction.
58 58  
59   -const std::string WOBBLE_PROPERTY_NAME("wobble-property"); ///< Wobble property name.
60   -const std::string COLLISION_PROPERTY_NAME("collision-property"); ///< Collision property name.
  59 +const std::string WOBBLE_PROPERTY_NAME("wobbleProperty"); ///< Wobble property name.
  60 +const std::string COLLISION_PROPERTY_NAME("collisionProperty"); ///< Collision property name.
61 61  
62 62 const Vector2 BRICK_SIZE(0.1f, 0.05f ); ///< Brick size relative to width of stage.
63 63 const Vector2 BALL_SIZE( 0.05f, 0.05f ); ///< Ball size relative to width of stage.
... ...
examples/builder/examples.cpp
... ... @@ -64,7 +64,7 @@ std::string JSON_BROKEN(&quot; \
64 64 { \
65 65 'type':'TextLabel', \
66 66 'size': [50,50,1], \
67   - 'parent-origin': 'CENTER', \
  67 + 'parentOrigin': 'CENTER', \
68 68 'text':'COULD NOT LOAD JSON FILE' \
69 69 } \
70 70 ] \
... ...
examples/buttons/buttons-example.cpp
... ... @@ -206,7 +206,7 @@ class ButtonsController: public ConnectionTracker
206 206 // Create select button
207 207 mUpdateButton = Toolkit::PushButton::New();
208 208 mUpdateButton.SetLabelText( "Select" );
209   - mUpdateButton.SetName( "select-button" );
  209 + mUpdateButton.SetName( "selectButton" );
210 210 mUpdateButton.SetResizePolicy( ResizePolicy::USE_NATURAL_SIZE, Dimension::ALL_DIMENSIONS );
211 211  
212 212 mUpdateButton.ClickedSignal().Connect( this, &ButtonsController::OnButtonClicked );
... ... @@ -268,7 +268,7 @@ class ButtonsController: public ConnectionTracker
268 268 // First radio button
269 269 {
270 270 Toolkit::RadioButton radioButton = Dali::Toolkit::RadioButton::New( "Select enabled" );
271   - radioButton.SetName( "radio-select-enable" );
  271 + radioButton.SetName( "radioSelectEnable" );
272 272 radioButton.SetParentOrigin( ParentOrigin::TOP_LEFT );
273 273 radioButton.SetAnchorPoint( AnchorPoint::TOP_LEFT );
274 274 radioButton.SetPosition( 0, 0 );
... ... @@ -282,7 +282,7 @@ class ButtonsController: public ConnectionTracker
282 282 // Second radio button
283 283 {
284 284 Toolkit::RadioButton radioButton = Dali::Toolkit::RadioButton::New( "Select disabled" );
285   - radioButton.SetName( "radio-select-disable" );
  285 + radioButton.SetName( "radioSelectDisable" );
286 286 radioButton.SetParentOrigin( ParentOrigin::TOP_LEFT );
287 287 radioButton.SetAnchorPoint( AnchorPoint::TOP_LEFT );
288 288 radioButton.SetPosition( 0, DP(50) );
... ... @@ -390,7 +390,7 @@ class ButtonsController: public ConnectionTracker
390 390  
391 391 bool EnableSelectButton( Toolkit::Button button )
392 392 {
393   - if( button.GetName() == "radio-select-enable" && button.IsSelected() == true )
  393 + if( button.GetName() == "radioSelectEnable" && button.IsSelected() == true )
394 394 {
395 395 mUpdateButton.SetDisabled( false );
396 396  
... ... @@ -404,7 +404,7 @@ class ButtonsController: public ConnectionTracker
404 404  
405 405 mToggleButton.SetDisabled( false );
406 406 }
407   - else if( button.GetName() == "radio-select-disable" && button.IsSelected() == true )
  407 + else if( button.GetName() == "radioSelectDisable" && button.IsSelected() == true )
408 408 {
409 409 mUpdateButton.SetDisabled( true );
410 410  
... ...
examples/gradients/gradients-example.cpp
... ... @@ -79,21 +79,21 @@ public:
79 79  
80 80 // ---- Gradient for background
81 81  
82   - mGradientMap.Insert("renderer-type", "gradient-renderer");
  82 + mGradientMap.Insert("rendererType", "gradientRenderer");
83 83 Property::Array stopOffsets;
84 84 stopOffsets.PushBack( 0.0f );
85 85 stopOffsets.PushBack( 0.3f );
86 86 stopOffsets.PushBack( 0.6f );
87 87 stopOffsets.PushBack( 0.8f );
88 88 stopOffsets.PushBack( 1.f );
89   - mGradientMap.Insert("gradient-stop-offset", stopOffsets);
  89 + mGradientMap.Insert("gradientStopOffset", stopOffsets);
90 90 Property::Array stopColors;
91 91 stopColors.PushBack( Vector4( 129.f, 198.f, 193.f, 255.f )/255.f );
92 92 stopColors.PushBack( Vector4( 196.f, 198.f, 71.f, 122.f )/255.f );
93 93 stopColors.PushBack( Vector4( 214.f, 37.f, 139.f, 191.f )/255.f );
94 94 stopColors.PushBack( Vector4( 129.f, 198.f, 193.f, 150.f )/255.f );
95 95 stopColors.PushBack( Color::YELLOW );
96   - mGradientMap.Insert("gradient-stop-color", stopColors);
  96 + mGradientMap.Insert("gradientStopColor", stopColors);
97 97  
98 98 OnChangeIconClicked( changeButton );
99 99 }
... ... @@ -106,30 +106,30 @@ public:
106 106 {
107 107 case 0: // linear gradient with units as objectBoundingBox
108 108 {
109   - gradientMap.Insert("gradient-start-position", Vector2( 0.5f, 0.5f ));
110   - gradientMap.Insert("gradient-end-position", Vector2( -0.5f, -0.5f ));
  109 + gradientMap.Insert("gradientStartPosition", Vector2( 0.5f, 0.5f ));
  110 + gradientMap.Insert("gradientEndPosition", Vector2( -0.5f, -0.5f ));
111 111 break;
112 112 }
113 113 case 1: // linear gradient with units as userSpaceOnUse
114 114 {
115 115 Vector2 halfStageSize = Stage::GetCurrent().GetSize()*0.5f;
116   - gradientMap.Insert("gradient-start-position", halfStageSize);
117   - gradientMap.Insert("gradient-end-position", -halfStageSize );
118   - gradientMap.Insert("gradient-units", "user-space");
  116 + gradientMap.Insert("gradientStartPosition", halfStageSize);
  117 + gradientMap.Insert("gradientEndPosition", -halfStageSize );
  118 + gradientMap.Insert("gradientUnits", "userSpace");
119 119 break;
120 120 }
121 121 case 2: // radial gradient with units as objectBoundingBox
122 122 {
123   - gradientMap.Insert("gradient-center", Vector2(0.5f, 0.5f));
124   - gradientMap.Insert("gradient-radius", 1.414f);
  123 + gradientMap.Insert("gradientCenter", Vector2(0.5f, 0.5f));
  124 + gradientMap.Insert("gradientRadius", 1.414f);
125 125 break;
126 126 }
127 127 default: // radial gradient with units as userSpaceOnUse
128 128 {
129 129 Vector2 stageSize = Stage::GetCurrent().GetSize();
130   - gradientMap.Insert("gradient-center", stageSize*0.5f);
131   - gradientMap.Insert("gradient-radius", stageSize.Length());
132   - gradientMap.Insert("gradient-units", "user-space");
  130 + gradientMap.Insert("gradientCenter", stageSize*0.5f);
  131 + gradientMap.Insert("gradientRadius", stageSize.Length());
  132 + gradientMap.Insert("gradientUnits", "userSpace");
133 133 break;
134 134 }
135 135 }
... ...
examples/hello-world/hello-world-example.cpp
... ... @@ -47,7 +47,7 @@ public:
47 47  
48 48 TextLabel textLabel = TextLabel::New( "Hello World" );
49 49 textLabel.SetAnchorPoint( AnchorPoint::TOP_LEFT );
50   - textLabel.SetName( "hello-world-label" );
  50 + textLabel.SetName( "helloWorldLabel" );
51 51 stage.Add( textLabel );
52 52  
53 53 // Respond to a click anywhere on the stage
... ...
examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp
... ... @@ -171,12 +171,12 @@ public:
171 171  
172 172 // Background image:
173 173 Dali::Property::Map backgroundImage;
174   - backgroundImage.Insert( "renderer-type", "image-renderer" );
175   - backgroundImage.Insert( "image-url", BACKGROUND_IMAGE );
176   - backgroundImage.Insert( "image-desired-width", stage.GetSize().width );
177   - backgroundImage.Insert( "image-desired-height", stage.GetSize().height );
178   - backgroundImage.Insert( "image-fitting-mode", "scale-to-fill" );
179   - backgroundImage.Insert( "image-sampling-mode", "box-then-nearest" );
  174 + backgroundImage.Insert( "rendererType", "imageRenderer" );
  175 + backgroundImage.Insert( "imageUrl", BACKGROUND_IMAGE );
  176 + backgroundImage.Insert( "imageDesiredWidth", stage.GetSize().width );
  177 + backgroundImage.Insert( "imageDesiredHeight", stage.GetSize().height );
  178 + backgroundImage.Insert( "imageFittingMode", "scaleToFill" );
  179 + backgroundImage.Insert( "imageSamplingMode", "boxThenNearest" );
180 180  
181 181 Toolkit::ImageView background = Toolkit::ImageView::New();
182 182 background.SetProperty( Toolkit::ImageView::Property::IMAGE, backgroundImage );
... ...
examples/magnifier/magnifier-example.cpp
... ... @@ -245,7 +245,7 @@ public:
245 245 mBouncingMagnifier.SetProperty( Toolkit::Magnifier::Property::MAGNIFICATION_FACTOR, MAGNIFICATION_FACTOR );
246 246 overlay.Add( mBouncingMagnifier );
247 247  
248   - mAnimationTimeProperty = mBouncingMagnifier.RegisterProperty("animation-time", 0.0f);
  248 + mAnimationTimeProperty = mBouncingMagnifier.RegisterProperty("animationTime", 0.0f);
249 249 ContinueAnimation();
250 250  
251 251 // Apply constraint to animate the position of the magnifier.
... ...
examples/model3d-view/model3d-view-example.cpp
... ... @@ -95,7 +95,7 @@ public:
95 95 mModel3dView = Model3dView::New( MODEL_FILE[0], MATERIAL_FILE[0], IMAGE_PATH );
96 96 mModel3dView.SetParentOrigin( ParentOrigin::CENTER );
97 97 mModel3dView.SetAnchorPoint( AnchorPoint::CENTER );
98   - mModel3dView.SetName( "model3d-view-control" );
  98 + mModel3dView.SetName( "model3dViewControl" );
99 99 mModel3dView.SetResizePolicy(ResizePolicy::FIXED, Dimension::ALL_DIMENSIONS);
100 100 mModel3dView.SetSize(screenSize);
101 101  
... ...
examples/new-window/new-window-example.cpp
... ... @@ -211,7 +211,7 @@ void NewWindowController::Create( Application&amp; app )
211 211  
212 212 Image image = ResourceImage::New(LOGO_IMAGE);
213 213 ImageView imageView = ImageView::New(image);
214   - imageView.SetName("dali-logo");
  214 + imageView.SetName("daliLogo");
215 215 imageView.SetParentOrigin(ParentOrigin::CENTER);
216 216 imageView.SetAnchorPoint(AnchorPoint::BOTTOM_CENTER);
217 217 logoLayoutActor.Add(imageView);
... ... @@ -477,7 +477,7 @@ Dali::Property::Map NewWindowController::CreateColorModifierer()
477 477  
478 478 Property::Map map;
479 479 Property::Map customShader;
480   - customShader[ "fragment-shader" ] = fragmentShader;
  480 + customShader[ "fragmentShader" ] = fragmentShader;
481 481 map[ "shader" ] = customShader;
482 482  
483 483 return map;
... ...
examples/popup/popup-example.cpp
... ... @@ -56,8 +56,8 @@ const char* const POPUP_BUTTON_FIXED_SIZE_ID = &quot;POPUP_BUTTON_FIXED_SIZE_ID&quot;;
56 56 const char* const POPUP_BUTTON_COMPLEX_ID = "POPUP_BUTTON_COMPLEX";
57 57  
58 58 // Names to give Popup PushButton controls.
59   -const char* const POPUP_CONTROL_OK_NAME = "control-ok";
60   -const char* const POPUP_CONTROL_CANCEL_NAME = "control-cancel";
  59 +const char* const POPUP_CONTROL_OK_NAME = "controlOk";
  60 +const char* const POPUP_CONTROL_CANCEL_NAME = "controlCancel";
61 61  
62 62 const char* const CONTENT_TEXT = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
63 63 const char* const IMAGE1 = DALI_IMAGE_DIR "gallery-medium-5.jpg";
... ... @@ -352,7 +352,7 @@ public:
352 352 {
353 353 // Start with a control area image.
354 354 Toolkit::ImageView footer = Toolkit::ImageView::New( DEFAULT_CONTROL_AREA_IMAGE_PATH );
355   - footer.SetName( "control-area-image" );
  355 + footer.SetName( "controlAreaImage" );
356 356 // Set up the container's layout.
357 357 footer.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::WIDTH );
358 358 footer.SetResizePolicy( ResizePolicy::FIXED, Dimension::HEIGHT );
... ... @@ -407,7 +407,7 @@ public:
407 407 Actor CreateTitle( std::string title )
408 408 {
409 409 Toolkit::TextLabel titleActor = Toolkit::TextLabel::New( title );
410   - titleActor.SetName( "title-actor" );
  410 + titleActor.SetName( "titleActor" );
411 411 titleActor.SetProperty( Toolkit::TextLabel::Property::TEXT_COLOR, Color::WHITE );
412 412 titleActor.SetProperty( Toolkit::TextLabel::Property::MULTI_LINE, true );
413 413 titleActor.SetProperty( Toolkit::TextLabel::Property::HORIZONTAL_ALIGNMENT, "CENTER" );
... ... @@ -471,7 +471,7 @@ public:
471 471 else if( button.GetName() == POPUP_BUTTON_TOAST_ID )
472 472 {
473 473 // Create a toast popup via the type registry (as it is a named-type).
474   - TypeInfo typeInfo = TypeRegistry::Get().GetTypeInfo( "popup-toast" );
  474 + TypeInfo typeInfo = TypeRegistry::Get().GetTypeInfo( "popupToast" );
475 475 if( typeInfo )
476 476 {
477 477 BaseHandle baseHandle = typeInfo.CreateInstance();
... ...
examples/text-field/text-field-example.cpp
... ... @@ -115,7 +115,7 @@ public:
115 115 TextField CreateTextField( const Vector2& stageSize, const std::string& text )
116 116 {
117 117 TextField field = TextField::New();
118   - field.SetName("text-field");
  118 + field.SetName("textField");
119 119 field.SetAnchorPoint( AnchorPoint::TOP_LEFT );
120 120 field.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::WIDTH );
121 121 field.SetResizePolicy( ResizePolicy::DIMENSION_DEPENDENCY, Dimension::HEIGHT );
... ...
examples/text-message-field/text-message-field-example.cpp
... ... @@ -89,9 +89,9 @@ public:
89 89 Control photoBoxA = Control::New();
90 90  
91 91 Dali::Property::Map border;
92   - border.Insert( "renderer-type", "border-renderer" );
93   - border.Insert( "border-color", Color::WHITE );
94   - border.Insert( "border-size", 1.f );
  92 + border.Insert( "rendererType", "borderRenderer" );
  93 + border.Insert( "borderColor", Color::WHITE );
  94 + border.Insert( "borderSize", 1.f );
95 95 photoBoxA.SetProperty( Control::Property::BACKGROUND, border );
96 96  
97 97 photoBoxA.SetName("photoBoxA");
... ...
examples/textured-mesh/textured-mesh-example.cpp
... ... @@ -175,10 +175,10 @@ public:
175 175 mMeshActor2.AddRenderer( mRenderer2 );
176 176 mMeshActor2.SetSize(400, 400);
177 177  
178   - mMeshActor2.RegisterProperty( "a-n-other-property", Color::GREEN );
  178 + mMeshActor2.RegisterProperty( "anotherProperty", Color::GREEN );
179 179  
180   - mRenderer2.RegisterProperty( "a-n-other-property", Vector3::ZERO );
181   - mRenderer2.RegisterProperty( "a-coefficient", 0.008f );
  180 + mRenderer2.RegisterProperty( "anotherProperty", Vector3::ZERO );
  181 + mRenderer2.RegisterProperty( "aCoefficient", 0.008f );
182 182 Property::Index fadeColorIndex2 = mRenderer2.RegisterProperty( "uFadeColor", Color::BLUE );
183 183 mRenderer2.SetDepthIndex(0);
184 184  
... ...
resources/scripts/animated-buttons.json
... ... @@ -3,7 +3,7 @@
3 3 {
4 4 "type": "ImageActor",
5 5 "name": "On",
6   - "relayout-enabled": false,
  6 + "relayoutEnabled": false,
7 7 "position": [
8 8 374,
9 9 215,
... ... @@ -25,8 +25,8 @@
25 25 "filename": "{DALI_IMAGE_DIR}spot_button_on.png",
26 26 "width": 144,
27 27 "height": 144,
28   - "load-policy": "IMMEDIATE",
29   - "release-policy": "NEVER"
  28 + "loadPolicy": "IMMEDIATE",
  29 + "releasePolicy": "NEVER"
30 30 },
31 31 "path": "spot_button_on.png",
32 32 "actors": []
... ... @@ -34,7 +34,7 @@
34 34 {
35 35 "type": "ImageActor",
36 36 "name": "Off",
37   - "relayout-enabled": false,
  37 + "relayoutEnabled": false,
38 38 "position": [
39 39 129,
40 40 215,
... ... @@ -56,8 +56,8 @@
56 56 "filename": "{DALI_IMAGE_DIR}spot_button_off.png",
57 57 "width": 144,
58 58 "height": 144,
59   - "load-policy": "IMMEDIATE",
60   - "release-policy": "NEVER"
  59 + "loadPolicy": "IMMEDIATE",
  60 + "releasePolicy": "NEVER"
61 61 },
62 62 "path": "spot_button_off.png",
63 63 "actors": []
... ... @@ -65,7 +65,7 @@
65 65 {
66 66 "type": "ImageActor",
67 67 "name": "Right",
68   - "relayout-enabled": false,
  68 + "relayoutEnabled": false,
69 69 "position": [
70 70 418.5,
71 71 214.5,
... ... @@ -88,8 +88,8 @@
88 88 "filename": "{DALI_IMAGE_DIR}curve-right.png",
89 89 "width": 85,
90 90 "height": 161,
91   - "load-policy": "IMMEDIATE",
92   - "release-policy": "NEVER"
  91 + "loadPolicy": "IMMEDIATE",
  92 + "releasePolicy": "NEVER"
93 93 },
94 94 "path": "curve-right.png",
95 95 "actors": []
... ... @@ -97,7 +97,7 @@
97 97 {
98 98 "type": "ImageActor",
99 99 "name": "Left",
100   - "relayout-enabled": false,
  100 + "relayoutEnabled": false,
101 101 "position": [
102 102 331,
103 103 214.5,
... ... @@ -120,8 +120,8 @@
120 120 "filename": "{DALI_IMAGE_DIR}curve-left.png",
121 121 "width": 87,
122 122 "height": 161,
123   - "load-policy": "IMMEDIATE",
124   - "release-policy": "NEVER"
  123 + "loadPolicy": "IMMEDIATE",
  124 + "releasePolicy": "NEVER"
125 125 },
126 126 "path": "curve-left.png",
127 127 "actors": []
... ... @@ -129,13 +129,13 @@
129 129 {
130 130 "type": "ImageActor",
131 131 "name": "Middle",
132   - "relayout-enabled": false,
  132 + "relayoutEnabled": false,
133 133 "position": [
134 134 375.5,
135 135 214.5,
136 136 0
137 137 ],
138   - "anchor-point": [
  138 + "anchorPoint": [
139 139 0,
140 140 0.5,
141 141 0.5
... ... @@ -156,8 +156,8 @@
156 156 "filename": "{DALI_IMAGE_DIR}curve-middle.png",
157 157 "width": 13,
158 158 "height": 161,
159   - "load-policy": "IMMEDIATE",
160   - "release-policy": "NEVER"
  159 + "loadPolicy": "IMMEDIATE",
  160 + "releasePolicy": "NEVER"
161 161 },
162 162 "path": "curve-middle.png",
163 163 "actors": []
... ... @@ -165,7 +165,7 @@
165 165 {
166 166 "type": "ImageActor",
167 167 "name": "Jelly",
168   - "relayout-enabled": false,
  168 + "relayoutEnabled": false,
169 169 "position": [
170 170 374,
171 171 215,
... ... @@ -187,8 +187,8 @@
187 187 "filename": "{DALI_IMAGE_DIR}spot_jelly_on.png",
188 188 "width": 144,
189 189 "height": 144,
190   - "load-policy": "IMMEDIATE",
191   - "release-policy": "NEVER"
  190 + "loadPolicy": "IMMEDIATE",
  191 + "releasePolicy": "NEVER"
192 192 },
193 193 "path": "spot_jelly_on.png",
194 194 "actors": []
... ... @@ -196,7 +196,7 @@
196 196 {
197 197 "type": "Control",
198 198 "name": "Left Crop",
199   - "relayout-enabled": false,
  199 + "relayoutEnabled": false,
200 200 "position": [
201 201 144.5,
202 202 218.5,
... ... @@ -220,7 +220,7 @@
220 220 {
221 221 "type": "Control",
222 222 "name": "Right Crop",
223   - "relayout-enabled": false,
  223 + "relayoutEnabled": false,
224 224 "position": [
225 225 629.5,
226 226 218.5,
... ... @@ -244,7 +244,7 @@
244 244 {
245 245 "type": "ImageActor",
246 246 "name": "JellyOff",
247   - "relayout-enabled": false,
  247 + "relayoutEnabled": false,
248 248 "position": [
249 249 121,
250 250 -117,
... ... @@ -266,8 +266,8 @@
266 266 "filename": "{DALI_IMAGE_DIR}spot_jelly_off.png",
267 267 "width": 144,
268 268 "height": 144,
269   - "load-policy": "IMMEDIATE",
270   - "release-policy": "NEVER"
  269 + "loadPolicy": "IMMEDIATE",
  270 + "releasePolicy": "NEVER"
271 271 },
272 272 "path": "spot_jelly_off.png",
273 273 "actors": []
... ... @@ -275,7 +275,7 @@
275 275 {
276 276 "type": "Control",
277 277 "name": "Control On",
278   - "relayout-enabled": false,
  278 + "relayoutEnabled": false,
279 279 "position": [
280 280 371.26116838487997,
281 281 217.33333333333331,
... ... @@ -310,7 +310,7 @@
310 310 {
311 311 "type": "Control",
312 312 "name": "Control Off",
313   - "relayout-enabled": false,
  313 + "relayoutEnabled": false,
314 314 "position": [
315 315 123.5,
316 316 -117,
... ... @@ -349,8 +349,8 @@
349 349 214.5,
350 350 0
351 351 ],
352   - "alpha-function": "EASE_OUT",
353   - "time-period": {
  352 + "alphaFunction": "EASE_OUT",
  353 + "timePeriod": {
354 354 "delay": 3.106,
355 355 "duration": 1.465
356 356 },
... ... @@ -364,8 +364,8 @@
364 364 214.5,
365 365 0
366 366 ],
367   - "alpha-function": "EASE_OUT",
368   - "time-period": {
  367 + "alphaFunction": "EASE_OUT",
  368 + "timePeriod": {
369 369 "delay": 3.106,
370 370 "duration": 1.465
371 371 },
... ... @@ -379,8 +379,8 @@
379 379 161,
380 380 1
381 381 ],
382   - "alpha-function": "EASE_OUT",
383   - "time-period": {
  382 + "alphaFunction": "EASE_OUT",
  383 + "timePeriod": {
384 384 "delay": 0,
385 385 "duration": 1.27
386 386 },
... ... @@ -394,8 +394,8 @@
394 394 161,
395 395 1
396 396 ],
397   - "alpha-function": "EASE_OUT",
398   - "time-period": {
  397 + "alphaFunction": "EASE_OUT",
  398 + "timePeriod": {
399 399 "delay": 3.127,
400 400 "duration": 1.44
401 401 },
... ... @@ -409,8 +409,8 @@
409 409 215,
410 410 0
411 411 ],
412   - "alpha-function": "EASE_OUT",
413   - "time-period": {
  412 + "alphaFunction": "EASE_OUT",
  413 + "timePeriod": {
414 414 "delay": 1.486,
415 415 "duration": 1.29
416 416 },
... ... @@ -424,8 +424,8 @@
424 424 218.5,
425 425 0.5
426 426 ],
427   - "alpha-function": "EASE_OUT",
428   - "time-period": {
  427 + "alphaFunction": "EASE_OUT",
  428 + "timePeriod": {
429 429 "delay": 3.106,
430 430 "duration": 1.47
431 431 },
... ... @@ -439,8 +439,8 @@
439 439 214.5,
440 440 0
441 441 ],
442   - "alpha-function": "EASE_OUT",
443   - "time-period": {
  442 + "alphaFunction": "EASE_OUT",
  443 + "timePeriod": {
444 444 "delay": 0,
445 445 "duration": 1.27
446 446 },
... ... @@ -454,8 +454,8 @@
454 454 218.5,
455 455 0.5
456 456 ],
457   - "alpha-function": "EASE_OUT",
458   - "time-period": {
  457 + "alphaFunction": "EASE_OUT",
  458 + "timePeriod": {
459 459 "delay": 0,
460 460 "duration": 1.276
461 461 },
... ... @@ -469,8 +469,8 @@
469 469 217.33333333333331,
470 470 0
471 471 ],
472   - "alpha-function": "LINEAR",
473   - "time-period": {
  472 + "alphaFunction": "LINEAR",
  473 + "timePeriod": {
474 474 "delay": 2.765,
475 475 "duration": 0.001
476 476 },
... ... @@ -484,8 +484,8 @@
484 484 -117,
485 485 0
486 486 ],
487   - "alpha-function": "LINEAR",
488   - "time-period": {
  487 + "alphaFunction": "LINEAR",
  488 + "timePeriod": {
489 489 "delay": 0,
490 490 "duration": 0.001
491 491 },
... ... @@ -499,8 +499,8 @@
499 499 215,
500 500 0
501 501 ],
502   - "alpha-function": "LINEAR",
503   - "time-period": {
  502 + "alphaFunction": "LINEAR",
  503 + "timePeriod": {
504 504 "delay": 2.765,
505 505 "duration": 0.001
506 506 },
... ... @@ -514,8 +514,8 @@
514 514 -117,
515 515 0
516 516 ],
517   - "alpha-function": "LINEAR",
518   - "time-period": {
  517 + "alphaFunction": "LINEAR",
  518 + "timePeriod": {
519 519 "delay": 2.765,
520 520 "duration": 0.001
521 521 },
... ... @@ -529,8 +529,8 @@
529 529 -117,
530 530 0
531 531 ],
532   - "alpha-function": "LINEAR",
533   - "time-period": {
  532 + "alphaFunction": "LINEAR",
  533 + "timePeriod": {
534 534 "delay": 0,
535 535 "duration": 0.001
536 536 },
... ... @@ -549,8 +549,8 @@
549 549 214.5,
550 550 0
551 551 ],
552   - "alpha-function": "EASE_OUT",
553   - "time-period": {
  552 + "alphaFunction": "EASE_OUT",
  553 + "timePeriod": {
554 554 "delay": 0,
555 555 "duration": 1.27
556 556 },
... ... @@ -564,8 +564,8 @@
564 564 214.5,
565 565 0
566 566 ],
567   - "alpha-function": "EASE_OUT",
568   - "time-period": {
  567 + "alphaFunction": "EASE_OUT",
  568 + "timePeriod": {
569 569 "delay": 0,
570 570 "duration": 1.27
571 571 },
... ... @@ -579,8 +579,8 @@
579 579 161,
580 580 1
581 581 ],
582   - "alpha-function": "EASE_OUT",
583   - "time-period": {
  582 + "alphaFunction": "EASE_OUT",
  583 + "timePeriod": {
584 584 "delay": 0,
585 585 "duration": 1.27
586 586 },
... ... @@ -594,8 +594,8 @@
594 594 161,
595 595 1
596 596 ],
597   - "alpha-function": "EASE_OUT",
598   - "time-period": {
  597 + "alphaFunction": "EASE_OUT",
  598 + "timePeriod": {
599 599 "delay": 3.127,
600 600 "duration": 1.44
601 601 },
... ... @@ -609,8 +609,8 @@
609 609 215,
610 610 0
611 611 ],
612   - "alpha-function": "EASE_OUT",
613   - "time-period": {
  612 + "alphaFunction": "EASE_OUT",
  613 + "timePeriod": {
614 614 "delay": 1.486,
615 615 "duration": 1.29
616 616 },
... ... @@ -624,8 +624,8 @@
624 624 219,
625 625 0
626 626 ],
627   - "alpha-function": "EASE_OUT",
628   - "time-period": {
  627 + "alphaFunction": "EASE_OUT",
  628 + "timePeriod": {
629 629 "delay": 0,
630 630 "duration": 1.276
631 631 },
... ... @@ -639,8 +639,8 @@
639 639 214.5,
640 640 0.5
641 641 ],
642   - "alpha-function": "EASE_OUT",
643   - "time-period": {
  642 + "alphaFunction": "EASE_OUT",
  643 + "timePeriod": {
644 644 "delay": 3.106,
645 645 "duration": 1.465
646 646 },
... ... @@ -654,8 +654,8 @@
654 654 218.5,
655 655 0.5
656 656 ],
657   - "alpha-function": "EASE_OUT",
658   - "time-period": {
  657 + "alphaFunction": "EASE_OUT",
  658 + "timePeriod": {
659 659 "delay": 3.106,
660 660 "duration": 1.47
661 661 },
... ... @@ -669,8 +669,8 @@
669 669 -131,
670 670 0
671 671 ],
672   - "alpha-function": "LINEAR",
673   - "time-period": {
  672 + "alphaFunction": "LINEAR",
  673 + "timePeriod": {
674 674 "delay": 0,
675 675 "duration": 0.001
676 676 },
... ... @@ -684,8 +684,8 @@
684 684 215,
685 685 0
686 686 ],
687   - "alpha-function": "LINEAR",
688   - "time-period": {
  687 + "alphaFunction": "LINEAR",
  688 + "timePeriod": {
689 689 "delay": 2.765,
690 690 "duration": 0.001
691 691 },
... ... @@ -699,8 +699,8 @@
699 699 -117,
700 700 0
701 701 ],
702   - "alpha-function": "LINEAR",
703   - "time-period": {
  702 + "alphaFunction": "LINEAR",
  703 + "timePeriod": {
704 704 "delay": 2.765,
705 705 "duration": 0.001
706 706 },
... ... @@ -714,8 +714,8 @@
714 714 215,
715 715 0
716 716 ],
717   - "alpha-function": "LINEAR",
718   - "time-period": {
  717 + "alphaFunction": "LINEAR",
  718 + "timePeriod": {
719 719 "delay": 2.765,
720 720 "duration": 0.001
721 721 },
... ...
resources/scripts/animated-colors.json
... ... @@ -27,13 +27,13 @@
27 27 0,
28 28 0
29 29 ],
30   - "inherit-position": true,
31   - "parent-origin": [
  30 + "inheritPosition": true,
  31 + "parentOrigin": [
32 32 0,
33 33 0.5,
34 34 0.5
35 35 ],
36   - "anchor-point": [
  36 + "anchorPoint": [
37 37 1,
38 38 0.5,
39 39 0.5
... ... @@ -63,13 +63,13 @@
63 63 0,
64 64 0
65 65 ],
66   - "inherit-position": true,
67   - "parent-origin": [
  66 + "inheritPosition": true,
  67 + "parentOrigin": [
68 68 0,
69 69 0.5,
70 70 0.5
71 71 ],
72   - "anchor-point": [
  72 + "anchorPoint": [
73 73 1,
74 74 0.5,
75 75 0.5
... ... @@ -99,13 +99,13 @@
99 99 0,
100 100 0
101 101 ],
102   - "inherit-position": true,
103   - "parent-origin": [
  102 + "inheritPosition": true,
  103 + "parentOrigin": [
104 104 1,
105 105 0.5,
106 106 0.5
107 107 ],
108   - "anchor-point": [
  108 + "anchorPoint": [
109 109 0,
110 110 0.5,
111 111 0.5
... ... @@ -131,13 +131,13 @@
131 131 0,
132 132 0
133 133 ],
134   - "inherit-position": true,
135   - "parent-origin": [
  134 + "inheritPosition": true,
  135 + "parentOrigin": [
136 136 1,
137 137 0.5,
138 138 0.5
139 139 ],
140   - "anchor-point": [
  140 + "anchorPoint": [
141 141 0,
142 142 0.5,
143 143 0.5
... ... @@ -167,13 +167,13 @@
167 167 0,
168 168 0
169 169 ],
170   - "inherit-position": true,
171   - "parent-origin": [
  170 + "inheritPosition": true,
  171 + "parentOrigin": [
172 172 0,
173 173 0.5,
174 174 0.5
175 175 ],
176   - "anchor-point": [
  176 + "anchorPoint": [
177 177 1,
178 178 0.5,
179 179 0.5
... ... @@ -203,13 +203,13 @@
203 203 0,
204 204 0
205 205 ],
206   - "inherit-position": true,
207   - "parent-origin": [
  206 + "inheritPosition": true,
  207 + "parentOrigin": [
208 208 1,
209 209 0.5,
210 210 0.5
211 211 ],
212   - "anchor-point": [
  212 + "anchorPoint": [
213 213 0,
214 214 0.5,
215 215 0.5
... ... @@ -235,13 +235,13 @@
235 235 0,
236 236 0
237 237 ],
238   - "inherit-position": true,
239   - "parent-origin": [
  238 + "inheritPosition": true,
  239 + "parentOrigin": [
240 240 1,
241 241 0.5,
242 242 0.5
243 243 ],
244   - "anchor-point": [
  244 + "anchorPoint": [
245 245 0,
246 246 0.5,
247 247 0.5
... ... @@ -271,13 +271,13 @@
271 271 0,
272 272 0
273 273 ],
274   - "inherit-position": true,
275   - "parent-origin": [
  274 + "inheritPosition": true,
  275 + "parentOrigin": [
276 276 0,
277 277 0.5,
278 278 0.5
279 279 ],
280   - "anchor-point": [
  280 + "anchorPoint": [
281 281 1,
282 282 0.5,
283 283 0.5
... ... @@ -307,13 +307,13 @@
307 307 0,
308 308 0
309 309 ],
310   - "inherit-position": true,
311   - "parent-origin": [
  310 + "inheritPosition": true,
  311 + "parentOrigin": [
312 312 1,
313 313 0.5,
314 314 0.5
315 315 ],
316   - "anchor-point": [
  316 + "anchorPoint": [
317 317 0,
318 318 0.5,
319 319 0.5
... ... @@ -339,13 +339,13 @@
339 339 0,
340 340 0
341 341 ],
342   - "inherit-position": true,
343   - "parent-origin": [
  342 + "inheritPosition": true,
  343 + "parentOrigin": [
344 344 1,
345 345 0.5,
346 346 0.5
347 347 ],
348   - "anchor-point": [
  348 + "anchorPoint": [
349 349 0,
350 350 0.5,
351 351 0.5
... ... @@ -371,13 +371,13 @@
371 371 0,
372 372 0
373 373 ],
374   - "inherit-position": true,
375   - "parent-origin": [
  374 + "inheritPosition": true,
  375 + "parentOrigin": [
376 376 0.5,
377 377 1,
378 378 0.5
379 379 ],
380   - "anchor-point": [
  380 + "anchorPoint": [
381 381 0.5,
382 382 0,
383 383 0.5
... ... @@ -403,13 +403,13 @@
403 403 0,
404 404 0
405 405 ],
406   - "inherit-position": true,
407   - "parent-origin": [
  406 + "inheritPosition": true,
  407 + "parentOrigin": [
408 408 0.5,
409 409 1,
410 410 0.5
411 411 ],
412   - "anchor-point": [
  412 + "anchorPoint": [
413 413 0.5,
414 414 0,
415 415 0.5
... ... @@ -435,13 +435,13 @@
435 435 0,
436 436 0
437 437 ],
438   - "inherit-position": true,
439   - "parent-origin": [
  438 + "inheritPosition": true,
  439 + "parentOrigin": [
440 440 0.5,
441 441 1,
442 442 0.5
443 443 ],
444   - "anchor-point": [
  444 + "anchorPoint": [
445 445 0.5,
446 446 0,
447 447 0.5
... ... @@ -471,13 +471,13 @@
471 471 0,
472 472 0
473 473 ],
474   - "inherit-position": true,
475   - "parent-origin": [
  474 + "inheritPosition": true,
  475 + "parentOrigin": [
476 476 1,
477 477 0.5,
478 478 0.5
479 479 ],
480   - "anchor-point": [
  480 + "anchorPoint": [
481 481 0,
482 482 0.5,
483 483 0.5
... ... @@ -503,13 +503,13 @@
503 503 0,
504 504 0
505 505 ],
506   - "inherit-position": true,
507   - "parent-origin": [
  506 + "inheritPosition": true,
  507 + "parentOrigin": [
508 508 1,
509 509 0.5,
510 510 0.5
511 511 ],
512   - "anchor-point": [
  512 + "anchorPoint": [
513 513 0,
514 514 0.5,
515 515 0.5
... ... @@ -542,13 +542,13 @@
542 542 0,
543 543 0
544 544 ],
545   - "inherit-position": true,
546   - "parent-origin": [
  545 + "inheritPosition": true,
  546 + "parentOrigin": [
547 547 1,
548 548 0.5,
549 549 0.5
550 550 ],
551   - "anchor-point": [
  551 + "anchorPoint": [
552 552 0,
553 553 0.5,
554 554 0.5
... ... @@ -574,13 +574,13 @@
574 574 0,
575 575 0
576 576 ],
577   - "inherit-position": true,
578   - "parent-origin": [
  577 + "inheritPosition": true,
  578 + "parentOrigin": [
579 579 1,
580 580 0.5,
581 581 0.5
582 582 ],
583   - "anchor-point": [
  583 + "anchorPoint": [
584 584 0,
585 585 0.5,
586 586 0.5
... ... @@ -607,13 +607,13 @@
607 607 0,
608 608 0
609 609 ],
610   - "inherit-position": true,
611   - "parent-origin": [
  610 + "inheritPosition": true,
  611 + "parentOrigin": [
612 612 0,
613 613 0.5,
614 614 0.5
615 615 ],
616   - "anchor-point": [
  616 + "anchorPoint": [
617 617 1,
618 618 0.5,
619 619 0.5
... ... @@ -646,13 +646,13 @@
646 646 0,
647 647 0
648 648 ],
649   - "inherit-position": true,
650   - "parent-origin": [
  649 + "inheritPosition": true,
  650 + "parentOrigin": [
651 651 1,
652 652 0.5,
653 653 0.5
654 654 ],
655   - "anchor-point": [
  655 + "anchorPoint": [
656 656 0,
657 657 0.5,
658 658 0.5
... ... @@ -678,13 +678,13 @@
678 678 0,
679 679 0
680 680 ],
681   - "inherit-position": true,
682   - "parent-origin": [
  681 + "inheritPosition": true,
  682 + "parentOrigin": [
683 683 1,
684 684 0.5,
685 685 0.5
686 686 ],
687   - "anchor-point": [
  687 + "anchorPoint": [
688 688 0,
689 689 0.5,
690 690 0.5
... ... @@ -711,13 +711,13 @@
711 711 0,
712 712 0
713 713 ],
714   - "inherit-position": true,
715   - "parent-origin": [
  714 + "inheritPosition": true,
  715 + "parentOrigin": [
716 716 0,
717 717 0.5,
718 718 0.5
719 719 ],
720   - "anchor-point": [
  720 + "anchorPoint": [
721 721 1,
722 722 0.5,
723 723 0.5
... ... @@ -743,13 +743,13 @@
743 743 0,
744 744 0
745 745 ],
746   - "inherit-position": true,
747   - "parent-origin": [
  746 + "inheritPosition": true,
  747 + "parentOrigin": [
748 748 0.5,
749 749 0,
750 750 0.5
751 751 ],
752   - "anchor-point": [
  752 + "anchorPoint": [
753 753 0.5,
754 754 1,
755 755 0.5
... ... @@ -775,13 +775,13 @@
775 775 0,
776 776 0
777 777 ],
778   - "inherit-position": true,
779   - "parent-origin": [
  778 + "inheritPosition": true,
  779 + "parentOrigin": [
780 780 0.5,
781 781 0,
782 782 0.5
783 783 ],
784   - "anchor-point": [
  784 + "anchorPoint": [
785 785 0.5,
786 786 1,
787 787 0.5
... ... @@ -803,10 +803,10 @@
803 803 {
804 804 "type": "TextLabel",
805 805 "name": "text",
806   - "parent-origin": "CENTER",
807   - "anchor-point": "CENTER",
  806 + "parentOrigin": "CENTER",
  807 + "anchorPoint": "CENTER",
808 808 "text": "START",
809   - "point-size": 20,
  809 + "pointSize": 20,
810 810 "signals": [
811 811 {
812 812 "name": "tapped",
... ... @@ -827,13 +827,13 @@
827 827 0,
828 828 0
829 829 ],
830   - "inherit-position": true,
831   - "parent-origin": [
  830 + "inheritPosition": true,
  831 + "parentOrigin": [
832 832 0.5,
833 833 0.5,
834 834 0.5
835 835 ],
836   - "anchor-point": [
  836 + "anchorPoint": [
837 837 1,
838 838 1,
839 839 0.5
... ... @@ -865,8 +865,8 @@
865 865 0,
866 866 0
867 867 ],
868   - "alpha-function": "LINEAR",
869   - "time-period": {
  868 + "alphaFunction": "LINEAR",
  869 + "timePeriod": {
870 870 "delay": 0,
871 871 "duration": 0.2
872 872 },
... ... @@ -886,8 +886,8 @@
886 886 0.32941176470588235,
887 887 1
888 888 ],
889   - "alpha-function": "SIN",
890   - "time-period": {
  889 + "alphaFunction": "SIN",
  890 + "timePeriod": {
891 891 "delay": 0,
892 892 "duration": 2
893 893 },
... ... @@ -902,8 +902,8 @@
902 902 0.9098039215686274,
903 903 1
904 904 ],
905   - "alpha-function": "SIN",
906   - "time-period": {
  905 + "alphaFunction": "SIN",
  906 + "timePeriod": {
907 907 "delay": 0,
908 908 "duration": 2
909 909 },
... ... @@ -918,8 +918,8 @@
918 918 0.4235294117647059,
919 919 1
920 920 ],
921   - "alpha-function": "SIN",
922   - "time-period": {
  921 + "alphaFunction": "SIN",
  922 + "timePeriod": {
923 923 "delay": 0,
924 924 "duration": 2
925 925 },
... ... @@ -934,8 +934,8 @@
934 934 0.027450980392156862,
935 935 1
936 936 ],
937   - "alpha-function": "SIN",
938   - "time-period": {
  937 + "alphaFunction": "SIN",
  938 + "timePeriod": {
939 939 "delay": 0,
940 940 "duration": 2
941 941 },
... ... @@ -950,8 +950,8 @@
950 950 0.8627450980392157,
951 951 1
952 952 ],
953   - "alpha-function": "SIN",
954   - "time-period": {
  953 + "alphaFunction": "SIN",
  954 + "timePeriod": {
955 955 "delay": 0,
956 956 "duration": 2
957 957 },
... ... @@ -966,8 +966,8 @@
966 966 0.1803921568627451,
967 967 1
968 968 ],
969   - "alpha-function": "SIN",
970   - "time-period": {
  969 + "alphaFunction": "SIN",
  970 + "timePeriod": {
971 971 "delay": 0,
972 972 "duration": 2
973 973 },
... ... @@ -982,8 +982,8 @@
982 982 0.5333333333333333,
983 983 1
984 984 ],
985   - "alpha-function": "SIN",
986   - "time-period": {
  985 + "alphaFunction": "SIN",
  986 + "timePeriod": {
987 987 "delay": 0,
988 988 "duration": 2
989 989 },
... ... @@ -998,8 +998,8 @@
998 998 0,
999 999 1
1000 1000 ],
1001   - "alpha-function": "SIN",
1002   - "time-period": {
  1001 + "alphaFunction": "SIN",
  1002 + "timePeriod": {
1003 1003 "delay": 0,
1004 1004 "duration": 2
1005 1005 },
... ... @@ -1014,8 +1014,8 @@
1014 1014 1,
1015 1015 1
1016 1016 ],
1017   - "alpha-function": "SIN",
1018   - "time-period": {
  1017 + "alphaFunction": "SIN",
  1018 + "timePeriod": {
1019 1019 "delay": 0,
1020 1020 "duration": 2
1021 1021 },
... ... @@ -1030,8 +1030,8 @@
1030 1030 0.06666666666666667,
1031 1031 1
1032 1032 ],
1033   - "alpha-function": "SIN",
1034   - "time-period": {
  1033 + "alphaFunction": "SIN",
  1034 + "timePeriod": {
1035 1035 "delay": 0,
1036 1036 "duration": 2
1037 1037 },
... ... @@ -1046,8 +1046,8 @@
1046 1046 0,
1047 1047 1
1048 1048 ],
1049   - "alpha-function": "SIN",
1050   - "time-period": {
  1049 + "alphaFunction": "SIN",
  1050 + "timePeriod": {
1051 1051 "delay": 0,
1052 1052 "duration": 2
1053 1053 },
... ... @@ -1062,8 +1062,8 @@
1062 1062 0.788235294117647,
1063 1063 1
1064 1064 ],
1065   - "alpha-function": "SIN",
1066   - "time-period": {
  1065 + "alphaFunction": "SIN",
  1066 + "timePeriod": {
1067 1067 "delay": 0,
1068 1068 "duration": 2
1069 1069 },
... ... @@ -1078,8 +1078,8 @@
1078 1078 0.7294117647058823,
1079 1079 1
1080 1080 ],
1081   - "alpha-function": "SIN",
1082   - "time-period": {
  1081 + "alphaFunction": "SIN",
  1082 + "timePeriod": {
1083 1083 "delay": 0.001,
1084 1084 "duration": 2
1085 1085 },
... ... @@ -1094,8 +1094,8 @@
1094 1094 1,
1095 1095 1
1096 1096 ],
1097   - "alpha-function": "SIN",
1098   - "time-period": {
  1097 + "alphaFunction": "SIN",
  1098 + "timePeriod": {
1099 1099 "delay": 0,
1100 1100 "duration": 2
1101 1101 },
... ... @@ -1110,8 +1110,8 @@
1110 1110 0,
1111 1111 1
1112 1112 ],
1113   - "alpha-function": "SIN",
1114   - "time-period": {
  1113 + "alphaFunction": "SIN",
  1114 + "timePeriod": {
1115 1115 "delay": 0,
1116 1116 "duration": 2
1117 1117 },
... ... @@ -1126,8 +1126,8 @@
1126 1126 0.5607843137254902,
1127 1127 1
1128 1128 ],
1129   - "alpha-function": "SIN",
1130   - "time-period": {
  1129 + "alphaFunction": "SIN",
  1130 + "timePeriod": {
1131 1131 "delay": 0,
1132 1132 "duration": 2
1133 1133 },
... ... @@ -1142,8 +1142,8 @@
1142 1142 1,
1143 1143 1
1144 1144 ],
1145   - "alpha-function": "SIN",
1146   - "time-period": {
  1145 + "alphaFunction": "SIN",
  1146 + "timePeriod": {
1147 1147 "delay": 0,
1148 1148 "duration": 2
1149 1149 },
... ... @@ -1158,8 +1158,8 @@
1158 1158 0,
1159 1159 1
1160 1160 ],
1161   - "alpha-function": "SIN",
1162   - "time-period": {
  1161 + "alphaFunction": "SIN",
  1162 + "timePeriod": {
1163 1163 "delay": 0.001,
1164 1164 "duration": 2
1165 1165 },
... ... @@ -1174,8 +1174,8 @@
1174 1174 0.24313725490196078,
1175 1175 1
1176 1176 ],
1177   - "alpha-function": "SIN",
1178   - "time-period": {
  1177 + "alphaFunction": "SIN",
  1178 + "timePeriod": {
1179 1179 "delay": 0,
1180 1180 "duration": 2
1181 1181 },
... ... @@ -1190,8 +1190,8 @@
1190 1190 0.43137254901960786,
1191 1191 1
1192 1192 ],
1193   - "alpha-function": "SIN",
1194   - "time-period": {
  1193 + "alphaFunction": "SIN",
  1194 + "timePeriod": {
1195 1195 "delay": 0,
1196 1196 "duration": 2
1197 1197 },
... ... @@ -1206,8 +1206,8 @@
1206 1206 0,
1207 1207 1
1208 1208 ],
1209   - "alpha-function": "SIN",
1210   - "time-period": {
  1209 + "alphaFunction": "SIN",
  1210 + "timePeriod": {
1211 1211 "delay": 0,
1212 1212 "duration": 2
1213 1213 },
... ... @@ -1222,8 +1222,8 @@
1222 1222 1,
1223 1223 1
1224 1224 ],
1225   - "alpha-function": "SIN",
1226   - "time-period": {
  1225 + "alphaFunction": "SIN",
  1226 + "timePeriod": {
1227 1227 "delay": 0,
1228 1228 "duration": 2
1229 1229 },
... ... @@ -1238,8 +1238,8 @@
1238 1238 0.6784313725490196,
1239 1239 1
1240 1240 ],
1241   - "alpha-function": "SIN",
1242   - "time-period": {
  1241 + "alphaFunction": "SIN",
  1242 + "timePeriod": {
1243 1243 "delay": 0,
1244 1244 "duration": 2
1245 1245 },
... ... @@ -1254,8 +1254,8 @@
1254 1254 0.4196078431372549,
1255 1255 1
1256 1256 ],
1257   - "alpha-function": "SIN",
1258   - "time-period": {
  1257 + "alphaFunction": "SIN",
  1258 + "timePeriod": {
1259 1259 "delay": 0,
1260 1260 "duration": 2
1261 1261 },
... ...
resources/scripts/animation.json
... ... @@ -17,11 +17,11 @@
17 17 {
18 18 // library of styles
19 19 "styles": {
20   - "red-theme": {
  20 + "redTheme": {
21 21 "color": [1, 0, 0, 1]
22 22 },
23   - "basic-text": {
24   - "parent-origin": "CENTER"
  23 + "basicText": {
  24 + "parentOrigin": "CENTER"
25 25 }
26 26 },
27 27 "paths":
... ... @@ -40,8 +40,8 @@
40 40 "actor": "greeting", // referenced actors must exist on stage
41 41 "property": "position",
42 42 "value": [300, 300, -1000],
43   - "alpha-function": "EASE_IN_OUT",
44   - "time-period": {
  43 + "alphaFunction": "EASE_IN_OUT",
  44 + "timePeriod": {
45 45 "delay": 0,
46 46 "duration": 3
47 47 }
... ... @@ -49,7 +49,7 @@
49 49 "actor": "greeting", // referenced actors must exist on stage
50 50 "property": "scale",
51 51 "value": [5, 5, 1],
52   - "time-period": {
  52 + "timePeriod": {
53 53 "delay": 2,
54 54 "duration": 3
55 55 }
... ... @@ -61,21 +61,21 @@
61 61 "actor": "image", // referenced actors must exist on stage
62 62 "property": "orientation",
63 63 "value": [0, 0, -45],
64   - "alpha-function": "EASE_IN_OUT",
65   - "time-period": {
  64 + "alphaFunction": "EASE_IN_OUT",
  65 + "timePeriod": {
66 66 "delay": 0,
67 67 "duration": 3
68 68 }
69 69 }]
70 70 },
71   - "path-animation": {
  71 + "pathAnimation": {
72 72 "duration": 3.0,
73 73 "properties": [{
74 74 "actor": "greeting2", // referenced actors must exist on stage
75 75 "path":"path0",
76 76 "forward":[1,0,0],
77   - "alpha-function": "EASE_IN_OUT",
78   - "time-period": {
  77 + "alphaFunction": "EASE_IN_OUT",
  78 + "timePeriod": {
79 79 "delay": 0,
80 80 "duration": 3
81 81 }
... ... @@ -87,7 +87,7 @@
87 87 "name": "greeting",
88 88 "type": "TextLabel",
89 89 "text": "Touch me",
90   - "styles": ["basic-text"],
  90 + "styles": ["basicText"],
91 91 "position": [0, -120, 0],
92 92 "size": [200, 200, 1],
93 93 "orientation": [0, 0, 30],
... ... @@ -99,8 +99,8 @@
99 99 }, {
100 100 "name":"greeting2",
101 101 "type": "TextLabel",
102   - "parent-origin": "CENTER",
103   - "anchor-point": "CENTER",
  102 + "parentOrigin": "CENTER",
  103 + "anchorPoint": "CENTER",
104 104 "size": [200, 200, 1],
105 105 "orientation": [0, 0, 39],
106 106 "position": [-150, -50, 0],
... ... @@ -108,12 +108,12 @@
108 108 "signals": [{
109 109 "name": "touched",
110 110 "action": "play",
111   - "animation": "path-animation"
  111 + "animation": "pathAnimation"
112 112 }]
113 113 }, {
114 114 "type": "TextLabel", // styles can be additive
115   - "parent-origin": "CENTER",
116   - "anchor-point": "CENTER",
  115 + "parentOrigin": "CENTER",
  116 + "anchorPoint": "CENTER",
117 117 "size": [200, 200, 1],
118 118 "text": "or the image.."
119 119 }, {
... ... @@ -122,7 +122,7 @@
122 122 "image": {
123 123 "filename": "{DALI_IMAGE_DIR}gallery-large-21.jpg"
124 124 },
125   - "relayout-enabled": false,
  125 + "relayoutEnabled": false,
126 126 "position": [0, 200, 0],
127 127 "size": [200, 200, 1],
128 128 "signals": [{
... ... @@ -130,6 +130,6 @@
130 130 "action": "play",
131 131 "animation": "rotate"
132 132 }],
133   - "position-inheritance": "DONT_INHERIT_POSITION"
  133 + "positionInheritance": "DONT_INHERIT_POSITION"
134 134 }]
135 135 }
... ...
resources/scripts/background-color.json
... ... @@ -19,12 +19,12 @@
19 19 // A TextLabel with a red background
20 20 {
21 21 "type": "TextLabel",
22   - "draw-mode": "OVERLAY_2D",
  22 + "drawMode": "OVERLAY_2D",
23 23 "text": "Hello World",
24   - "parent-origin": "TOP_CENTER",
25   - "anchor-point": "TOP_CENTER",
  24 + "parentOrigin": "TOP_CENTER",
  25 + "anchorPoint": "TOP_CENTER",
26 26 "position": [0, 50, 0],
27   - "point-size": 40,
  27 + "pointSize": 40,
28 28 "size": [400, 150, 1],
29 29 "background":{
30 30 "color": [1, 0, 0, 1]
... ... @@ -34,9 +34,9 @@
34 34 // A container with a yellow background
35 35 {
36 36 "type": "Control",
37   - "relayout-enabled": false,
38   - "parent-origin": "CENTER",
39   - "anchor-point": "BOTTOM_CENTER",
  37 + "relayoutEnabled": false,
  38 + "parentOrigin": "CENTER",
  39 + "anchorPoint": "BOTTOM_CENTER",
40 40 "size": [400, 150, 1],
41 41 "background":{
42 42 "color": [1, 1, 0, 1]
... ... @@ -46,9 +46,9 @@
46 46 // A container with an image
47 47 {
48 48 "type": "Control",
49   - "relayout-enabled": false,
50   - "parent-origin": "CENTER",
51   - "anchor-point": "TOP_CENTER",
  49 + "relayoutEnabled": false,
  50 + "parentOrigin": "CENTER",
  51 + "anchorPoint": "TOP_CENTER",
52 52 "size": [400, 150, 1],
53 53 "background": {
54 54 "filename": "{DALI_IMAGE_DIR}button-background.png"
... ... @@ -58,9 +58,9 @@
58 58 // A container with the same image blended in with a blue background
59 59 {
60 60 "type": "Control",
61   - "relayout-enabled": false,
62   - "parent-origin": "BOTTOM_CENTER",
63   - "anchor-point": "BOTTOM_CENTER",
  61 + "relayoutEnabled": false,
  62 + "parentOrigin": "BOTTOM_CENTER",
  63 + "anchorPoint": "BOTTOM_CENTER",
64 64 "size": [400, 150, 1],
65 65 "background": {
66 66 "filename": "{DALI_IMAGE_DIR}button-background.png"
... ...
resources/scripts/button.json
... ... @@ -22,46 +22,46 @@
22 22 // First Button
23 23 {
24 24 "type": "PushButton",
25   - "parent-origin": "TOP_CENTER",
26   - "anchor-point": "TOP_CENTER",
  25 + "parentOrigin": "TOP_CENTER",
  26 + "anchorPoint": "TOP_CENTER",
27 27 "position": [0, 0, 0],
28 28 "size": [400, 200, 0],
29   - "unselected-state-image": "{DALI_IMAGE_DIR}blocks-brick-1.png",
30   - "selected-state-image": "{DALI_IMAGE_DIR}blocks-brick-2.png",
31   - "label-text": "Normal"
  29 + "unselectedStateImage": "{DALI_IMAGE_DIR}blocks-brick-1.png",
  30 + "selectedStateImage": "{DALI_IMAGE_DIR}blocks-brick-2.png",
  31 + "labelText": "Normal"
32 32 },
33 33  
34 34 // Second Button
35 35 {
36 36 "type": "PushButton",
37   - "parent-origin": "CENTER",
38   - "anchor-point": "CENTER",
  37 + "parentOrigin": "CENTER",
  38 + "anchorPoint": "CENTER",
39 39 "position": [0, 0, 0],
40 40 "size": [400, 200, 0],
41 41 "disabled": true,
42   - "unselected-state-image": "{DALI_IMAGE_DIR}blocks-brick-1.png",
43   - "selected-state-image": "{DALI_IMAGE_DIR}blocks-brick-2.png",
44   - "disabled-state-image": "{DALI_IMAGE_DIR}blocks-brick-3.png",
45   - "label-text": "Disabled"
  42 + "unselectedStateImage": "{DALI_IMAGE_DIR}blocks-brick-1.png",
  43 + "selectedStateImage": "{DALI_IMAGE_DIR}blocks-brick-2.png",
  44 + "disabledStateImage": "{DALI_IMAGE_DIR}blocks-brick-3.png",
  45 + "labelText": "Disabled"
46 46 },
47 47  
48 48 // Third Button
49 49 {
50 50 "type": "PushButton",
51   - "name": "toggle-button",
52   - "parent-origin": "BOTTOM_CENTER",
53   - "anchor-point": "BOTTOM_CENTER",
  51 + "name": "toggleButton",
  52 + "parentOrigin": "BOTTOM_CENTER",
  53 + "anchorPoint": "BOTTOM_CENTER",
54 54 "position": [0, 0, 0],
55 55 "size": [400, 200, 0],
56 56 "togglable": true,
57   - "unselected-state-image": "{DALI_IMAGE_DIR}blocks-brick-1.png",
58   - "selected-state-image": "{DALI_IMAGE_DIR}blocks-brick-3.png",
59   - "label-text": "Toggle",
  57 + "unselectedStateImage": "{DALI_IMAGE_DIR}blocks-brick-1.png",
  58 + "selectedStateImage": "{DALI_IMAGE_DIR}blocks-brick-3.png",
  59 + "labelText": "Toggle",
60 60 "signals": [{
61 61 "name": "selected",
62 62 "action": "set",
63   - "actor": "toggle-button",
64   - "property": "label-actor",
  63 + "actor": "toggleButton",
  64 + "property": "labelActor",
65 65 "value": {
66 66 "type": "TextLabel",
67 67 "text": "Using a 9-patch image"
... ...
resources/scripts/choreography.json
1 1 {
2 2 "templates":
3 3 {
4   - "circle-control":
  4 + "circleControl":
5 5 {
6 6 "type": "ImageActor",
7   - "inherit-position": true,
  7 + "inheritPosition": true,
8 8 "size": [
9 9 70,
10 10 70,
... ... @@ -20,7 +20,7 @@
20 20 "filename": "{DALI_IMAGE_DIR}circle.png"
21 21 }
22 22 },
23   - "rectangle-control":
  23 + "rectangleControl":
24 24 {
25 25 "type": "Control",
26 26 "size": [
... ... @@ -29,7 +29,7 @@
29 29 1
30 30 ],
31 31 "background": {"color": [0.95, 0.41, 0.18, 1] },
32   - "color-alpha": 0
  32 + "colorAlpha": 0
33 33 }
34 34 },
35 35 "stage": [
... ... @@ -42,7 +42,7 @@
42 42 105,
43 43 0
44 44 ],
45   - "inherit-position": true,
  45 + "inheritPosition": true,
46 46 "size": [
47 47 20,
48 48 20,
... ... @@ -50,10 +50,10 @@
50 50 ],
51 51 "sizeAspectRatio": false,
52 52 "background": { "color": [0.85, 0.75, 0.45, 1] },
53   - "color-alpha": 0
  53 + "colorAlpha": 0
54 54 },
55 55 {
56   - "type": "circle-control",
  56 + "type": "circleControl",
57 57 "name": "Circle1",
58 58 "position": [
59 59 84,
... ... @@ -69,7 +69,7 @@
69 69 ]
70 70 },
71 71 {
72   - "type": "circle-control",
  72 + "type": "circleControl",
73 73 "name": "Circle2",
74 74 "position": [
75 75 151,
... ... @@ -78,7 +78,7 @@
78 78 ]
79 79 },
80 80 {
81   - "type": "circle-control",
  81 + "type": "circleControl",
82 82 "name": "Circle3",
83 83 "position": [
84 84 285,
... ... @@ -87,7 +87,7 @@
87 87 ]
88 88 },
89 89 {
90   - "type": "circle-control",
  90 + "type": "circleControl",
91 91 "name": "Circle4",
92 92 "position": [
93 93 218,
... ... @@ -96,7 +96,7 @@
96 96 ]
97 97 },
98 98 {
99   - "type": "rectangle-control",
  99 + "type": "rectangleControl",
100 100 "name": "Rect1",
101 101 "position": [
102 102 50,
... ... @@ -105,7 +105,7 @@
105 105 ]
106 106 },
107 107 {
108   - "type": "rectangle-control",
  108 + "type": "rectangleControl",
109 109 "name": "Rect2",
110 110 "position": [
111 111 120,
... ... @@ -114,7 +114,7 @@
114 114 ]
115 115 },
116 116 {
117   - "type": "rectangle-control",
  117 + "type": "rectangleControl",
118 118 "name": "Rect3",
119 119 "position": [
120 120 190,
... ... @@ -123,7 +123,7 @@
123 123 ]
124 124 },
125 125 {
126   - "type": "rectangle-control",
  126 + "type": "rectangleControl",
127 127 "name": "Rect4",
128 128 "position": [
129 129 260,
... ... @@ -143,8 +143,8 @@
143 143 198,
144 144 -1
145 145 ],
146   - "alpha-function": "LINEAR",
147   - "time-period": {
  146 + "alphaFunction": "LINEAR",
  147 + "timePeriod": {
148 148 "delay": 0,
149 149 "duration": 0.025
150 150 },
... ... @@ -158,8 +158,8 @@
158 158 190,
159 159 -1
160 160 ],
161   - "alpha-function": "LINEAR",
162   - "time-period": {
  161 + "alphaFunction": "LINEAR",
  162 + "timePeriod": {
163 163 "delay": 0,
164 164 "duration": 0.05
165 165 },
... ... @@ -173,8 +173,8 @@
173 173 170,
174 174 -1
175 175 ],
176   - "alpha-function": "LINEAR",
177   - "time-period": {
  176 + "alphaFunction": "LINEAR",
  177 + "timePeriod": {
178 178 "delay": 0.05,
179 179 "duration": 0.05
180 180 },
... ... @@ -188,8 +188,8 @@
188 188 150,
189 189 -1
190 190 ],
191   - "alpha-function": "LINEAR",
192   - "time-period": {
  191 + "alphaFunction": "LINEAR",
  192 + "timePeriod": {
193 193 "delay": 0.1,
194 194 "duration": 0.051
195 195 },
... ... @@ -203,8 +203,8 @@
203 203 125,
204 204 -1
205 205 ],
206   - "alpha-function": "LINEAR",
207   - "time-period": {
  206 + "alphaFunction": "LINEAR",
  207 + "timePeriod": {
208 208 "delay": 0.151,
209 209 "duration": 0.049
210 210 },
... ... @@ -218,8 +218,8 @@
218 218 100,
219 219 -1
220 220 ],
221   - "alpha-function": "LINEAR",
222   - "time-period": {
  221 + "alphaFunction": "LINEAR",
  222 + "timePeriod": {
223 223 "delay": 0.2,
224 224 "duration": 0.051
225 225 },
... ... @@ -233,8 +233,8 @@
233 233 70,
234 234 1
235 235 ],
236   - "alpha-function": "LINEAR",
237   - "time-period": {
  236 + "alphaFunction": "LINEAR",
  237 + "timePeriod": {
238 238 "delay": 0,
239 239 "duration": 0.025
240 240 },
... ... @@ -248,8 +248,8 @@
248 248 20,
249 249 1
250 250 ],
251   - "alpha-function": "LINEAR",
252   - "time-period": {
  251 + "alphaFunction": "LINEAR",
  252 + "timePeriod": {
253 253 "delay": 0.151,
254 254 "duration": 0.1
255 255 },
... ... @@ -263,8 +263,8 @@
263 263 1,
264 264 1
265 265 ],
266   - "alpha-function": "LINEAR",
267   - "time-period": {
  266 + "alphaFunction": "LINEAR",
  267 + "timePeriod": {
268 268 "delay": 0,
269 269 "duration": 0.025
270 270 },
... ... @@ -278,8 +278,8 @@
278 278 0.1,
279 279 1
280 280 ],
281   - "alpha-function": "LINEAR",
282   - "time-period": {
  281 + "alphaFunction": "LINEAR",
  282 + "timePeriod": {
283 283 "delay": 0,
284 284 "duration": 0.325
285 285 },
... ... @@ -293,8 +293,8 @@
293 293 1,
294 294 1
295 295 ],
296   - "alpha-function": "LINEAR",
297   - "time-period": {
  296 + "alphaFunction": "LINEAR",
  297 + "timePeriod": {
298 298 "delay": 0,
299 299 "duration": 0.025
300 300 },
... ... @@ -308,8 +308,8 @@
308 308 0.1,
309 309 1
310 310 ],
311   - "alpha-function": "LINEAR",
312   - "time-period": {
  311 + "alphaFunction": "LINEAR",
  312 + "timePeriod": {
313 313 "delay": 0.049,
314 314 "duration": 0.301
315 315 },
... ... @@ -323,8 +323,8 @@
323 323 1,
324 324 1
325 325 ],
326   - "alpha-function": "LINEAR",
327   - "time-period": {
  326 + "alphaFunction": "LINEAR",
  327 + "timePeriod": {
328 328 "delay": 0,
329 329 "duration": 0.025
330 330 },
... ... @@ -338,8 +338,8 @@
338 338 0.1,
339 339 1
340 340 ],
341   - "alpha-function": "LINEAR",
342   - "time-period": {
  341 + "alphaFunction": "LINEAR",
  342 + "timePeriod": {
343 343 "delay": 0.1,
344 344 "duration": 0.272
345 345 },
... ... @@ -353,8 +353,8 @@
353 353 20,
354 354 1
355 355 ],
356   - "alpha-function": "LINEAR",
357   - "time-period": {
  356 + "alphaFunction": "LINEAR",
  357 + "timePeriod": {
358 358 "delay": 0,
359 359 "duration": 0.025
360 360 },
... ... @@ -368,8 +368,8 @@
368 368 210,
369 369 1
370 370 ],
371   - "alpha-function": "LINEAR",
372   - "time-period": {
  371 + "alphaFunction": "LINEAR",
  372 + "timePeriod": {
373 373 "delay": 0.227,
374 374 "duration": 0.122
375 375 },
... ... @@ -377,10 +377,10 @@
377 377 },
378 378 {
379 379 "actor": "topContainer",
380   - "property": "color-alpha",
  380 + "property": "colorAlpha",
381 381 "value": 0,
382   - "alpha-function": "LINEAR",
383   - "time-period": {
  382 + "alphaFunction": "LINEAR",
  383 + "timePeriod": {
384 384 "delay": 0,
385 385 "duration": 0.025
386 386 },
... ... @@ -388,10 +388,10 @@
388 388 },
389 389 {
390 390 "actor": "topContainer",
391   - "property": "color-alpha",
  391 + "property": "colorAlpha",
392 392 "value": 1,
393   - "alpha-function": "LINEAR",
394   - "time-period": {
  393 + "alphaFunction": "LINEAR",
  394 + "timePeriod": {
395 395 "delay": 0.101,
396 396 "duration": 0.249
397 397 },
... ... @@ -405,8 +405,8 @@
405 405 280,
406 406 0
407 407 ],
408   - "alpha-function": "LINEAR",
409   - "time-period": {
  408 + "alphaFunction": "LINEAR",
  409 + "timePeriod": {
410 410 "delay": 0.1,
411 411 "duration": 0.075
412 412 },
... ... @@ -420,8 +420,8 @@
420 420 260,
421 421 0
422 422 ],
423   - "alpha-function": "LINEAR",
424   - "time-period": {
  423 + "alphaFunction": "LINEAR",
  424 + "timePeriod": {
425 425 "delay": 0.175,
426 426 "duration": 0.075
427 427 },
... ... @@ -435,8 +435,8 @@
435 435 250,
436 436 0
437 437 ],
438   - "alpha-function": "LINEAR",
439   - "time-period": {
  438 + "alphaFunction": "LINEAR",
  439 + "timePeriod": {
440 440 "delay": 0.25,
441 441 "duration": 0.075
442 442 },
... ... @@ -444,10 +444,10 @@
444 444 },
445 445 {
446 446 "actor": "Rect1",
447   - "property": "color-alpha",
  447 + "property": "colorAlpha",
448 448 "value": 0,
449   - "alpha-function": "LINEAR",
450   - "time-period": {
  449 + "alphaFunction": "LINEAR",
  450 + "timePeriod": {
451 451 "delay": 0,
452 452 "duration": 0.025
453 453 },
... ... @@ -455,10 +455,10 @@
455 455 },
456 456 {
457 457 "actor": "Rect1",
458   - "property": "color-alpha",
  458 + "property": "colorAlpha",
459 459 "value": 1,
460   - "alpha-function": "LINEAR",
461   - "time-period": {
  460 + "alphaFunction": "LINEAR",
  461 + "timePeriod": {
462 462 "delay": 0,
463 463 "duration": 0.325
464 464 },
... ... @@ -472,8 +472,8 @@
472 472 280,
473 473 0
474 474 ],
475   - "alpha-function": "LINEAR",
476   - "time-period": {
  475 + "alphaFunction": "LINEAR",
  476 + "timePeriod": {
477 477 "delay": 0.148,
478 478 "duration": 0.077
479 479 },
... ... @@ -487,8 +487,8 @@
487 487 260,
488 488 0
489 489 ],
490   - "alpha-function": "LINEAR",
491   - "time-period": {
  490 + "alphaFunction": "LINEAR",
  491 + "timePeriod": {
492 492 "delay": 0.225,
493 493 "duration": 0.075
494 494 },
... ... @@ -502,8 +502,8 @@
502 502 250,
503 503 0
504 504 ],
505   - "alpha-function": "LINEAR",
506   - "time-period": {
  505 + "alphaFunction": "LINEAR",
  506 + "timePeriod": {
507 507 "delay": 0.3,
508 508 "duration": 0.072
509 509 },
... ... @@ -511,10 +511,10 @@
511 511 },
512 512 {
513 513 "actor": "Rect2",
514   - "property": "color-alpha",
  514 + "property": "colorAlpha",
515 515 "value": 0,
516   - "alpha-function": "LINEAR",
517   - "time-period": {
  516 + "alphaFunction": "LINEAR",
  517 + "timePeriod": {
518 518 "delay": 0,
519 519 "duration": 0.025
520 520 },
... ... @@ -522,10 +522,10 @@
522 522 },
523 523 {
524 524 "actor": "Rect2",
525   - "property": "color-alpha",
  525 + "property": "colorAlpha",
526 526 "value": 1,
527   - "alpha-function": "LINEAR",
528   - "time-period": {
  527 + "alphaFunction": "LINEAR",
  528 + "timePeriod": {
529 529 "delay": 0.05,
530 530 "duration": 0.322
531 531 },
... ... @@ -539,8 +539,8 @@
539 539 280,
540 540 0
541 541 ],
542   - "alpha-function": "LINEAR",
543   - "time-period": {
  542 + "alphaFunction": "LINEAR",
  543 + "timePeriod": {
544 544 "delay": 0.2,
545 545 "duration": 0.074
546 546 },
... ... @@ -554,8 +554,8 @@
554 554 260,
555 555 0
556 556 ],
557   - "alpha-function": "LINEAR",
558   - "time-period": {
  557 + "alphaFunction": "LINEAR",
  558 + "timePeriod": {
559 559 "delay": 0.274,
560 560 "duration": 0.073
561 561 },
... ... @@ -569,8 +569,8 @@
569 569 250,
570 570 0
571 571 ],
572   - "alpha-function": "LINEAR",
573   - "time-period": {
  572 + "alphaFunction": "LINEAR",
  573 + "timePeriod": {
574 574 "delay": 0.347,
575 575 "duration": 0.078
576 576 },
... ... @@ -578,10 +578,10 @@
578 578 },
579 579 {
580 580 "actor": "Rect3",
581   - "property": "color-alpha",
  581 + "property": "colorAlpha",
582 582 "value": 0,
583   - "alpha-function": "LINEAR",
584   - "time-period": {
  583 + "alphaFunction": "LINEAR",
  584 + "timePeriod": {
585 585 "delay": 0,
586 586 "duration": 0.025
587 587 },
... ... @@ -589,10 +589,10 @@
589 589 },
590 590 {
591 591 "actor": "Rect3",
592   - "property": "color-alpha",
  592 + "property": "colorAlpha",
593 593 "value": 1,
594   - "alpha-function": "LINEAR",
595   - "time-period": {
  594 + "alphaFunction": "LINEAR",
  595 + "timePeriod": {
596 596 "delay": 0.099,
597 597 "duration": 0.326
598 598 },
... ... @@ -606,8 +606,8 @@
606 606 280,
607 607 0
608 608 ],
609   - "alpha-function": "LINEAR",
610   - "time-period": {
  609 + "alphaFunction": "LINEAR",
  610 + "timePeriod": {
611 611 "delay": 0.251,
612 612 "duration": 0.075
613 613 },
... ... @@ -621,8 +621,8 @@
621 621 260,
622 622 0
623 623 ],
624   - "alpha-function": "LINEAR",
625   - "time-period": {
  624 + "alphaFunction": "LINEAR",
  625 + "timePeriod": {
626 626 "delay": 0.326,
627 627 "duration": 0.074
628 628 },
... ... @@ -636,8 +636,8 @@
636 636 250,
637 637 0
638 638 ],
639   - "alpha-function": "LINEAR",
640   - "time-period": {
  639 + "alphaFunction": "LINEAR",
  640 + "timePeriod": {
641 641 "delay": 0.4,
642 642 "duration": 0.075
643 643 },
... ... @@ -645,10 +645,10 @@
645 645 },
646 646 {
647 647 "actor": "Rect4",
648   - "property": "color-alpha",
  648 + "property": "colorAlpha",
649 649 "value": 0,
650   - "alpha-function": "LINEAR",
651   - "time-period": {
  650 + "alphaFunction": "LINEAR",
  651 + "timePeriod": {
652 652 "delay": 0,
653 653 "duration": 0.025
654 654 },
... ... @@ -656,10 +656,10 @@
656 656 },
657 657 {
658 658 "actor": "Rect4",
659   - "property": "color-alpha",
  659 + "property": "colorAlpha",
660 660 "value": 1,
661   - "alpha-function": "LINEAR",
662   - "time-period": {
  661 + "alphaFunction": "LINEAR",
  662 + "timePeriod": {
663 663 "delay": 0.148,
664 664 "duration": 0.327
665 665 },
... ...
resources/scripts/contacts.json
... ... @@ -3,9 +3,9 @@
3 3 {
4 4 "type": "Control",
5 5 "background": {"color": [ 1, 1, 1, 1 ]},
6   - "parent-origin": "TOP_LEFT",
7   - "anchor-point": "TOP_LEFT",
8   - "draw-mode": "STENCIL",
  6 + "parentOrigin": "TOP_LEFT",
  7 + "anchorPoint": "TOP_LEFT",
  8 + "drawMode": "STENCIL",
9 9 "size": [ 360, 630, 0 ]
10 10 },
11 11 {
... ... @@ -17,7 +17,7 @@
17 17 317,
18 18 -1
19 19 ],
20   - "inherit-position": true,
  20 + "inheritPosition": true,
21 21 "size": [
22 22 360,
23 23 640,
... ... @@ -28,8 +28,8 @@
28 28 "filename": "{DALI_IMAGE_DIR}contacts-main.png",
29 29 "width": 361,
30 30 "height": 640,
31   - "load-policy": "IMMEDIATE",
32   - "release-policy": "NEVER"
  31 + "loadPolicy": "IMMEDIATE",
  32 + "releasePolicy": "NEVER"
33 33 },
34 34 "signals": [
35 35 {
... ... @@ -48,7 +48,7 @@
48 48 139,
49 49 0
50 50 ],
51   - "inherit-position": true,
  51 + "inheritPosition": true,
52 52 "size": [
53 53 360,
54 54 282,
... ... @@ -59,8 +59,8 @@
59 59 "filename": "{DALI_IMAGE_DIR}contacts-background.png",
60 60 "width": 360,
61 61 "height": 282,
62   - "load-policy": "IMMEDIATE",
63   - "release-policy": "NEVER"
  62 + "loadPolicy": "IMMEDIATE",
  63 + "releasePolicy": "NEVER"
64 64 }
65 65 },
66 66 {
... ... @@ -72,7 +72,7 @@
72 72 824.0520479877184,
73 73 0
74 74 ],
75   - "inherit-position": true,
  75 + "inheritPosition": true,
76 76 "size": [
77 77 393.04,
78 78 378.08,
... ... @@ -96,7 +96,7 @@
96 96 402.004657366638,
97 97 1
98 98 ],
99   - "inherit-position": true,
  99 + "inheritPosition": true,
100 100 "size": [
101 101 53,
102 102 52,
... ... @@ -107,8 +107,8 @@
107 107 "filename": "{DALI_IMAGE_DIR}contacts-image.png",
108 108 "width": 53,
109 109 "height": 52,
110   - "load-policy": "IMMEDIATE",
111   - "release-policy": "NEVER"
  110 + "loadPolicy": "IMMEDIATE",
  111 + "releasePolicy": "NEVER"
112 112 }
113 113 },
114 114 {
... ... @@ -120,14 +120,14 @@
120 120 405,
121 121 1
122 122 ],
123   - "inherit-position": true,
  123 + "inheritPosition": true,
124 124 "size": [
125 125 152.89,
126 126 24.33,
127 127 1
128 128 ],
129 129 "sizeAspectRatio": false,
130   - "markup-enabled": true,
  130 + "markupEnabled": true,
131 131 "color": [
132 132 0.2,
133 133 0.2,
... ... @@ -147,7 +147,7 @@
147 147 611.5127067356418,
148 148 1
149 149 ],
150   - "inherit-position": true,
  150 + "inheritPosition": true,
151 151 "size": [
152 152 80,
153 153 71,
... ... @@ -158,8 +158,8 @@
158 158 "filename": "{DALI_IMAGE_DIR}contacts-add.png",
159 159 "width": 80,
160 160 "height": 71,
161   - "load-policy": "IMMEDIATE",
162   - "release-policy": "NEVER"
  161 + "loadPolicy": "IMMEDIATE",
  162 + "releasePolicy": "NEVER"
163 163 }
164 164 },
165 165 {
... ... @@ -171,7 +171,7 @@
171 171 677.5051724136168,
172 172 0
173 173 ],
174   - "inherit-position": true,
  174 + "inheritPosition": true,
175 175 "size": [
176 176 360,
177 177 77,
... ... @@ -182,8 +182,8 @@
182 182 "filename": "{DALI_IMAGE_DIR}contacts-messenger.png",
183 183 "width": 360,
184 184 "height": 77,
185   - "load-policy": "IMMEDIATE",
186   - "release-policy": "NEVER"
  185 + "loadPolicy": "IMMEDIATE",
  186 + "releasePolicy": "NEVER"
187 187 }
188 188 },
189 189 {
... ... @@ -195,7 +195,7 @@
195 195 704.5075140543304,
196 196 0
197 197 ],
198   - "inherit-position": true,
  198 + "inheritPosition": true,
199 199 "size": [
200 200 360,
201 201 79,
... ... @@ -206,8 +206,8 @@
206 206 "filename": "{DALI_IMAGE_DIR}contacts-email.png",
207 207 "width": 360,
208 208 "height": 79,
209   - "load-policy": "IMMEDIATE",
210   - "release-policy": "NEVER"
  209 + "loadPolicy": "IMMEDIATE",
  210 + "releasePolicy": "NEVER"
211 211 }
212 212 },
213 213 {
... ... @@ -219,7 +219,7 @@
219 219 727.0088875903122,
220 220 0
221 221 ],
222   - "inherit-position": true,
  222 + "inheritPosition": true,
223 223 "size": [
224 224 360,
225 225 80,
... ... @@ -230,8 +230,8 @@
230 230 "filename": "{DALI_IMAGE_DIR}contacts-mobile.png",
231 231 "width": 360,
232 232 "height": 80,
233   - "load-policy": "IMMEDIATE",
234   - "release-policy": "NEVER"
  233 + "loadPolicy": "IMMEDIATE",
  234 + "releasePolicy": "NEVER"
235 235 }
236 236 },
237 237 {
... ... @@ -243,7 +243,7 @@
243 243 749.5101801844454,
244 244 0
245 245 ],
246   - "inherit-position": true,
  246 + "inheritPosition": true,
247 247 "size": [
248 248 360,
249 249 75,
... ... @@ -254,8 +254,8 @@
254 254 "filename": "{DALI_IMAGE_DIR}contacts-home.png",
255 255 "width": 360,
256 256 "height": 75,
257   - "load-policy": "IMMEDIATE",
258   - "release-policy": "NEVER"
  257 + "loadPolicy": "IMMEDIATE",
  258 + "releasePolicy": "NEVER"
259 259 }
260 260 },
261 261 {
... ... @@ -267,7 +267,7 @@
267 267 50.289953613295076,
268 268 1
269 269 ],
270   - "inherit-position": true,
  270 + "inheritPosition": true,
271 271 "size": [
272 272 25,
273 273 20.55,
... ... @@ -278,8 +278,8 @@
278 278 "filename": "{DALI_IMAGE_DIR}contacts-circle.png",
279 279 "width": 100,
280 280 "height": 100,
281   - "load-policy": "IMMEDIATE",
282   - "release-policy": "NEVER"
  281 + "loadPolicy": "IMMEDIATE",
  282 + "releasePolicy": "NEVER"
283 283 }
284 284 },
285 285 {
... ... @@ -291,7 +291,7 @@
291 291 817.499887599389,
292 292 0
293 293 ],
294   - "inherit-position": true,
  294 + "inheritPosition": true,
295 295 "size": [
296 296 360,
297 297 77,
... ... @@ -302,8 +302,8 @@
302 302 "filename": "{DALI_IMAGE_DIR}contacts-plain.png",
303 303 "width": 360,
304 304 "height": 77,
305   - "load-policy": "IMMEDIATE",
306   - "release-policy": "NEVER"
  305 + "loadPolicy": "IMMEDIATE",
  306 + "releasePolicy": "NEVER"
307 307 }
308 308 },
309 309 {
... ... @@ -315,7 +315,7 @@
315 315 401.485,
316 316 0
317 317 ],
318   - "inherit-position": true,
  318 + "inheritPosition": true,
319 319 "size": [
320 320 693.96,
321 321 84.97,
... ... @@ -347,8 +347,8 @@
347 347 609.5059654033565,
348 348 1
349 349 ],
350   - "alpha-function": "LINEAR",
351   - "time-period": {
  350 + "alphaFunction": "LINEAR",
  351 + "timePeriod": {
352 352 "delay": 0.503,
353 353 "duration": 0.005
354 354 },
... ... @@ -362,8 +362,8 @@
362 362 20,
363 363 1
364 364 ],
365   - "alpha-function": "LINEAR",
366   - "time-period": {
  365 + "alphaFunction": "LINEAR",
  366 + "timePeriod": {
367 367 "delay": 4.071,
368 368 "duration": 0.005
369 369 },
... ... @@ -377,8 +377,8 @@
377 377 71,
378 378 1
379 379 ],
380   - "alpha-function": "LINEAR",
381   - "time-period": {
  380 + "alphaFunction": "LINEAR",
  381 + "timePeriod": {
382 382 "delay": 4.498,
383 383 "duration": 0.3
384 384 },
... ... @@ -392,8 +392,8 @@
392 392 611.5150431968526,
393 393 1
394 394 ],
395   - "alpha-function": "LINEAR",
396   - "time-period": {
  395 + "alphaFunction": "LINEAR",
  396 + "timePeriod": {
397 397 "delay": 4.498,
398 398 "duration": 0.005
399 399 },
... ... @@ -407,8 +407,8 @@
407 407 239.01,
408 408 1
409 409 ],
410   - "alpha-function": "LINEAR",
411   - "time-period": {
  410 + "alphaFunction": "LINEAR",
  411 + "timePeriod": {
412 412 "delay": 1.22,
413 413 "duration": 0.396
414 414 },
... ... @@ -422,8 +422,8 @@
422 422 402,
423 423 1
424 424 ],
425   - "alpha-function": "LINEAR",
426   - "time-period": {
  425 + "alphaFunction": "LINEAR",
  426 + "timePeriod": {
427 427 "delay": 4.437,
428 428 "duration": 0.396
429 429 },
... ... @@ -437,8 +437,8 @@
437 437 242,
438 438 1
439 439 ],
440   - "alpha-function": "LINEAR",
441   - "time-period": {
  440 + "alphaFunction": "LINEAR",
  441 + "timePeriod": {
442 442 "delay": 1.22,
443 443 "duration": 0.395
444 444 },
... ... @@ -453,8 +453,8 @@
453 453 1,
454 454 1
455 455 ],
456   - "alpha-function": "LINEAR",
457   - "time-period": {
  456 + "alphaFunction": "LINEAR",
  457 + "timePeriod": {
458 458 "delay": 1.22,
459 459 "duration": 0.395
460 460 },
... ... @@ -468,8 +468,8 @@
468 468 35.33,
469 469 1
470 470 ],
471   - "alpha-function": "LINEAR",
472   - "time-period": {
  471 + "alphaFunction": "LINEAR",
  472 + "timePeriod": {
473 473 "delay": 1.22,
474 474 "duration": 0.395
475 475 },
... ... @@ -483,8 +483,8 @@
483 483 405,
484 484 1
485 485 ],
486   - "alpha-function": "LINEAR",
487   - "time-period": {
  486 + "alphaFunction": "LINEAR",
  487 + "timePeriod": {
488 488 "delay": 4.435,
489 489 "duration": 0.395
490 490 },
... ... @@ -499,8 +499,8 @@
499 499 0.2,
500 500 1
501 501 ],
502   - "alpha-function": "LINEAR",
503   - "time-period": {
  502 + "alphaFunction": "LINEAR",
  503 + "timePeriod": {
504 504 "delay": 4.435,
505 505 "duration": 0.395
506 506 },
... ... @@ -514,8 +514,8 @@
514 514 24.33,
515 515 1
516 516 ],
517   - "alpha-function": "LINEAR",
518   - "time-period": {
  517 + "alphaFunction": "LINEAR",
  518 + "timePeriod": {
519 519 "delay": 4.435,
520 520 "duration": 0.395
521 521 },
... ... @@ -529,8 +529,8 @@
529 529 138.98,
530 530 0
531 531 ],
532   - "alpha-function": "LINEAR",
533   - "time-period": {
  532 + "alphaFunction": "LINEAR",
  533 + "timePeriod": {
534 534 "delay": 1.222,
535 535 "duration": 0.391
536 536 },
... ... @@ -544,8 +544,8 @@
544 544 138.98,
545 545 0
546 546 ],
547   - "alpha-function": "LINEAR",
548   - "time-period": {
  547 + "alphaFunction": "LINEAR",
  548 + "timePeriod": {
549 549 "delay": 4.435,
550 550 "duration": 0.391
551 551 },
... ... @@ -559,8 +559,8 @@
559 559 320.50795521899136,
560 560 0
561 561 ],
562   - "alpha-function": "LINEAR",
563   - "time-period": {
  562 + "alphaFunction": "LINEAR",
  563 + "timePeriod": {
564 564 "delay": 1.346,
565 565 "duration": 0.372
566 566 },
... ... @@ -574,8 +574,8 @@
574 574 677.51,
575 575 0
576 576 ],
577   - "alpha-function": "LINEAR",
578   - "time-period": {
  577 + "alphaFunction": "LINEAR",
  578 + "timePeriod": {
579 579 "delay": 4.34,
580 580 "duration": 0.372
581 581 },
... ... @@ -589,8 +589,8 @@
589 589 395.5,
590 590 0
591 591 ],
592   - "alpha-function": "LINEAR",
593   - "time-period": {
  592 + "alphaFunction": "LINEAR",
  593 + "timePeriod": {
594 594 "delay": 1.432,
595 595 "duration": 0.39
596 596 },
... ... @@ -604,8 +604,8 @@
604 604 704.5,
605 605 0
606 606 ],
607   - "alpha-function": "LINEAR",
608   - "time-period": {
  607 + "alphaFunction": "LINEAR",
  608 + "timePeriod": {
609 609 "delay": 4.218,
610 610 "duration": 0.39
611 611 },
... ... @@ -619,8 +619,8 @@
619 619 470.01,
620 620 0
621 621 ],
622   - "alpha-function": "LINEAR",
623   - "time-period": {
  622 + "alphaFunction": "LINEAR",
  623 + "timePeriod": {
624 624 "delay": 1.543,
625 625 "duration": 0.385
626 626 },
... ... @@ -634,8 +634,8 @@
634 634 727.01,
635 635 0
636 636 ],
637   - "alpha-function": "LINEAR",
638   - "time-period": {
  637 + "alphaFunction": "LINEAR",
  638 + "timePeriod": {
639 639 "delay": 4.11,
640 640 "duration": 0.385
641 641 },
... ... @@ -649,8 +649,8 @@
649 649 541.5,
650 650 0
651 651 ],
652   - "alpha-function": "LINEAR",
653   - "time-period": {
  652 + "alphaFunction": "LINEAR",
  653 + "timePeriod": {
654 654 "delay": 1.635,
655 655 "duration": 0.406
656 656 },
... ... @@ -664,8 +664,8 @@
664 664 749.5,
665 665 0
666 666 ],
667   - "alpha-function": "LINEAR",
668   - "time-period": {
  667 + "alphaFunction": "LINEAR",
  668 + "timePeriod": {
669 669 "delay": 3.993,
670 670 "duration": 0.406
671 671 },
... ... @@ -679,8 +679,8 @@
679 679 608.5139116202711,
680 680 0
681 681 ],
682   - "alpha-function": "LINEAR",
683   - "time-period": {
  682 + "alphaFunction": "LINEAR",
  683 + "timePeriod": {
684 684 "delay": 1.726,
685 685 "duration": 0.435
686 686 },
... ... @@ -694,8 +694,8 @@
694 694 817.51,
695 695 0
696 696 ],
697   - "alpha-function": "LINEAR",
698   - "time-period": {
  697 + "alphaFunction": "LINEAR",
  698 + "timePeriod": {
699 699 "delay": 3.865,
700 700 "duration": 0.435
701 701 },
... ... @@ -709,8 +709,8 @@
709 709 48.280475138643396,
710 710 1
711 711 ],
712   - "alpha-function": "LINEAR",
713   - "time-period": {
  712 + "alphaFunction": "LINEAR",
  713 + "timePeriod": {
714 714 "delay": 2.66,
715 715 "duration": 0.005
716 716 },
... ... @@ -724,8 +724,8 @@
724 724 48.280475138643396,
725 725 1
726 726 ],
727   - "alpha-function": "LINEAR",
728   - "time-period": {
  727 + "alphaFunction": "LINEAR",
  728 + "timePeriod": {
729 729 "delay": 2.851,
730 730 "duration": 0.008
731 731 },
... ... @@ -739,8 +739,8 @@
739 739 80,
740 740 1
741 741 ],
742   - "alpha-function": "LINEAR",
743   - "time-period": {
  742 + "alphaFunction": "LINEAR",
  743 + "timePeriod": {
744 744 "delay": 2.665,
745 745 "duration": 1.187
746 746 },
... ... @@ -754,8 +754,8 @@
754 754 470.05397482417106,
755 755 0
756 756 ],
757   - "alpha-function": "LINEAR",
758   - "time-period": {
  757 + "alphaFunction": "LINEAR",
  758 + "timePeriod": {
759 759 "delay": 1.031,
760 760 "duration": 0.561
761 761 },
... ... @@ -769,8 +769,8 @@
769 769 467.042499801712,
770 770 0
771 771 ],
772   - "alpha-function": "LINEAR",
773   - "time-period": {
  772 + "alphaFunction": "LINEAR",
  773 + "timePeriod": {
774 774 "delay": 4.342,
775 775 "duration": 0.005
776 776 },
... ... @@ -784,8 +784,8 @@
784 784 402.425,
785 785 0
786 786 ],
787   - "alpha-function": "LINEAR",
788   - "time-period": {
  787 + "alphaFunction": "LINEAR",
  788 + "timePeriod": {
789 789 "delay": 0,
790 790 "duration": 0.904
791 791 },
... ...
resources/scripts/gallery.json
1 1 {
2 2 "templates":
3 3 {
4   - "selection-type":
  4 + "selectionType":
5 5 {
6 6 "type": "Control",
7 7 "background": {"color": [ 1, 0.5, 0, 0.6 ]},
8   - "color-alpha": 0.05,
9   - "parent-origin": "CENTER",
10   - "anchor-point": "CENTER",
  8 + "colorAlpha": 0.05,
  9 + "parentOrigin": "CENTER",
  10 + "anchorPoint": "CENTER",
11 11 "size": [ 450, 90, 1 ]
12 12 },
13   - "image-type":
  13 + "imageType":
14 14 {
15 15 "type": "ImageActor",
16 16 "position": [ 450, 0, 1 ],
17   - "parent-origin": "CENTER",
18   - "anchor-point": "CENTER",
  17 + "parentOrigin": "CENTER",
  18 + "anchorPoint": "CENTER",
19 19 "size": [ 450, 795, 1 ],
20 20 "actors": [
21 21 {
22 22 "type": "Control",
23   - "position-inheritance": "USE_PARENT_POSITION",
  23 + "positionInheritance": "USE_PARENT_POSITION",
24 24 "size": [ 450, 795, 1 ],
25 25 "signals": [
26 26 {
... ... @@ -38,18 +38,18 @@
38 38 "type": "Control",
39 39 "name": "stencil",
40 40 "background": {"color": [ 1, 1, 1, 1 ]},
41   - "parent-origin": "CENTER",
42   - "anchor-point": "CENTER",
43   - "draw-mode": "STENCIL",
  41 + "parentOrigin": "CENTER",
  42 + "anchorPoint": "CENTER",
  43 + "drawMode": "STENCIL",
44 44 "size": [ 450, 795, 0 ],
45   - "position-z": 0.1
  45 + "positionZ": 0.1
46 46 },
47 47 {
48 48 "type": "ImageActor",
49 49 "actors": [],
50 50 "name": "list",
51   - "parent-origin": "CENTER",
52   - "anchor-point": "CENTER",
  51 + "parentOrigin": "CENTER",
  52 + "anchorPoint": "CENTER",
53 53 "position": [ 0, 0, -1 ],
54 54 "size": [ 450, 795, 1 ],
55 55 "image": {
... ... @@ -57,9 +57,9 @@
57 57 }
58 58 },
59 59 {
60   - "type": "selection-type",
61   - "name": "selection-1",
62   - "position-y": -105,
  60 + "type": "selectionType",
  61 + "name": "selection1",
  62 + "positionY": -105,
63 63 "signals": [
64 64 {
65 65 "name": "tapped",
... ... @@ -69,9 +69,9 @@
69 69 ]
70 70 },
71 71 {
72   - "type": "selection-type",
73   - "name": "selection-2",
74   - "position-y": -15,
  72 + "type": "selectionType",
  73 + "name": "selection2",
  74 + "positionY": -15,
75 75 "signals": [
76 76 {
77 77 "name": "tapped",
... ... @@ -81,9 +81,9 @@
81 81 ]
82 82 },
83 83 {
84   - "type": "selection-type",
85   - "name": "selection-3",
86   - "position-y": 75,
  84 + "type": "selectionType",
  85 + "name": "selection3",
  86 + "positionY": 75,
87 87 "signals": [
88 88 {
89 89 "name": "tapped",
... ... @@ -93,9 +93,9 @@
93 93 ]
94 94 },
95 95 {
96   - "type": "selection-type",
97   - "name": "selection-4",
98   - "position-y": 165,
  96 + "type": "selectionType",
  97 + "name": "selection4",
  98 + "positionY": 165,
99 99 "signals": [
100 100 {
101 101 "name": "tapped",
... ... @@ -105,9 +105,9 @@
105 105 ]
106 106 },
107 107 {
108   - "type": "selection-type",
109   - "name": "selection-5",
110   - "position-y": 255,
  108 + "type": "selectionType",
  109 + "name": "selection5",
  110 + "positionY": 255,
111 111 "signals": [
112 112 {
113 113 "name": "tapped",
... ... @@ -117,36 +117,36 @@
117 117 ]
118 118 },
119 119 {
120   - "type": "image-type",
121   - "name": "picture-1",
  120 + "type": "imageType",
  121 + "name": "picture1",
122 122 "image": {
123 123 "filename": "{DALI_IMAGE_DIR}animation-picture-1.png"
124 124 }
125 125 },
126 126 {
127   - "type": "image-type",
128   - "name": "picture-2",
  127 + "type": "imageType",
  128 + "name": "picture2",
129 129 "image": {
130 130 "filename": "{DALI_IMAGE_DIR}animation-picture-2.png"
131 131 }
132 132 },
133 133 {
134   - "type": "image-type",
135   - "name": "picture-3",
  134 + "type": "imageType",
  135 + "name": "picture3",
136 136 "image": {
137 137 "filename": "{DALI_IMAGE_DIR}animation-picture-3.png"
138 138 }
139 139 },
140 140 {
141   - "type": "image-type",
142   - "name": "picture-4",
  141 + "type": "imageType",
  142 + "name": "picture4",
143 143 "image": {
144 144 "filename": "{DALI_IMAGE_DIR}animation-picture-4.png"
145 145 }
146 146 },
147 147 {
148   - "type": "image-type",
149   - "name": "picture-5",
  148 + "type": "imageType",
  149 + "name": "picture5",
150 150 "image": {
151 151 "filename": "{DALI_IMAGE_DIR}animation-picture-5.png"
152 152 }
... ... @@ -156,22 +156,22 @@
156 156 "Animation_1": {
157 157 "properties": [
158 158 {
159   - "actor": "selection-1",
160   - "property": "color-alpha",
  159 + "actor": "selection1",
  160 + "property": "colorAlpha",
161 161 "value": 0.5,
162   - "alpha-function": "SIN",
163   - "time-period": {
  162 + "alphaFunction": "SIN",
  163 + "timePeriod": {
164 164 "delay": 0,
165 165 "duration": 0.5
166 166 },
167 167 "timelineColor": "#83bcc5"
168 168 },
169 169 {
170   - "actor": "picture-1",
171   - "property": "position-x",
  170 + "actor": "picture1",
  171 + "property": "positionX",
172 172 "value": 0,
173   - "alpha-function": "LINEAR",
174   - "time-period": {
  173 + "alphaFunction": "LINEAR",
  174 + "timePeriod": {
175 175 "delay": 0.25,
176 176 "duration": 0.25
177 177 },
... ... @@ -182,22 +182,22 @@
182 182 "Animation_2": {
183 183 "properties": [
184 184 {
185   - "actor": "selection-2",
186   - "property": "color-alpha",
  185 + "actor": "selection2",
  186 + "property": "colorAlpha",
187 187 "value": 0.5,
188   - "alpha-function": "SIN",
189   - "time-period": {
  188 + "alphaFunction": "SIN",
  189 + "timePeriod": {
190 190 "delay": 0,
191 191 "duration": 0.5
192 192 },
193 193 "timelineColor": "#83bcc5"
194 194 },
195 195 {
196   - "actor": "picture-2",
197   - "property": "position-x",
  196 + "actor": "picture2",
  197 + "property": "positionX",
198 198 "value": 0,
199   - "alpha-function": "LINEAR",
200   - "time-period": {
  199 + "alphaFunction": "LINEAR",
  200 + "timePeriod": {
201 201 "delay": 0.25,
202 202 "duration": 0.25
203 203 },
... ... @@ -208,22 +208,22 @@
208 208 "Animation_3": {
209 209 "properties": [
210 210 {
211   - "actor": "selection-3",
212   - "property": "color-alpha",
  211 + "actor": "selection3",
  212 + "property": "colorAlpha",
213 213 "value": 0.5,
214   - "alpha-function": "SIN",
215   - "time-period": {
  214 + "alphaFunction": "SIN",
  215 + "timePeriod": {
216 216 "delay": 0,
217 217 "duration": 0.5
218 218 },
219 219 "timelineColor": "#83bcc5"
220 220 },
221 221 {
222   - "actor": "picture-3",
223   - "property": "position-x",
  222 + "actor": "picture3",
  223 + "property": "positionX",
224 224 "value": 0,
225   - "alpha-function": "LINEAR",
226   - "time-period": {
  225 + "alphaFunction": "LINEAR",
  226 + "timePeriod": {
227 227 "delay": 0.25,
228 228 "duration": 0.25
229 229 },
... ... @@ -234,22 +234,22 @@
234 234 "Animation_4": {
235 235 "properties": [
236 236 {
237   - "actor": "selection-4",
238   - "property": "color-alpha",
  237 + "actor": "selection4",
  238 + "property": "colorAlpha",
239 239 "value": 0.5,
240   - "alpha-function": "SIN",
241   - "time-period": {
  240 + "alphaFunction": "SIN",
  241 + "timePeriod": {
242 242 "delay": 0,
243 243 "duration": 0.5
244 244 },
245 245 "timelineColor": "#83bcc5"
246 246 },
247 247 {
248   - "actor": "picture-4",
249   - "property": "position-x",
  248 + "actor": "picture4",
  249 + "property": "positionX",
250 250 "value": 0,
251   - "alpha-function": "LINEAR",
252   - "time-period": {
  251 + "alphaFunction": "LINEAR",
  252 + "timePeriod": {
253 253 "delay": 0.25,
254 254 "duration": 0.25
255 255 },
... ... @@ -260,22 +260,22 @@
260 260 "Animation_5": {
261 261 "properties": [
262 262 {
263   - "actor": "selection-5",
264   - "property": "color-alpha",
  263 + "actor": "selection5",
  264 + "property": "colorAlpha",
265 265 "value": 0.5,
266   - "alpha-function": "SIN",
267   - "time-period": {
  266 + "alphaFunction": "SIN",
  267 + "timePeriod": {
268 268 "delay": 0,
269 269 "duration": 0.5
270 270 },
271 271 "timelineColor": "#83bcc5"
272 272 },
273 273 {
274   - "actor": "picture-5",
275   - "property": "position-x",
  274 + "actor": "picture5",
  275 + "property": "positionX",
276 276 "value": 0,
277   - "alpha-function": "LINEAR",
278   - "time-period": {
  277 + "alphaFunction": "LINEAR",
  278 + "timePeriod": {
279 279 "delay": 0.25,
280 280 "duration": 0.25
281 281 },
... ... @@ -286,55 +286,55 @@
286 286 "BackAnimation": {
287 287 "properties": [
288 288 {
289   - "actor": "picture-1",
290   - "property": "position-x",
  289 + "actor": "picture1",
  290 + "property": "positionX",
291 291 "value": 450,
292   - "alpha-function": "LINEAR",
293   - "time-period": {
  292 + "alphaFunction": "LINEAR",
  293 + "timePeriod": {
294 294 "delay": 0,
295 295 "duration": 0.25
296 296 },
297 297 "timelineColor": "#83bcc5"
298 298 },
299 299 {
300   - "actor": "picture-2",
301   - "property": "position-x",
  300 + "actor": "picture2",
  301 + "property": "positionX",
302 302 "value": 450,
303   - "alpha-function": "LINEAR",
304   - "time-period": {
  303 + "alphaFunction": "LINEAR",
  304 + "timePeriod": {
305 305 "delay": 0,
306 306 "duration": 0.25
307 307 },
308 308 "timelineColor": "#83bcc5"
309 309 },
310 310 {
311   - "actor": "picture-3",
312   - "property": "position-x",
  311 + "actor": "picture3",
  312 + "property": "positionX",
313 313 "value": 450,
314   - "alpha-function": "LINEAR",
315   - "time-period": {
  314 + "alphaFunction": "LINEAR",
  315 + "timePeriod": {
316 316 "delay": 0,
317 317 "duration": 0.25
318 318 },
319 319 "timelineColor": "#83bcc5"
320 320 },
321 321 {
322   - "actor": "picture-4",
323   - "property": "position-x",
  322 + "actor": "picture4",
  323 + "property": "positionX",
324 324 "value": 450,
325   - "alpha-function": "LINEAR",
326   - "time-period": {
  325 + "alphaFunction": "LINEAR",
  326 + "timePeriod": {
327 327 "delay": 0,
328 328 "duration": 0.25
329 329 },
330 330 "timelineColor": "#83bcc5"
331 331 },
332 332 {
333   - "actor": "picture-5",
334   - "property": "position-x",
  333 + "actor": "picture5",
  334 + "property": "positionX",
335 335 "value": 450,
336   - "alpha-function": "LINEAR",
337   - "time-period": {
  336 + "alphaFunction": "LINEAR",
  337 + "timePeriod": {
338 338 "delay": 0,
339 339 "duration": 0.25
340 340 },
... ...
resources/scripts/hello-world.json
... ... @@ -19,6 +19,6 @@
19 19 "stage": [{
20 20 "type": "TextLabel",
21 21 "text": "Hello World",
22   - "parent-origin": "CENTER"
  22 + "parentOrigin": "CENTER"
23 23 }]
24 24 }
... ...
resources/scripts/music-library.json
... ... @@ -3,9 +3,9 @@
3 3 {
4 4 "type": "Control",
5 5 "background": {"color": [ 1, 1, 1, 1 ]},
6   - "parent-origin": "TOP_LEFT",
7   - "anchor-point": "TOP_LEFT",
8   - "draw-mode": "STENCIL",
  6 + "parentOrigin": "TOP_LEFT",
  7 + "anchorPoint": "TOP_LEFT",
  8 + "drawMode": "STENCIL",
9 9 "size": [ 400, 720, 0 ]
10 10 },
11 11 {
... ... @@ -17,7 +17,7 @@
17 17 355,
18 18 -1
19 19 ],
20   - "inherit-position": true,
  20 + "inheritPosition": true,
21 21 "size": [
22 22 400,
23 23 630,
... ... @@ -28,8 +28,8 @@
28 28 "filename": "{DALI_IMAGE_DIR}music-libray-main-screen.png",
29 29 "width": 545,
30 30 "height": 860,
31   - "load-policy": "IMMEDIATE",
32   - "release-policy": "NEVER"
  31 + "loadPolicy": "IMMEDIATE",
  32 + "releasePolicy": "NEVER"
33 33 }
34 34 },
35 35 {
... ... @@ -44,7 +44,7 @@
44 44 25,
45 45 1
46 46 ],
47   - "inherit-position": true,
  47 + "inheritPosition": true,
48 48 "size": [
49 49 30,
50 50 30,
... ... @@ -55,8 +55,8 @@
55 55 "filename": "{DALI_IMAGE_DIR}music-libray-circle.png",
56 56 "width": 128,
57 57 "height": 128,
58   - "load-policy": "IMMEDIATE",
59   - "release-policy": "NEVER"
  58 + "loadPolicy": "IMMEDIATE",
  59 + "releasePolicy": "NEVER"
60 60 }
61 61 },
62 62 {
... ... @@ -68,7 +68,7 @@
68 68 25,
69 69 1
70 70 ],
71   - "inherit-position": true,
  71 + "inheritPosition": true,
72 72 "size": [
73 73 28.030303030303028,
74 74 30,
... ... @@ -79,8 +79,8 @@
79 79 "filename": "{DALI_IMAGE_DIR}music-libray-triangle.png",
80 80 "width": 185,
81 81 "height": 198,
82   - "load-policy": "IMMEDIATE",
83   - "release-policy": "NEVER"
  82 + "loadPolicy": "IMMEDIATE",
  83 + "releasePolicy": "NEVER"
84 84 }
85 85 },
86 86 {
... ... @@ -92,7 +92,7 @@
92 92 25,
93 93 1
94 94 ],
95   - "inherit-position": true,
  95 + "inheritPosition": true,
96 96 "size": [
97 97 30,
98 98 30,
... ... @@ -103,8 +103,8 @@
103 103 "filename": "{DALI_IMAGE_DIR}music-libray-rectangle.png",
104 104 "width": 128,
105 105 "height": 128,
106   - "load-policy": "IMMEDIATE",
107   - "release-policy": "NEVER"
  106 + "loadPolicy": "IMMEDIATE",
  107 + "releasePolicy": "NEVER"
108 108 }
109 109 }
110 110 ],
... ... @@ -114,7 +114,7 @@
114 114 695,
115 115 1
116 116 ],
117   - "inherit-position": true,
  117 + "inheritPosition": true,
118 118 "size": [
119 119 400,
120 120 50,
... ... @@ -140,7 +140,7 @@
140 140 20,
141 141 0
142 142 ],
143   - "inherit-position": true,
  143 + "inheritPosition": true,
144 144 "size": [
145 145 50,
146 146 20,
... ... @@ -148,7 +148,7 @@
148 148 ],
149 149 "sizeAspectRatio": false,
150 150 "text": "12:30",
151   - "point-size": 10
  151 + "pointSize": 10
152 152 }
153 153 ],
154 154 "name": "Indicators",
... ... @@ -157,7 +157,7 @@
157 157 20,
158 158 0
159 159 ],
160   - "inherit-position": true,
  160 + "inheritPosition": true,
161 161 "size": [
162 162 400,
163 163 40,
... ... @@ -186,7 +186,7 @@
186 186 288,
187 187 0
188 188 ],
189   - "inherit-position": true,
  189 + "inheritPosition": true,
190 190 "size": [
191 191 200,
192 192 35,
... ... @@ -198,8 +198,8 @@
198 198 "filename": "{DALI_IMAGE_DIR}music-libray-foxtrot-oscar.png",
199 199 "width": 545,
200 200 "height": 95,
201   - "load-policy": "IMMEDIATE",
202   - "release-policy": "NEVER"
  201 + "loadPolicy": "IMMEDIATE",
  202 + "releasePolicy": "NEVER"
203 203 }
204 204 },
205 205 {
... ... @@ -211,7 +211,7 @@
211 211 288,
212 212 0
213 213 ],
214   - "inherit-position": true,
  214 + "inheritPosition": true,
215 215 "size": [
216 216 200,
217 217 35,
... ... @@ -240,7 +240,7 @@
240 240 266,
241 241 0
242 242 ],
243   - "inherit-position": true,
  243 + "inheritPosition": true,
244 244 "size": [
245 245 200,
246 246 80,
... ... @@ -254,8 +254,8 @@
254 254 "filename": "{DALI_IMAGE_DIR}music-libray-the-solars.png",
255 255 "width": 545,
256 256 "height": 218,
257   - "load-policy": "IMMEDIATE",
258   - "release-policy": "NEVER"
  257 + "loadPolicy": "IMMEDIATE",
  258 + "releasePolicy": "NEVER"
259 259 }
260 260 },
261 261 {
... ... @@ -267,7 +267,7 @@
267 267 266,
268 268 0
269 269 ],
270   - "inherit-position": true,
  270 + "inheritPosition": true,
271 271 "size": [
272 272 200,
273 273 80,
... ... @@ -288,7 +288,7 @@
288 288 "type": "Control",
289 289 "name": "Tapped Record",
290 290 "actors": [],
291   - "position-inheritance":"USE_PARENT_POSITION",
  291 + "positionInheritance":"USE_PARENT_POSITION",
292 292 "signals": [
293 293 {
294 294 "name": "tapped",
... ... @@ -309,7 +309,7 @@
309 309 206,
310 310 0
311 311 ],
312   - "inherit-position": true,
  312 + "inheritPosition": true,
313 313 "size": [
314 314 200,
315 315 200,
... ... @@ -320,8 +320,8 @@
320 320 "filename": "{DALI_IMAGE_DIR}music-libray-record-cover.png",
321 321 "width": 545,
322 322 "height": 502,
323   - "load-policy": "IMMEDIATE",
324   - "release-policy": "NEVER"
  323 + "loadPolicy": "IMMEDIATE",
  324 + "releasePolicy": "NEVER"
325 325 }
326 326 },
327 327 {
... ... @@ -333,7 +333,7 @@
333 333 70,
334 334 2
335 335 ],
336   - "inherit-position": true,
  336 + "inheritPosition": true,
337 337 "size": [
338 338 30,
339 339 30,
... ... @@ -344,8 +344,8 @@
344 344 "filename": "{DALI_IMAGE_DIR}music-libray-arrow.png",
345 345 "width": 128,
346 346 "height": 128,
347   - "load-policy": "IMMEDIATE",
348   - "release-policy": "NEVER"
  347 + "loadPolicy": "IMMEDIATE",
  348 + "releasePolicy": "NEVER"
349 349 }
350 350 },
351 351 {
... ... @@ -357,7 +357,7 @@
357 357 70,
358 358 2
359 359 ],
360   - "inherit-position": true,
  360 + "inheritPosition": true,
361 361 "size": [
362 362 30,
363 363 30,
... ... @@ -368,8 +368,8 @@
368 368 "filename": "{DALI_IMAGE_DIR}music-libray-star.png",
369 369 "width": 121,
370 370 "height": 128,
371   - "load-policy": "IMMEDIATE",
372   - "release-policy": "NEVER"
  371 + "loadPolicy": "IMMEDIATE",
  372 + "releasePolicy": "NEVER"
373 373 }
374 374 },
375 375 {
... ... @@ -381,7 +381,7 @@
381 381 440,
382 382 3
383 383 ],
384   - "inherit-position": true,
  384 + "inheritPosition": true,
385 385 "size": [
386 386 50,
387 387 50,
... ... @@ -397,8 +397,8 @@
397 397 "filename": "{DALI_IMAGE_DIR}music-libray-pause.png",
398 398 "width": 128,
399 399 "height": 128,
400   - "load-policy": "IMMEDIATE",
401   - "release-policy": "NEVER"
  400 + "loadPolicy": "IMMEDIATE",
  401 + "releasePolicy": "NEVER"
402 402 }
403 403 },
404 404 {
... ... @@ -410,7 +410,7 @@
410 410 70,
411 411 2
412 412 ],
413   - "inherit-position": true,
  413 + "inheritPosition": true,
414 414 "size": [
415 415 30,
416 416 30,
... ... @@ -421,8 +421,8 @@
421 421 "filename": "{DALI_IMAGE_DIR}music-libray-menu.png",
422 422 "width": 32,
423 423 "height": 32,
424   - "load-policy": "IMMEDIATE",
425   - "release-policy": "NEVER"
  424 + "loadPolicy": "IMMEDIATE",
  425 + "releasePolicy": "NEVER"
426 426 }
427 427 }
428 428 ],
... ... @@ -431,10 +431,10 @@
431 431 "properties": [
432 432 {
433 433 "actor": "Tapped Record",
434   - "property": "color-alpha",
  434 + "property": "colorAlpha",
435 435 "value": 0,
436   - "alpha-function": "LINEAR",
437   - "time-period": {
  436 + "alphaFunction": "LINEAR",
  437 + "timePeriod": {
438 438 "delay": 0,
439 439 "duration": 0.1
440 440 },
... ... @@ -448,8 +448,8 @@
448 448 240,
449 449 0
450 450 ],
451   - "alpha-function": "LINEAR",
452   - "time-period": {
  451 + "alphaFunction": "LINEAR",
  452 + "timePeriod": {
453 453 "delay": 0,
454 454 "duration": 0.3
455 455 },
... ... @@ -463,8 +463,8 @@
463 463 2,
464 464 1
465 465 ],
466   - "alpha-function": "LINEAR",
467   - "time-period": {
  466 + "alphaFunction": "LINEAR",
  467 + "timePeriod": {
468 468 "delay": 0,
469 469 "duration": 0.3
470 470 },
... ... @@ -479,8 +479,8 @@
479 479 0.6509803921568628,
480 480 1
481 481 ],
482   - "alpha-function": "LINEAR",
483   - "time-period": {
  482 + "alphaFunction": "LINEAR",
  483 + "timePeriod": {
484 484 "delay": 0.3,
485 485 "duration": 0.2
486 486 },
... ... @@ -494,8 +494,8 @@
494 494 360,
495 495 0
496 496 ],
497   - "alpha-function": "LINEAR",
498   - "time-period": {
  497 + "alphaFunction": "LINEAR",
  498 + "timePeriod": {
499 499 "delay": 0,
500 500 "duration": 0.3
501 501 },
... ... @@ -509,8 +509,8 @@
509 509 520,
510 510 0
511 511 ],
512   - "alpha-function": "LINEAR",
513   - "time-period": {
  512 + "alphaFunction": "LINEAR",
  513 + "timePeriod": {
514 514 "delay": 0.3,
515 515 "duration": 0.2
516 516 },
... ... @@ -524,8 +524,8 @@
524 524 2,
525 525 1
526 526 ],
527   - "alpha-function": "LINEAR",
528   - "time-period": {
  527 + "alphaFunction": "LINEAR",
  528 + "timePeriod": {
529 529 "delay": 0,
530 530 "duration": 0.3
531 531 },
... ... @@ -539,8 +539,8 @@
539 539 360,
540 540 0
541 541 ],
542   - "alpha-function": "LINEAR",
543   - "time-period": {
  542 + "alphaFunction": "LINEAR",
  543 + "timePeriod": {
544 544 "delay": 0,
545 545 "duration": 0.3
546 546 },
... ... @@ -554,8 +554,8 @@
554 554 520,
555 555 0
556 556 ],
557   - "alpha-function": "LINEAR",
558   - "time-period": {
  557 + "alphaFunction": "LINEAR",
  558 + "timePeriod": {
559 559 "delay": 0.3,
560 560 "duration": 0.2
561 561 },
... ... @@ -569,8 +569,8 @@
569 569 2,
570 570 1
571 571 ],
572   - "alpha-function": "LINEAR",
573   - "time-period": {
  572 + "alphaFunction": "LINEAR",
  573 + "timePeriod": {
574 574 "delay": 0,
575 575 "duration": 0.3
576 576 },
... ... @@ -585,8 +585,8 @@
585 585 1,
586 586 1
587 587 ],
588   - "alpha-function": "LINEAR",
589   - "time-period": {
  588 + "alphaFunction": "LINEAR",
  589 + "timePeriod": {
590 590 "delay": 0.5,
591 591 "duration": 0.2
592 592 },
... ... @@ -600,8 +600,8 @@
600 600 288,
601 601 0
602 602 ],
603   - "alpha-function": "LINEAR",
604   - "time-period": {
  603 + "alphaFunction": "LINEAR",
  604 + "timePeriod": {
605 605 "delay": 0,
606 606 "duration": 0.3
607 607 },
... ... @@ -615,8 +615,8 @@
615 615 635,
616 616 0
617 617 ],
618   - "alpha-function": "LINEAR",
619   - "time-period": {
  618 + "alphaFunction": "LINEAR",
  619 + "timePeriod": {
620 620 "delay": 0.3,
621 621 "duration": 0.2
622 622 },
... ... @@ -630,8 +630,8 @@
630 630 2,
631 631 1
632 632 ],
633   - "alpha-function": "LINEAR",
634   - "time-period": {
  633 + "alphaFunction": "LINEAR",
  634 + "timePeriod": {
635 635 "delay": 0,
636 636 "duration": 0.3
637 637 },
... ... @@ -645,8 +645,8 @@
645 645 288,
646 646 0
647 647 ],
648   - "alpha-function": "LINEAR",
649   - "time-period": {
  648 + "alphaFunction": "LINEAR",
  649 + "timePeriod": {
650 650 "delay": 0,
651 651 "duration": 0.3
652 652 },
... ... @@ -660,8 +660,8 @@
660 660 635,
661 661 0
662 662 ],
663   - "alpha-function": "LINEAR",
664   - "time-period": {
  663 + "alphaFunction": "LINEAR",
  664 + "timePeriod": {
665 665 "delay": 0.3,
666 666 "duration": 0.2
667 667 },
... ... @@ -675,8 +675,8 @@
675 675 2,
676 676 1
677 677 ],
678   - "alpha-function": "LINEAR",
679   - "time-period": {
  678 + "alphaFunction": "LINEAR",
  679 + "timePeriod": {
680 680 "delay": 0,
681 681 "duration": 0.3
682 682 },
... ... @@ -691,8 +691,8 @@
691 691 1,
692 692 1
693 693 ],
694   - "alpha-function": "LINEAR",
695   - "time-period": {
  694 + "alphaFunction": "LINEAR",
  695 + "timePeriod": {
696 696 "delay": 0.5,
697 697 "duration": 0.2
698 698 },
... ... @@ -706,8 +706,8 @@
706 706 70,
707 707 2
708 708 ],
709   - "alpha-function": "LINEAR",
710   - "time-period": {
  709 + "alphaFunction": "LINEAR",
  710 + "timePeriod": {
711 711 "delay": 0.3,
712 712 "duration": 0.2
713 713 },
... ... @@ -721,8 +721,8 @@
721 721 70,
722 722 2
723 723 ],
724   - "alpha-function": "LINEAR",
725   - "time-period": {
  724 + "alphaFunction": "LINEAR",
  725 + "timePeriod": {
726 726 "delay": 0.299,
727 727 "duration": 0.2
728 728 },
... ... @@ -736,8 +736,8 @@
736 736 70,
737 737 2
738 738 ],
739   - "alpha-function": "LINEAR",
740   - "time-period": {
  739 + "alphaFunction": "LINEAR",
  740 + "timePeriod": {
741 741 "delay": 0.3,
742 742 "duration": 0.2
743 743 },
... ... @@ -751,8 +751,8 @@
751 751 440,
752 752 3
753 753 ],
754   - "alpha-function": "LINEAR",
755   - "time-period": {
  754 + "alphaFunction": "LINEAR",
  755 + "timePeriod": {
756 756 "delay": 0.599,
757 757 "duration": 0.1
758 758 },
... ... @@ -766,8 +766,8 @@
766 766 0.1,
767 767 1
768 768 ],
769   - "alpha-function": "LINEAR",
770   - "time-period": {
  769 + "alphaFunction": "LINEAR",
  770 + "timePeriod": {
771 771 "delay": 0.6,
772 772 "duration": 0.1
773 773 },
... ... @@ -781,8 +781,8 @@
781 781 1,
782 782 1
783 783 ],
784   - "alpha-function": "LINEAR",
785   - "time-period": {
  784 + "alphaFunction": "LINEAR",
  785 + "timePeriod": {
786 786 "delay": 0.7,
787 787 "duration": 0.3
788 788 },
... ...
resources/scripts/popup.json
... ... @@ -5,98 +5,98 @@
5 5 "stage": [
6 6 {
7 7 "type": "ConfirmationPopup",
8   - "name": "confirmation-popup",
9   - "parent-origin": [0.5, 0.55, 0.5],
10   - "anchor-point": "CENTER",
11   - "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
12   - "height-resize-policy": "USE_NATURAL_SIZE",
13   - "size-mode-factor": [0.65, 1.0, 1.0],
14   - "tail-visibility": false,
15   - "tail-position": [0, 0, 0],
16   - "display-change-animation-duration": 1.0,
17   - "contextual-mode": "NON_CONTEXTUAL",
18   - "animation-mode": "ZOOM",
19   - "control-ok": "control-ok",
20   - "control-cancel": "control-cancel",
21   - "connect-signal-ok-selected": "clicked",
22   - "connect-signal-cancel-selected": "clicked",
  8 + "name": "confirmationPopup",
  9 + "parentOrigin": [0.5, 0.55, 0.5],
  10 + "anchorPoint": "CENTER",
  11 + "widthResizePolicy": "SIZE_RELATIVE_TO_PARENT",
  12 + "heightResizePolicy": "USE_NATURAL_SIZE",
  13 + "sizeModeFactor": [0.65, 1.0, 1.0],
  14 + "tailVisibility": false,
  15 + "tailPosition": [0, 0, 0],
  16 + "displayChangeAnimationDuration": 1.0,
  17 + "contextualMode": "NON_CONTEXTUAL",
  18 + "animationMode": "ZOOM",
  19 + "controlOk": "controlOk",
  20 + "controlCancel": "controlCancel",
  21 + "connectSignalOkSelected": "clicked",
  22 + "connectSignalCancelSelected": "clicked",
23 23 "title": {
24 24 "type": "TextLabel",
25 25 "text": "Title text",
26   - "text-color": [1, 1, 1, 1]
  26 + "textColor": [1, 1, 1, 1]
27 27 },
28 28 "content": {
29 29 "type": "TextLabel",
30 30 "text": "Content text",
31 31 "padding": [20, 20, 20, 0],
32   - "text-color": [1, 1, 1, 1]
  32 + "textColor": [1, 1, 1, 1]
33 33 },
34 34 "footer": {
35 35 "type": "Control",
36 36 "size": [0, 80, 0],
37   - "width-resize-policy": "FILL_TO_PARENT",
38   - "height-resize-policy": "FIXED",
39   - "parent-origin": "CENTER",
40   - "anchor-point": "CENTER",
  37 + "widthResizePolicy": "FILL_TO_PARENT",
  38 + "heightResizePolicy": "FIXED",
  39 + "parentOrigin": "CENTER",
  40 + "anchorPoint": "CENTER",
41 41 "actors": [
42 42 {
43 43 "type": "PushButton",
44   - "name": "control-ok",
45   - "parent-origin": "CENTER_LEFT",
46   - "anchor-point": "CENTER_LEFT",
  44 + "name": "controlOk",
  45 + "parentOrigin": "CENTER_LEFT",
  46 + "anchorPoint": "CENTER_LEFT",
47 47 "position": [20, 0, 0],
48   - "label-text": "OK"
  48 + "labelText": "OK"
49 49 },
50 50 {
51 51 "type": "PushButton",
52   - "name": "control-cancel",
53   - "parent-origin": "CENTER_RIGHT",
54   - "anchor-point": "CENTER_RIGHT",
  52 + "name": "controlCancel",
  53 + "parentOrigin": "CENTER_RIGHT",
  54 + "anchorPoint": "CENTER_RIGHT",
55 55 "position": [-20, 0, 0],
56   - "label-text": "Cancel"
  56 + "labelText": "Cancel"
57 57 }
58 58 ]
59 59 },
60 60 "signals": [
61 61 {
62   - "name": "control-signal-ok",
  62 + "name": "controlSignalOk",
63 63 "action": "set",
64   - "actor": "selection-label",
  64 + "actor": "selectionLabel",
65 65 "property": "text",
66 66 "value": "User pressed: OK Button"
67 67 },
68 68 {
69   - "name": "control-signal-ok",
  69 + "name": "controlSignalOk",
70 70 "action": "set",
71   - "actor": "confirmation-popup",
72   - "property": "display-state",
  71 + "actor": "confirmationPopup",
  72 + "property": "displayState",
73 73 "value": "HIDDEN"
74 74 },
75 75 {
76   - "name": "control-signal-cancel",
  76 + "name": "controlSignalCancel",
77 77 "action": "set",
78   - "actor": "selection-label",
  78 + "actor": "selectionLabel",
79 79 "property": "text",
80 80 "value": "User pressed: Cancel Button"
81 81 },
82 82 {
83   - "name": "control-signal-cancel",
  83 + "name": "controlSignalCancel",
84 84 "action": "set",
85   - "actor": "confirmation-popup",
86   - "property": "display-state",
  85 + "actor": "confirmationPopup",
  86 + "property": "displayState",
87 87 "value": "HIDDEN"
88 88 },
89 89 {
90   - "name": "touched-outside",
  90 + "name": "touchedOutside",
91 91 "action": "set",
92   - "actor": "confirmation-popup",
93   - "property": "display-state",
  92 + "actor": "confirmationPopup",
  93 + "property": "displayState",
94 94 "value": "HIDDEN"
95 95 },
96 96 {
97   - "name": "touched-outside",
  97 + "name": "touchedOutside",
98 98 "action": "set",
99   - "actor": "selection-label",
  99 + "actor": "selectionLabel",
100 100 "property": "text",
101 101 "value": "No button pressed, backing touched"
102 102 }
... ... @@ -104,45 +104,45 @@
104 104 },
105 105 {
106 106 "type": "ConfirmationPopup",
107   - "name": "custom-animation-popup",
108   - "parent-origin": [0.5, 0.55, 0.5],
109   - "anchor-point": "CENTER",
110   - "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
111   - "height-resize-policy": "USE_NATURAL_SIZE",
112   - "size-mode-factor": [0.65, 1.0, 1.0],
113   - "tail-visible": false,
114   - "tail-position": [0, 0, 0],
115   - "display-change-animation-duration": 1.0,
116   - "contextual-mode": "NON_CONTEXTUAL",
117   - "control-ok": "control-ok",
118   - "control-cancel": "control-cancel",
119   - "connect-signal-ok-selected": "clicked",
120   - "connect-signal-cancel-selected": "clicked",
121   - "animation-mode": "CUSTOM",
122   - "entry-animation": {
123   - "actor": "custom-animation-popup",
  107 + "name": "customAnimationPopup",
  108 + "parentOrigin": [0.5, 0.55, 0.5],
  109 + "anchorPoint": "CENTER",
  110 + "widthResizePolicy": "SIZE_RELATIVE_TO_PARENT",
  111 + "heightResizePolicy": "USE_NATURAL_SIZE",
  112 + "sizeModeFactor": [0.65, 1.0, 1.0],
  113 + "tailVisible": false,
  114 + "tailPosition": [0, 0, 0],
  115 + "displayChangeAnimationDuration": 1.0,
  116 + "contextualMode": "NON_CONTEXTUAL",
  117 + "controlOk": "controlOk",
  118 + "controlCancel": "controlCancel",
  119 + "connectSignalOkSelected": "clicked",
  120 + "connectSignalCancelSelected": "clicked",
  121 + "animationMode": "CUSTOM",
  122 + "entryAnimation": {
  123 + "actor": "customAnimationPopup",
124 124 "property": "position",
125 125 "value": [
126 126 0,
127 127 0,
128 128 0
129 129 ],
130   - "alpha-function": "EASE_OUT",
131   - "time-period": {
  130 + "alphaFunction": "EASE_OUT",
  131 + "timePeriod": {
132 132 "delay": 0.0,
133 133 "duration": 1.0
134 134 }
135 135 },
136   - "exit-animation": {
137   - "actor": "custom-animation-popup",
  136 + "exitAnimation": {
  137 + "actor": "customAnimationPopup",
138 138 "property": "position",
139 139 "value": [
140 140 -450,
141 141 -225,
142 142 0
143 143 ],
144   - "alpha-function": "EASE_IN",
145   - "time-period": {
  144 + "alphaFunction": "EASE_IN",
  145 + "timePeriod": {
146 146 "delay": 0.0,
147 147 "duration": 1.0
148 148 }
... ... @@ -150,167 +150,167 @@
150 150 "title": {
151 151 "type": "TextLabel",
152 152 "text": "Title text",
153   - "text-color": [1, 1, 1, 1]
  153 + "textColor": [1, 1, 1, 1]
154 154 },
155 155 "content": {
156 156 "type": "TextLabel",
157 157 "text": "Content text",
158 158 "padding": [20, 20, 20, 0],
159   - "text-color": [1, 1, 1, 1]
  159 + "textColor": [1, 1, 1, 1]
160 160 },
161 161 "footer": {
162 162 "type": "Control",
163 163 "size": [0, 80, 0],
164   - "width-resize-policy": "FILL_TO_PARENT",
165   - "height-resize-policy": "FIXED",
166   - "parent-origin": "CENTER",
167   - "anchor-point": "CENTER",
  164 + "widthResizePolicy": "FILL_TO_PARENT",
  165 + "heightResizePolicy": "FIXED",
  166 + "parentOrigin": "CENTER",
  167 + "anchorPoint": "CENTER",
168 168 "actors": [
169 169 {
170 170 "type": "PushButton",
171   - "name": "control-ok",
172   - "parent-origin": "CENTER_LEFT",
173   - "anchor-point": "CENTER_LEFT",
  171 + "name": "controlOk",
  172 + "parentOrigin": "CENTER_LEFT",
  173 + "anchorPoint": "CENTER_LEFT",
174 174 "position": [20, 0, 0],
175   - "label-text": "OK"
  175 + "labelText": "OK"
176 176 },
177 177 {
178 178 "type": "PushButton",
179   - "name": "control-cancel",
180   - "parent-origin": "CENTER_RIGHT",
181   - "anchor-point": "CENTER_RIGHT",
  179 + "name": "controlCancel",
  180 + "parentOrigin": "CENTER_RIGHT",
  181 + "anchorPoint": "CENTER_RIGHT",
182 182 "position": [-20, 0, 0],
183   - "label-text": "Cancel"
  183 + "labelText": "Cancel"
184 184 }
185 185 ]
186 186 },
187 187 "signals": [
188 188 {
189   - "name": "control-signal-ok",
  189 + "name": "controlSignalOk",
190 190 "action": "set",
191   - "actor": "selection-label",
  191 + "actor": "selectionLabel",
192 192 "property": "text",
193 193 "value": "User pressed: OK Button"
194 194 },
195 195 {
196   - "name": "control-signal-ok",
  196 + "name": "controlSignalOk",
197 197 "action": "set",
198   - "actor": "custom-animation-popup",
199   - "property": "display-state",
  198 + "actor": "customAnimationPopup",
  199 + "property": "displayState",
200 200 "value": "HIDDEN"
201 201 },
202 202 {
203   - "name": "control-signal-cancel",
  203 + "name": "controlSignalCancel",
204 204 "action": "set",
205   - "actor": "selection-label",
  205 + "actor": "selectionLabel",
206 206 "property": "text",
207 207 "value": "User pressed: Cancel Button"
208 208 },
209 209 {
210   - "name": "control-signal-cancel",
  210 + "name": "controlSignalCancel",
211 211 "action": "set",
212   - "actor": "custom-animation-popup",
213   - "property": "display-state",
  212 + "actor": "customAnimationPopup",
  213 + "property": "displayState",
214 214 "value": "HIDDEN"
215 215 },
216 216 {
217   - "name": "touched-outside",
  217 + "name": "touchedOutside",
218 218 "action": "set",
219   - "actor": "custom-animation-popup",
220   - "property": "display-state",
  219 + "actor": "customAnimationPopup",
  220 + "property": "displayState",
221 221 "value": "HIDDEN"
222 222 },
223 223 {
224   - "name": "touched-outside",
  224 + "name": "touchedOutside",
225 225 "action": "set",
226   - "actor": "selection-label",
  226 + "actor": "selectionLabel",
227 227 "property": "text",
228 228 "value": "No button pressed, backing touched"
229 229 }
230 230 ]
231 231 },
232 232 {
233   - "type": "popup-toast",
  233 + "type": "PopupToast",
234 234 "name": "toast",
235   - "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
236   - "height-resize-policy": "USE_NATURAL_SIZE",
237   - "size-mode-factor": [0.85, 0, 0],
  235 + "widthResizePolicy": "SIZE_RELATIVE_TO_PARENT",
  236 + "heightResizePolicy": "USE_NATURAL_SIZE",
  237 + "sizeModeFactor": [0.85, 0, 0],
238 238 "title": {
239 239 "type": "TextLabel",
240   - "width-resize-policy": "FILL_TO_PARENT",
241   - "height-resize-policy": "USE_NATURAL_SIZE",
242   - "parent-origin": "CENTER",
243   - "anchor-point": "CENTER",
  240 + "widthResizePolicy": "FILL_TO_PARENT",
  241 + "heightResizePolicy": "USE_NATURAL_SIZE",
  242 + "parentOrigin": "CENTER",
  243 + "anchorPoint": "CENTER",
244 244 "text": "This is a toast popup. \nIt will auto-hide itself.",
245   - "text-color": [1, 1, 1, 1],
246   - "multi-line": true,
247   - "horizontal-alignment": "CENTER",
248   - "vertical-alignment": "CENTER",
  245 + "textColor": [1, 1, 1, 1],
  246 + "multiLine": true,
  247 + "horizontalAlignment": "CENTER",
  248 + "verticalAlignment": "CENTER",
249 249 "padding": [20.0, 20.0, 20.0, 20.0]
250 250 }
251 251 },
252 252 {
253 253 "type": "PushButton",
254   - "name": "popup-trigger-button",
255   - "parent-origin": [0.1, 0.1, 0.5],
256   - "anchor-point": "TOP_LEFT",
257   - "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
258   - "height-resize-policy": "SIZE_RELATIVE_TO_PARENT",
259   - "size-mode-factor": [0.38, 0.14, 1.0],
260   - "label-text": "Popup",
  254 + "name": "popupTriggerButton",
  255 + "parentOrigin": [0.1, 0.1, 0.5],
  256 + "anchorPoint": "TOP_LEFT",
  257 + "widthResizePolicy": "SIZE_RELATIVE_TO_PARENT",
  258 + "heightResizePolicy": "SIZE_RELATIVE_TO_PARENT",
  259 + "sizeModeFactor": [0.38, 0.14, 1.0],
  260 + "labelText": "Popup",
261 261 "signals": [{
262 262 "name": "clicked",
263 263 "action": "set",
264   - "actor": "confirmation-popup",
265   - "property": "display-state",
  264 + "actor": "confirmationPopup",
  265 + "property": "displayState",
266 266 "value": "SHOWN"
267 267 }]
268 268 },
269 269 {
270 270 "type": "PushButton",
271   - "name": "animated-popup-trigger-button",
272   - "parent-origin": [0.9, 0.1, 0.5],
273   - "anchor-point": "TOP_RIGHT",
274   - "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
275   - "height-resize-policy": "SIZE_RELATIVE_TO_PARENT",
276   - "size-mode-factor": [0.38, 0.14, 1.0],
277   - "label-text": "Animated",
  271 + "name": "animatedPopupTriggerButton",
  272 + "parentOrigin": [0.9, 0.1, 0.5],
  273 + "anchorPoint": "TOP_RIGHT",
  274 + "widthResizePolicy": "SIZE_RELATIVE_TO_PARENT",
  275 + "heightResizePolicy": "SIZE_RELATIVE_TO_PARENT",
  276 + "sizeModeFactor": [0.38, 0.14, 1.0],
  277 + "labelText": "Animated",
278 278 "signals": [{
279 279 "name": "clicked",
280 280 "action": "set",
281   - "actor": "custom-animation-popup",
282   - "property": "display-state",
  281 + "actor": "customAnimationPopup",
  282 + "property": "displayState",
283 283 "value": "SHOWN"
284 284 }]
285 285 },
286 286 {
287 287 "type": "PushButton",
288   - "name": "toast-trigger-button",
289   - "parent-origin": [0.5, 1.0, 0.5],
290   - "anchor-point": "BOTTOM_CENTER",
291   - "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
292   - "height-resize-policy": "SIZE_RELATIVE_TO_PARENT",
293   - "size-mode-factor": [0.5, 0.14, 1.0],
294   - "label-text": "Push for Toast",
  288 + "name": "toastTriggerButton",
  289 + "parentOrigin": [0.5, 1.0, 0.5],
  290 + "anchorPoint": "BOTTOM_CENTER",
  291 + "widthResizePolicy": "SIZE_RELATIVE_TO_PARENT",
  292 + "heightResizePolicy": "SIZE_RELATIVE_TO_PARENT",
  293 + "sizeModeFactor": [0.5, 0.14, 1.0],
  294 + "labelText": "Push for Toast",
295 295 "signals": [{
296 296 "name": "clicked",
297 297 "action": "set",
298 298 "actor": "toast",
299   - "property": "display-state",
  299 + "property": "displayState",
300 300 "value": "SHOWN"
301 301 }]
302 302 },
303 303 {
304 304 "type": "TextLabel",
305   - "name": "selection-label",
306   - "parent-origin": [0.5, 0.22, 0.5],
307   - "anchor-point": "TOP_CENTER",
308   - "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
309   - "height-resize-policy": "SIZE_RELATIVE_TO_PARENT",
310   - "size-mode-factor": [0.9, 0.14, 1.0],
  305 + "name": "selectionLabel",
  306 + "parentOrigin": [0.5, 0.22, 0.5],
  307 + "anchorPoint": "TOP_CENTER",
  308 + "widthResizePolicy": "SIZE_RELATIVE_TO_PARENT",
  309 + "heightResizePolicy": "SIZE_RELATIVE_TO_PARENT",
  310 + "sizeModeFactor": [0.9, 0.14, 1.0],
311 311 "text": "No selection made",
312   - "horizontal-alignment": "CENTER",
313   - "vertical-alignment": "CENTER"
  312 + "horizontalAlignment": "CENTER",
  313 + "verticalAlignment": "CENTER"
314 314 }
315 315 ]
316 316 }
... ...
resources/scripts/shader-effect-ripple.json
... ... @@ -8,19 +8,19 @@
8 8 0.9150390625,
9 9 0.0
10 10 ],
11   - "parent-origin": [0.5, 0.5, 0.5],
  11 + "parentOrigin": [0.5, 0.5, 0.5],
12 12 "size": [200, 200, 0],
13 13 "effect": "Ripple2D",
14 14 "image": {
15 15 "filename": "{DALI_IMAGE_DIR}gallery-medium-25.jpg",
16 16 "width": 200,
17 17 "height": 80,
18   - "load-policy": "IMMEDIATE",
19   - "release-policy": "NEVER"
  18 + "loadPolicy": "IMMEDIATE",
  19 + "releasePolicy": "NEVER"
20 20 },
21 21 "signals": [
22 22 {
23   - "name": "on-stage",
  23 + "name": "onStage",
24 24 "action": "play",
25 25 "animation": "Animation_1"
26 26 }
... ... @@ -36,27 +36,27 @@
36 36 "actor": "Image1",
37 37 "property": "uTime",
38 38 "value": 10.0,
39   - "alpha-function": "LINEAR",
40   - "time-period": {
  39 + "alphaFunction": "LINEAR",
  40 + "timePeriod": {
41 41 "delay": 0,
42 42 "duration": 10.0
43 43 },
44   - "gui-builder-timeline-color": "#8dc0da"
  44 + "guiBuilderTimelineColor": "#8dc0da"
45 45 }
46 46 ]
47 47 }
48 48 },
49   - "shader-effects": {
  49 + "shaderEffects": {
50 50 "Ripple2D": {
51 51 "program": {
52 52 "vertexPrefix": "",
53 53 "vertex": "void main(void)\n{\n gl_Position = uProjection * uModelView * vec4(aPosition, 1.0);\n vTexCoord = aTexCoord;\n}\n\n",
54 54 "fragmentPrefix": "",
55 55 "fragment": "precision mediump float;\nuniform float uAmplitude; // 0.02; (< 1)\nuniform float uTime;\nvoid main()\n{\n highp vec2 textureSize = sTextureRect.zw - sTextureRect.xy;\n highp vec2 pos = -1.0 + 2.0 * vTexCoord.st/textureSize;\n highp float len = length(pos);\n highp vec2 texCoord = vTexCoord.st/textureSize + pos/len * sin( len * 12.0 - uTime * 4.0 ) * uAmplitude; \n gl_FragColor = texture2D(sTexture, texCoord) * uColor;\n}\n\n\n",
56   - "geometry-type": "GEOMETRY_TYPE_IMAGE"
  56 + "geometryType": "GEOMETRY_TYPE_IMAGE"
57 57 },
58   - "geometry-hints": "HINT_NONE",
59   - "grid-density": 0,
  58 + "geometryHints": "HINT_NONE",
  59 + "gridDensity": 0,
60 60 "loop": true,
61 61 "uAmplitude": 0.02,
62 62 "uTime": 0.0
... ...
resources/scripts/slider-test-style.json
... ... @@ -23,17 +23,17 @@
23 23 {
24 24 "styles": {
25 25 "slider": {
26   - "anchor-point": [0.5, 0.0, 0.0],
27   - "parent-origin": [0.5, 0.0, 0.0],
  26 + "anchorPoint": [0.5, 0.0, 0.0],
  27 + "parentOrigin": [0.5, 0.0, 0.0],
28 28 "position": [0, 300, 0],
29 29 "size": [480, 72, 1],
30   - "lower-bound": 0,
31   - "upper-bound": 10,
32   - "show-popup": true,
33   - "show-value": true,
34   - "value-precision": 2,
  30 + "lowerBound": 0,
  31 + "upperBound": 10,
  32 + "showPopup": true,
  33 + "showValue": true,
  34 + "valuePrecision": 2,
35 35 "value": 0.0,
36   - "popup-text-color": [0.0, 1.0, 1.0, 1.0]
  36 + "popupTextColor": [0.0, 1.0, 1.0, 1.0]
37 37 }
38 38 }
39 39 }
... ...
resources/scripts/slider.json
... ... @@ -17,115 +17,115 @@
17 17 {
18 18 "stage": [{
19 19 "type": "Slider",
20   - "parent-origin": "TOP_CENTER",
  20 + "parentOrigin": "TOP_CENTER",
21 21 "position": [0, 144, 0],
22 22 "size": [480, 72, 1],
23   - "lower-bound": 0,
24   - "upper-bound": 1,
25   - "show-popup": true,
26   - "show-value": true,
27   - "value-precision": 2,
  23 + "lowerBound": 0,
  24 + "upperBound": 1,
  25 + "showPopup": true,
  26 + "showValue": true,
  27 + "valuePrecision": 2,
28 28 "value": 0.0
29 29 }, {
30 30 "type": "Slider",
31   - "parent-origin": "TOP_CENTER",
  31 + "parentOrigin": "TOP_CENTER",
32 32 "position": [0, 224, 0],
33 33 "size": [300, 72, 1],
34   - "lower-bound": 1,
35   - "upper-bound": 10,
36   - "show-popup": false,
37   - "show-value": true,
38   - "value-precision": 0,
  34 + "lowerBound": 1,
  35 + "upperBound": 10,
  36 + "showPopup": false,
  37 + "showValue": true,
  38 + "valuePrecision": 0,
39 39 "value": 5.0
40 40 }, {
41 41 "type": "Slider",
42   - "parent-origin": "TOP_CENTER",
  42 + "parentOrigin": "TOP_CENTER",
43 43 "position": [0, 304, 0],
44 44 "size": [300, 72, 1],
45   - "lower-bound": 0,
46   - "upper-bound": 5,
47   - "show-popup": false,
48   - "show-value": false,
  45 + "lowerBound": 0,
  46 + "upperBound": 5,
  47 + "showPopup": false,
  48 + "showValue": false,
49 49 "value": 0.0,
50   - "mark-tolerance": 0.1,
  50 + "markTolerance": 0.1,
51 51 "marks": [0, 1, 2, 3, 4, 5]
52 52 }, {
53 53 "type": "Slider",
54   - "parent-origin": "TOP_CENTER",
  54 + "parentOrigin": "TOP_CENTER",
55 55 "position": [0, 384, 0],
56 56 "size": [480, 72, 1],
57   - "lower-bound": 0,
58   - "upper-bound": 5,
59   - "show-popup": false,
60   - "show-value": false,
  57 + "lowerBound": 0,
  58 + "upperBound": 5,
  59 + "showPopup": false,
  60 + "showValue": false,
61 61 "value": 0.0,
62   - "mark-tolerance": 0.1,
63   - "snap-to-marks": true,
  62 + "markTolerance": 0.1,
  63 + "snapToMarks": true,
64 64 "marks": [0, 1, 2, 3, 4, 5]
65 65 }, {
66 66 "type": "Slider",
67   - "parent-origin": "TOP_CENTER",
  67 + "parentOrigin": "TOP_CENTER",
68 68 "position": [0, 464, 0],
69 69 "size": [480, 72, 1],
70   - "lower-bound": 5,
71   - "upper-bound": 100,
72   - "show-popup": true,
73   - "show-value": true,
74   - "value-precision": 0,
  70 + "lowerBound": 5,
  71 + "upperBound": 100,
  72 + "showPopup": true,
  73 + "showValue": true,
  74 + "valuePrecision": 0,
75 75 "value": 50.0,
76   - "popup-text-color": [1, 0, 0, 1],
77   - "hit-region": [0, 48],
78   - "backing-region": [0, 10],
79   - "handle-region": [48, 48]
  76 + "popupTextColor": [1, 0, 0, 1],
  77 + "hitRegion": [0, 48],
  78 + "backingRegion": [0, 10],
  79 + "handleRegion": [48, 48]
80 80 }, {
81 81 "type": "Slider",
82   - "parent-origin": "TOP_CENTER",
  82 + "parentOrigin": "TOP_CENTER",
83 83 "position": [0, 544, 0],
84 84 "size": [480, 72, 1],
85   - "lower-bound": 10,
86   - "upper-bound": 100,
87   - "show-popup": true,
88   - "show-value": true,
89   - "value-prescision": 0,
  85 + "lowerBound": 10,
  86 + "upperBound": 100,
  87 + "showPopup": true,
  88 + "showValue": true,
  89 + "valuePrescision": 0,
90 90 "value": 100.0,
91   - "hit-region": [0, 48],
92   - "backing-region": [0, 10],
93   - "handle-region": [48, 48],
94   - "backing-image-name": "{DALI_IMAGE_DIR}circle_point_32x32.png",
95   - "handle-image-name": "{DALI_IMAGE_DIR}circle_point_shadow_32x32.png",
96   - "progress-image-name": "{DALI_IMAGE_DIR}circle_point.png",
97   - "backing-scale9-border": [16, 0, 16, 0],
98   - "progress-scale9-border": [16, 0, 16, 0]
  91 + "hitRegion": [0, 48],
  92 + "backingRegion": [0, 10],
  93 + "handleRegion": [48, 48],
  94 + "backingImageName": "{DALI_IMAGE_DIR}circle_point_32x32.png",
  95 + "handleImageName": "{DALI_IMAGE_DIR}circle_point_shadow_32x32.png",
  96 + "progressImageName": "{DALI_IMAGE_DIR}circle_point.png",
  97 + "backingScale9Border": [16, 0, 16, 0],
  98 + "progressScale9Border": [16, 0, 16, 0]
99 99 }, {
100 100 "type": "Slider",
101   - "parent-origin": "TOP_CENTER",
  101 + "parentOrigin": "TOP_CENTER",
102 102 "position": [0, 624, 0],
103 103 "size": [480, 72, 1],
104   - "lower-bound": 10,
105   - "upper-bound": 100,
106   - "show-popup": true,
107   - "show-value": true,
108   - "value-precision": 0,
  104 + "lowerBound": 10,
  105 + "upperBound": 100,
  106 + "showPopup": true,
  107 + "showValue": true,
  108 + "valuePrecision": 0,
109 109 "value": 50.0,
110   - "hit-region": [0, 48],
111   - "backing-region": [0, 10],
112   - "handle-region": [48, 48],
  110 + "hitRegion": [0, 48],
  111 + "backingRegion": [0, 10],
  112 + "handleRegion": [48, 48],
113 113 "enabled": false
114 114 }, {
115 115 "type": "Slider",
116   - "parent-origin": "TOP_CENTER",
  116 + "parentOrigin": "TOP_CENTER",
117 117 "position": [0, 704, 0],
118 118 "size": [480, 72, 1],
119   - "lower-bound": 10,
120   - "upper-bound": 100,
121   - "show-popup": true,
122   - "show-value": true,
123   - "value-precision": 0,
  119 + "lowerBound": 10,
  120 + "upperBound": 100,
  121 + "showPopup": true,
  122 + "showValue": true,
  123 + "valuePrecision": 0,
124 124 "value": 50.0,
125   - "hit-region": [0, 48],
126   - "backing-region": [0, 10],
127   - "handle-region": [48, 48],
  125 + "hitRegion": [0, 48],
  126 + "backingRegion": [0, 10],
  127 + "handleRegion": [48, 48],
128 128 "enabled": false,
129   - "disable-color": [1, 0, 0, 1]
  129 + "disableColor": [1, 0, 0, 1]
130 130 }]
131 131 }
... ...
resources/scripts/super-blur-view.json
... ... @@ -22,10 +22,10 @@
22 22 "blur": {
23 23 "duration": 1,
24 24 "properties": [{
25   - "actor": "super-blur",
26   - "property": "blur-strength",
  25 + "actor": "superBlur",
  26 + "property": "blurStrength",
27 27 "value": 1,
28   - "time-period": {
  28 + "timePeriod": {
29 29 "delay": 0,
30 30 "duration": 1
31 31 }
... ... @@ -34,10 +34,10 @@
34 34 "clear": {
35 35 "duration": 1,
36 36 "properties": [{
37   - "actor": "super-blur",
38   - "property": "blur-strength",
  37 + "actor": "superBlur",
  38 + "property": "blurStrength",
39 39 "value": 0,
40   - "time-period": {
  40 + "timePeriod": {
41 41 "delay": 0,
42 42 "duration": 1
43 43 }
... ... @@ -48,9 +48,9 @@
48 48 // SuperBlurView
49 49 {
50 50 "type": "SuperBlurView",
51   - "name": "super-blur",
52   - "parent-origin": "TOP_CENTER",
53   - "anchor-point": "TOP_CENTER",
  51 + "name": "superBlur",
  52 + "parentOrigin": "TOP_CENTER",
  53 + "anchorPoint": "TOP_CENTER",
54 54 "position": [0, 10, 0],
55 55 "size": [460, 600, 0],
56 56 "image": {
... ... @@ -61,17 +61,17 @@
61 61 // Button to blur/clear
62 62 {
63 63 "type": "PushButton",
64   - "name": "toggle-button",
65   - "parent-origin": "BOTTOM_CENTER",
66   - "anchor-point": "BOTTOM_CENTER",
  64 + "name": "toggleButton",
  65 + "parentOrigin": "BOTTOM_CENTER",
  66 + "anchorPoint": "BOTTOM_CENTER",
67 67 "position": [0, 0, 0],
68 68 "size": [200, 100, 0],
69   - "label-actor": {
  69 + "labelActor": {
70 70 "type": "TextLabel",
71 71 "text": "Blur"
72 72 },
73   - "unselected-state-image": "{DALI_IMAGE_DIR}button-background.png",
74   - "selected-state-image": "{DALI_IMAGE_DIR}button-background.png",
  73 + "unselectedStateImage": "{DALI_IMAGE_DIR}button-background.png",
  74 + "selectedStateImage": "{DALI_IMAGE_DIR}button-background.png",
75 75 "signals": [{
76 76 "name": "pressed",
77 77 "action": "play",
... ...
resources/scripts/table-view.json
... ... @@ -40,82 +40,82 @@
40 40 */
41 41  
42 42 "stage": [{
43   - "name":"simple-table",
  43 + "name":"simpleTable",
44 44 "type":"TableView",
45 45 "background":{
46 46 "color": [0.5,0.5,0,1]
47 47 },
48   - "parent-origin": "CENTER",
  48 + "parentOrigin": "CENTER",
49 49 "size":[400,400,1],
50 50 "rows": 4,
51 51 "columns": 4,
52   - "cell-padding": [10, 5],
53   - "layout-rows": { // set the height of the rows
  52 + "cellPadding": [10, 5],
  53 + "layoutRows": { // set the height of the rows
54 54 "0": { "policy": "fixed", "value": 40 },
55 55 "1": { "policy": "relative", "value": 0.33 },
56 56 "2": { "policy": "fit", "value": 0 }
57 57 },
58   - "layout-columns": { // set the widths of the columns
  58 + "layoutColumns": { // set the widths of the columns
59 59 "0": { "policy": "fit", "value": 0 },
60 60 "2": { "policy": "relative", "value": 0.2 },
61 61 "3": { "policy": "fixed", "value": 30 }
62 62 },
63 63 "actors": [{
64   - "name":"gallery-1",
  64 + "name":"gallery1",
65 65 "type":"ImageActor",
66   - "height-resize-policy":"FILL_TO_PARENT",
  66 + "heightResizePolicy":"FILL_TO_PARENT",
67 67 "image": {
68 68 "filename": "{DALI_IMAGE_DIR}gallery-small-1.jpg"
69 69 },
70   - "custom-properties": { // properties registered dynamically
71   - "cell-index": [0,0], // property to specify the top-left cell this child occupies
72   - "row-span":4, // property to specify how many rows this child occupies, if not set, default value is 1
73   - "column-span":1 // property to specify how many columns this child occupies, if nor set, defualt cvalue is 1
  70 + "customProperties": { // properties registered dynamically
  71 + "cellIndex": [0,0], // property to specify the top-left cell this child occupies
  72 + "rowSpan":4, // property to specify how many rows this child occupies, if not set, default value is 1
  73 + "columnSpan":1 // property to specify how many columns this child occupies, if nor set, defualt cvalue is 1
74 74 }
75 75 },{
76   - "name":"gallery-2",
  76 + "name":"gallery2",
77 77 "type":"ImageActor",
78   - "height-resize-policy":"FILL_TO_PARENT",
  78 + "heightResizePolicy":"FILL_TO_PARENT",
79 79 "image": {
80 80 "filename": "{DALI_IMAGE_DIR}gallery-small-2.jpg"
81 81 },
82   - "custom-properties": { // properties registered dynamically
83   - "cell-index": [0,1],
84   - "cell-horizontal-alignment": "right" // property to specify how to align horizontally inside the cells, if not set, default value is 'left'
  82 + "customProperties": { // properties registered dynamically
  83 + "cellIndex": [0,1],
  84 + "cellHorizontalAlignment": "right" // property to specify how to align horizontally inside the cells, if not set, default value is 'left'
85 85 }
86 86 },{
87   - "name":"gallery-3",
  87 + "name":"gallery3",
88 88 "type":"ImageActor",
89 89 "image": {
90 90 "filename": "{DALI_IMAGE_DIR}gallery-small-3.jpg"
91 91 },
92   - "custom-properties": {
93   - "cell-index":[1,1],
94   - "row-span":3,
95   - "cell-horizontal-alignment": "left",// property to specify how to align horizontally inside the cells, if not set, default value is 'left'
96   - "cell-vertical-alignment": "center" // property to specify how to align vertically inside the cells, if not set, default value is 'top'
  92 + "customProperties": {
  93 + "cellIndex":[1,1],
  94 + "rowSpan":3,
  95 + "cellHorizontalAlignment": "left",// property to specify how to align horizontally inside the cells, if not set, default value is 'left'
  96 + "cellVerticalAlignment": "center" // property to specify how to align vertically inside the cells, if not set, default value is 'top'
97 97 }
98 98 }, {
99   - "name":"gallery-4",
  99 + "name":"gallery4",
100 100 "type":"ImageActor",
101   - "width-resize-policy":"FILL_TO_PARENT",
  101 + "widthResizePolicy":"FILL_TO_PARENT",
102 102 "image": {
103 103 "filename": "{DALI_IMAGE_DIR}gallery-small-4.jpg"
104 104 },
105   - "custom-properties": {
106   - "cell-index":[2,2]
  105 + "customProperties": {
  106 + "cellIndex":[2,2]
107 107 }
108 108 }, {
109   - "name":"gallery-5",
  109 + "name":"gallery5",
110 110 "type":"ImageActor",
111   - "width-resize-policy":"FILL_TO_PARENT",
112   - "height-resize-policy":"FILL_TO_PARENT",
  111 + "widthResizePolicy":"FILL_TO_PARENT",
  112 + "heightResizePolicy":"FILL_TO_PARENT",
113 113 "image": {
114 114 "filename": "{DALI_IMAGE_DIR}gallery-small-5.jpg"
115 115 },
116   - "custom-properties": {
117   - "cell-index":[3,2],
118   - "column-span": 2
  116 + "customProperties": {
  117 + "cellIndex":[3,2],
  118 + "columnSpan": 2
119 119 }
120 120 }]
121 121 }]
... ...
resources/scripts/timing.json
1 1 {
2 2 "templates":
3 3 {
4   - "color-control":
  4 + "colorControl":
5 5 {
6 6 "type": "Control",
7   - "parent-origin": "CENTER",
8   - "anchor-point": "CENTER",
  7 + "parentOrigin": "CENTER",
  8 + "anchorPoint": "CENTER",
9 9 "size": [ 100, 100, 1 ],
10 10 "scale": [ 0.1, 0.1, 1 ],
11   - "color-alpha": 0,
  11 + "colorAlpha": 0,
12 12 "background":{ "color": [ 0.95, 0.65, 0.1, 1 ] }
13 13 }
14 14 },
15 15 "stage": [
16 16 {
17 17 "type": "Actor",
18   - "parent-origin": "CENTER",
19   - "anchor-point": "CENTER",
  18 + "parentOrigin": "CENTER",
  19 + "anchorPoint": "CENTER",
20 20 "actors": [{
21   - "type": "color-control",
  21 + "type": "colorControl",
22 22 "name": "Container 1",
23 23 "position": [
24 24 -165,
... ... @@ -27,7 +27,7 @@
27 27 ]
28 28 },
29 29 {
30   - "type": "color-control",
  30 + "type": "colorControl",
31 31 "name": "Container 2",
32 32 "position": [
33 33 -55,
... ... @@ -36,7 +36,7 @@
36 36 ]
37 37 },
38 38 {
39   - "type": "color-control",
  39 + "type": "colorControl",
40 40 "name": "Container 3",
41 41 "position": [
42 42 55,
... ... @@ -45,7 +45,7 @@
45 45 ]
46 46 },
47 47 {
48   - "type": "color-control",
  48 + "type": "colorControl",
49 49 "name": "Container 4",
50 50 "position": [
51 51 165,
... ... @@ -54,7 +54,7 @@
54 54 ]
55 55 },
56 56 {
57   - "type": "color-control",
  57 + "type": "colorControl",
58 58 "name": "Container 5",
59 59 "position": [
60 60 -165,
... ... @@ -63,7 +63,7 @@
63 63 ]
64 64 },
65 65 {
66   - "type": "color-control",
  66 + "type": "colorControl",
67 67 "name": "Container 6",
68 68 "position": [
69 69 -55,
... ... @@ -72,7 +72,7 @@
72 72 ]
73 73 },
74 74 {
75   - "type": "color-control",
  75 + "type": "colorControl",
76 76 "name": "Container 7",
77 77 "position": [
78 78 55,
... ... @@ -81,7 +81,7 @@
81 81 ]
82 82 },
83 83 {
84   - "type": "color-control",
  84 + "type": "colorControl",
85 85 "name": "Container 8",
86 86 "position": [
87 87 165,
... ... @@ -94,10 +94,10 @@
94 94 "type": "Control",
95 95 "actors": [],
96 96 "name": "ControlBack",
97   - "parent-origin": "CENTER",
98   - "anchor-point": "CENTER",
99   - "width-resize-policy": "FILL_TO_PARENT",
100   - "height-resize-policy": "FILL_TO_PARENT",
  97 + "parentOrigin": "CENTER",
  98 + "anchorPoint": "CENTER",
  99 + "widthResizePolicy": "FILL_TO_PARENT",
  100 + "heightResizePolicy": "FILL_TO_PARENT",
101 101 "position": [
102 102 0,
103 103 0,
... ... @@ -121,9 +121,9 @@
121 121 "type": "TextLabel",
122 122 "text": "Touch",
123 123 "name": "Instruction",
124   - "parent-origin": "BOTTOM_CENTER",
125   - "anchor-point": "BOTTOM_CENTER",
126   - "text-color": [1, 0, 0, 1],
  124 + "parentOrigin": "BOTTOM_CENTER",
  125 + "anchorPoint": "BOTTOM_CENTER",
  126 + "textColor": [1, 0, 0, 1],
127 127 "position": [
128 128 0,
129 129 0,
... ... @@ -142,8 +142,8 @@
142 142 1,
143 143 1
144 144 ],
145   - "alpha-function": "LINEAR",
146   - "time-period": {
  145 + "alphaFunction": "LINEAR",
  146 + "timePeriod": {
147 147 "delay": 0.35,
148 148 "duration": 0.15
149 149 },
... ... @@ -157,8 +157,8 @@
157 157 0.10000000000000003,
158 158 1
159 159 ],
160   - "alpha-function": "LINEAR",
161   - "time-period": {
  160 + "alphaFunction": "LINEAR",
  161 + "timePeriod": {
162 162 "delay": 2.449,
163 163 "duration": 0.15
164 164 },
... ... @@ -166,10 +166,10 @@
166 166 },
167 167 {
168 168 "actor": "Container 1",
169   - "property": "color-alpha",
  169 + "property": "colorAlpha",
170 170 "value": 1,
171   - "alpha-function": "LINEAR",
172   - "time-period": {
  171 + "alphaFunction": "LINEAR",
  172 + "timePeriod": {
173 173 "delay": 0.3,
174 174 "duration": 0.05
175 175 },
... ... @@ -177,10 +177,10 @@
177 177 },
178 178 {
179 179 "actor": "Container 1",
180   - "property": "color-alpha",
  180 + "property": "colorAlpha",
181 181 "value": 0,
182   - "alpha-function": "LINEAR",
183   - "time-period": {
  182 + "alphaFunction": "LINEAR",
  183 + "timePeriod": {
184 184 "delay": 2.599,
185 185 "duration": 0.051
186 186 },
... ... @@ -194,8 +194,8 @@
194 194 1,
195 195 1
196 196 ],
197   - "alpha-function": "LINEAR",
198   - "time-period": {
  197 + "alphaFunction": "LINEAR",
  198 + "timePeriod": {
199 199 "delay": 0.4,
200 200 "duration": 0.15
201 201 },
... ... @@ -209,8 +209,8 @@
209 209 0.1,
210 210 1
211 211 ],
212   - "alpha-function": "LINEAR",
213   - "time-period": {
  212 + "alphaFunction": "LINEAR",
  213 + "timePeriod": {
214 214 "delay": 2.5,
215 215 "duration": 0.15
216 216 },
... ... @@ -218,10 +218,10 @@
218 218 },
219 219 {
220 220 "actor": "Container 2",
221   - "property": "color-alpha",
  221 + "property": "colorAlpha",
222 222 "value": 1,
223   - "alpha-function": "LINEAR",
224   - "time-period": {
  223 + "alphaFunction": "LINEAR",
  224 + "timePeriod": {
225 225 "delay": 0.35,
226 226 "duration": 0.05
227 227 },
... ... @@ -229,10 +229,10 @@
229 229 },
230 230 {
231 231 "actor": "Container 2",
232   - "property": "color-alpha",
  232 + "property": "colorAlpha",
233 233 "value": 0,
234   - "alpha-function": "LINEAR",
235   - "time-period": {
  234 + "alphaFunction": "LINEAR",
  235 + "timePeriod": {
236 236 "delay": 2.65,
237 237 "duration": 0.05
238 238 },
... ... @@ -246,8 +246,8 @@
246 246 1,
247 247 1
248 248 ],
249   - "alpha-function": "LINEAR",
250   - "time-period": {
  249 + "alphaFunction": "LINEAR",
  250 + "timePeriod": {
251 251 "delay": 0.45,
252 252 "duration": 0.15
253 253 },
... ... @@ -261,8 +261,8 @@
261 261 0.1,
262 262 1
263 263 ],
264   - "alpha-function": "LINEAR",
265   - "time-period": {
  264 + "alphaFunction": "LINEAR",
  265 + "timePeriod": {
266 266 "delay": 2.55,
267 267 "duration": 0.15
268 268 },
... ... @@ -270,10 +270,10 @@
270 270 },
271 271 {
272 272 "actor": "Container 3",
273   - "property": "color-alpha",
  273 + "property": "colorAlpha",
274 274 "value": 1,
275   - "alpha-function": "LINEAR",
276   - "time-period": {
  275 + "alphaFunction": "LINEAR",
  276 + "timePeriod": {
277 277 "delay": 0.4,
278 278 "duration": 0.05
279 279 },
... ... @@ -281,10 +281,10 @@
281 281 },
282 282 {
283 283 "actor": "Container 3",
284   - "property": "color-alpha",
  284 + "property": "colorAlpha",
285 285 "value": 0,
286   - "alpha-function": "LINEAR",
287   - "time-period": {
  286 + "alphaFunction": "LINEAR",
  287 + "timePeriod": {
288 288 "delay": 2.7,
289 289 "duration": 0.05
290 290 },
... ... @@ -298,8 +298,8 @@
298 298 1,
299 299 1
300 300 ],
301   - "alpha-function": "LINEAR",
302   - "time-period": {
  301 + "alphaFunction": "LINEAR",
  302 + "timePeriod": {
303 303 "delay": 0.5,
304 304 "duration": 0.15
305 305 },
... ... @@ -313,8 +313,8 @@
313 313 0.1,
314 314 1
315 315 ],
316   - "alpha-function": "LINEAR",
317   - "time-period": {
  316 + "alphaFunction": "LINEAR",
  317 + "timePeriod": {
318 318 "delay": 2.6,
319 319 "duration": 0.15
320 320 },
... ... @@ -322,10 +322,10 @@
322 322 },
323 323 {
324 324 "actor": "Container 4",
325   - "property": "color-alpha",
  325 + "property": "colorAlpha",
326 326 "value": 1,
327   - "alpha-function": "LINEAR",
328   - "time-period": {
  327 + "alphaFunction": "LINEAR",
  328 + "timePeriod": {
329 329 "delay": 0.45,
330 330 "duration": 0.05
331 331 },
... ... @@ -333,10 +333,10 @@
333 333 },
334 334 {
335 335 "actor": "Container 4",
336   - "property": "color-alpha",
  336 + "property": "colorAlpha",
337 337 "value": 0,
338   - "alpha-function": "LINEAR",
339   - "time-period": {
  338 + "alphaFunction": "LINEAR",
  339 + "timePeriod": {
340 340 "delay": 2.75,
341 341 "duration": 0.05
342 342 },
... ... @@ -350,8 +350,8 @@
350 350 1,
351 351 1
352 352 ],
353   - "alpha-function": "LINEAR",
354   - "time-period": {
  353 + "alphaFunction": "LINEAR",
  354 + "timePeriod": {
355 355 "delay": 0.45,
356 356 "duration": 0.15
357 357 },
... ... @@ -365,8 +365,8 @@
365 365 0.1,
366 366 1
367 367 ],
368   - "alpha-function": "LINEAR",
369   - "time-period": {
  368 + "alphaFunction": "LINEAR",
  369 + "timePeriod": {
370 370 "delay": 2.65,
371 371 "duration": 0.15
372 372 },
... ... @@ -374,10 +374,10 @@
374 374 },
375 375 {
376 376 "actor": "Container 5",
377   - "property": "color-alpha",
  377 + "property": "colorAlpha",
378 378 "value": 1,
379   - "alpha-function": "LINEAR",
380   - "time-period": {
  379 + "alphaFunction": "LINEAR",
  380 + "timePeriod": {
381 381 "delay": 0.4,
382 382 "duration": 0.05
383 383 },
... ... @@ -385,10 +385,10 @@
385 385 },
386 386 {
387 387 "actor": "Container 5",
388   - "property": "color-alpha",
  388 + "property": "colorAlpha",
389 389 "value": 0,
390   - "alpha-function": "LINEAR",
391   - "time-period": {
  390 + "alphaFunction": "LINEAR",
  391 + "timePeriod": {
392 392 "delay": 2.8,
393 393 "duration": 0.05
394 394 },
... ... @@ -402,8 +402,8 @@
402 402 1,
403 403 1
404 404 ],
405   - "alpha-function": "LINEAR",
406   - "time-period": {
  405 + "alphaFunction": "LINEAR",
  406 + "timePeriod": {
407 407 "delay": 0.5,
408 408 "duration": 0.15
409 409 },
... ... @@ -417,8 +417,8 @@
417 417 0.1,
418 418 1
419 419 ],
420   - "alpha-function": "LINEAR",
421   - "time-period": {
  420 + "alphaFunction": "LINEAR",
  421 + "timePeriod": {
422 422 "delay": 2.7,
423 423 "duration": 0.15
424 424 },
... ... @@ -426,10 +426,10 @@
426 426 },
427 427 {
428 428 "actor": "Container 6",
429   - "property": "color-alpha",
  429 + "property": "colorAlpha",
430 430 "value": 1,
431   - "alpha-function": "LINEAR",
432   - "time-period": {
  431 + "alphaFunction": "LINEAR",
  432 + "timePeriod": {
433 433 "delay": 0.45,
434 434 "duration": 0.05
435 435 },
... ... @@ -437,10 +437,10 @@
437 437 },
438 438 {
439 439 "actor": "Container 6",
440   - "property": "color-alpha",
  440 + "property": "colorAlpha",
441 441 "value": 0,
442   - "alpha-function": "LINEAR",
443   - "time-period": {
  442 + "alphaFunction": "LINEAR",
  443 + "timePeriod": {
444 444 "delay": 2.85,
445 445 "duration": 0.05
446 446 },
... ... @@ -454,8 +454,8 @@
454 454 1,
455 455 1
456 456 ],
457   - "alpha-function": "LINEAR",
458   - "time-period": {
  457 + "alphaFunction": "LINEAR",
  458 + "timePeriod": {
459 459 "delay": 0.55,
460 460 "duration": 0.15
461 461 },
... ... @@ -469,8 +469,8 @@
469 469 0.1,
470 470 1
471 471 ],
472   - "alpha-function": "LINEAR",
473   - "time-period": {
  472 + "alphaFunction": "LINEAR",
  473 + "timePeriod": {
474 474 "delay": 2.75,
475 475 "duration": 0.15
476 476 },
... ... @@ -478,10 +478,10 @@
478 478 },
479 479 {
480 480 "actor": "Container 7",
481   - "property": "color-alpha",
  481 + "property": "colorAlpha",
482 482 "value": 1,
483   - "alpha-function": "LINEAR",
484   - "time-period": {
  483 + "alphaFunction": "LINEAR",
  484 + "timePeriod": {
485 485 "delay": 0.5,
486 486 "duration": 0.05
487 487 },
... ... @@ -489,10 +489,10 @@
489 489 },
490 490 {
491 491 "actor": "Container 7",
492   - "property": "color-alpha",
  492 + "property": "colorAlpha",
493 493 "value": 0,
494   - "alpha-function": "LINEAR",
495   - "time-period": {
  494 + "alphaFunction": "LINEAR",
  495 + "timePeriod": {
496 496 "delay": 2.9,
497 497 "duration": 0.05
498 498 },
... ... @@ -506,8 +506,8 @@
506 506 1,
507 507 1
508 508 ],
509   - "alpha-function": "LINEAR",
510   - "time-period": {
  509 + "alphaFunction": "LINEAR",
  510 + "timePeriod": {
511 511 "delay": 0.6,
512 512 "duration": 0.15
513 513 },
... ... @@ -521,8 +521,8 @@
521 521 0.1,
522 522 1
523 523 ],
524   - "alpha-function": "LINEAR",
525   - "time-period": {
  524 + "alphaFunction": "LINEAR",
  525 + "timePeriod": {
526 526 "delay": 2.8,
527 527 "duration": 0.15
528 528 },
... ... @@ -530,10 +530,10 @@
530 530 },
531 531 {
532 532 "actor": "Container 8",
533   - "property": "color-alpha",
  533 + "property": "colorAlpha",
534 534 "value": 1,
535   - "alpha-function": "LINEAR",
536   - "time-period": {
  535 + "alphaFunction": "LINEAR",
  536 + "timePeriod": {
537 537 "delay": 0.55,
538 538 "duration": 0.05
539 539 },
... ... @@ -541,10 +541,10 @@
541 541 },
542 542 {
543 543 "actor": "Container 8",
544   - "property": "color-alpha",
  544 + "property": "colorAlpha",
545 545 "value": 0,
546   - "alpha-function": "LINEAR",
547   - "time-period": {
  546 + "alphaFunction": "LINEAR",
  547 + "timePeriod": {
548 548 "delay": 2.95,
549 549 "duration": 0.05
550 550 },
... ...
resources/style/demo-theme.json
... ... @@ -24,53 +24,53 @@ distributing this software or its derivatives.
24 24 {
25 25 "textlabel-Rosemary":
26 26 {
27   - "font-family":"Rosemary"
  27 + "fontFamily":"Rosemary"
28 28 },
29 29 "textlabel":
30 30 {
31   - "font-style":"Regular",
32   - "point-size":18
  31 + "fontStyle":"Regular",
  32 + "pointSize":18
33 33 },
34 34 "launcherlabel":
35 35 {
36   - "point-size":18
  36 + "pointSize":18
37 37 },
38 38  
39 39 "toolbarlabel":
40 40 {
41   - "point-size":18
  41 + "pointSize":18
42 42 },
43 43  
44 44 "builderlabel":
45 45 {
46   - "point-size":13
  46 + "pointSize":13
47 47 },
48 48  
49 49 "scrollview":
50 50 {
51   - "overshoot-effect-color":"B018"
  51 + "overshootEffectColor":"B018"
52 52 },
53 53  
54 54 "grouplabel":
55 55 {
56   - "point-size":9
  56 + "pointSize":9
57 57 },
58 58  
59 59 "buttonlabel":
60 60 {
61   - "point-size":11
  61 + "pointSize":11
62 62 },
63 63  
64 64 "launcherbackground":
65 65 {
66 66 "background":
67 67 {
68   - "renderer-type": "gradient-renderer",
69   - "gradient-center": [240, 400],
70   - "gradient-radius": 932,
71   - "gradient-units": "user-space",
72   - "gradient-stop-color": [[0.247,0.38,0.52,1.0],[0.055,0.18,0.286,1.0]],
73   - "gradient-stop-offset":[0.0,1.0]
  68 + "rendererType": "gradientRenderer",
  69 + "gradientCenter": [240, 400],
  70 + "gradientRadius": 932,
  71 + "gradientUnits": "userSpace",
  72 + "gradientStopColor": [[0.247,0.38,0.52,1.0],[0.055,0.18,0.286,1.0]],
  73 + "gradientStopOffset":[0.0,1.0]
74 74 }
75 75 }
76 76 }
... ...
resources/style/mobile/demo-theme.json
... ... @@ -24,74 +24,74 @@ distributing this software or its derivatives.
24 24 {
25 25 "textlabel-Rosemary":
26 26 {
27   - "font-family":"Rosemary"
  27 + "fontFamily":"Rosemary"
28 28 },
29 29 "textlabel":
30 30 {
31   - "font-style":"Regular",
32   - "point-size":18
  31 + "fontStyle":"Regular",
  32 + "pointSize":18
33 33 },
34   - "textlabel-font-size-0":
  34 + "textlabelFontSize0":
35 35 {
36   - "point-size":8
  36 + "pointSize":8
37 37 },
38   - "textlabel-font-size-1":
  38 + "textlabelFontSize1":
39 39 {
40   - "point-size":10
  40 + "pointSize":10
41 41 },
42   - "textlabel-font-size-2":
  42 + "textlabelFontSize2":
43 43 {
44   - "point-size":15
  44 + "pointSize":15
45 45 },
46   - "textlabel-font-size-3":
  46 + "textlabelFontSize3":
47 47 {
48   - "point-size":19
  48 + "pointSize":19
49 49 },
50   - "textlabel-font-size-4":
  50 + "textlabelFontSize4":
51 51 {
52   - "point-size":25
  52 + "pointSize":25
53 53 },
54 54  
55 55 "launcherlabel":
56 56 {
57   - "point-size":8
  57 + "pointSize":8
58 58 },
59 59  
60 60 "toolbarlabel":
61 61 {
62   - "point-size":10
  62 + "pointSize":10
63 63 },
64 64  
65 65 "builderlabel":
66 66 {
67   - "point-size":10
  67 + "pointSize":10
68 68 },
69 69  
70 70 "scrollview":
71 71 {
72   - "overshoot-effect-color":"B018"
  72 + "overshootEffectColor":"B018"
73 73 },
74 74  
75 75 "grouplabel":
76 76 {
77   - "point-size":6
  77 + "pointSize":6
78 78 },
79 79  
80 80 "buttonlabel":
81 81 {
82   - "point-size":8
  82 + "pointSize":8
83 83 },
84 84  
85 85 "launcherbackground":
86 86 {
87 87 "background":
88 88 {
89   - "renderer-type": "gradient-renderer",
90   - "gradient-center": [360, 640],
91   - "gradient-radius": 1468,
92   - "gradient-units": "user-space",
93   - "gradient-stop-color": [[0.247,0.38,0.52,1.0],[0.055,0.18,0.286,1.0]],
94   - "gradient-stop-offset":[0.0,1.0]
  89 + "rendererType": "gradientRenderer",
  90 + "gradientCenter": [360, 640],
  91 + "gradientRadius": 1468,
  92 + "gradientUnits": "userSpace",
  93 + "gradientStopColor": [[0.247,0.38,0.52,1.0],[0.055,0.18,0.286,1.0]],
  94 + "gradientStopOffset":[0.0,1.0]
95 95 }
96 96 }
97 97 }
... ...