Commit 189218640cc06f11c133fec35b6da5048bcdcab9
1 parent
6b613fa8
Fixed SVACE errors
Change-Id: I74b50733423028dfd88507b1f69dc45d9d69739c
Showing
1 changed file
with
28 additions
and
3 deletions
examples/bezier-curve/bezier-curve-example.cpp
| 1 | /* | 1 | /* |
| 2 | - * Copyright (c) 2016 Samsung Electronics Co., Ltd. | 2 | + * Copyright (c) 2018 Samsung Electronics Co., Ltd. |
| 3 | * | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. | 5 | * you may not use this file except in compliance with the License. |
| @@ -106,8 +106,33 @@ public: | @@ -106,8 +106,33 @@ public: | ||
| 106 | 106 | ||
| 107 | BezierCurveExample( Application& application ) | 107 | BezierCurveExample( Application& application ) |
| 108 | : mApplication( application ), | 108 | : mApplication( application ), |
| 109 | - mDuration(2.0f), | ||
| 110 | - mGoingRight(true) | 109 | + mControlPoint1(), |
| 110 | + mControlPoint2(), | ||
| 111 | + mControlLine1(), | ||
| 112 | + mControlLine2(), | ||
| 113 | + mAnimIcon1(), | ||
| 114 | + mAnimIcon2(), | ||
| 115 | + mDragActor(), | ||
| 116 | + mCurve(), | ||
| 117 | + mCoefficientLabel(), | ||
| 118 | + mContentLayer(), | ||
| 119 | + mGrid(), | ||
| 120 | + mTimer(), | ||
| 121 | + mDragAnimation(), | ||
| 122 | + mBezierAnimation(), | ||
| 123 | + mCurveVertices(), | ||
| 124 | + mLine1Vertices(), | ||
| 125 | + mLine2Vertices(), | ||
| 126 | + mRelativeDragPoint(), | ||
| 127 | + mLastControlPointPosition1(), | ||
| 128 | + mLastControlPointPosition2(), | ||
| 129 | + mPositionFactorIndex(), | ||
| 130 | + mDuration( 2.0f ), | ||
| 131 | + mControlPoint1Id( 0.0f ), | ||
| 132 | + mControlPoint2Id( 0.0f ), | ||
| 133 | + mControlPointScale( 0.5f ), | ||
| 134 | + mControlPointZoomScale( mControlPointScale * 2.0 ), | ||
| 135 | + mGoingRight( true ) | ||
| 111 | { | 136 | { |
| 112 | // Connect to the Application's Init signal | 137 | // Connect to the Application's Init signal |
| 113 | mApplication.InitSignal().Connect( this, &BezierCurveExample::Create ); | 138 | mApplication.InitSignal().Connect( this, &BezierCurveExample::Create ); |