From: Seoyeon Kim Date: Wed, 7 Mar 2018 11:03:41 +0000 (+0900) Subject: Replace 'frustrum' with 'frustum' X-Git-Tag: dali_1.3.15~1 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-demo.git;a=commitdiff_plain;h=refs%2Fchanges%2F21%2F171821%2F1 Replace 'frustrum' with 'frustum' Change-Id: Ifaa81fd8f1c62e84eb0643fc79f1490d6e6e7316 Signed-off-by: Seoyeon Kim --- diff --git a/examples/primitive-shapes/primitive-shapes-example.cpp b/examples/primitive-shapes/primitive-shapes-example.cpp index 82772a3..29112a3 100644 --- a/examples/primitive-shapes/primitive-shapes-example.cpp +++ b/examples/primitive-shapes/primitive-shapes-example.cpp @@ -28,7 +28,7 @@ namespace { DEMO_IMAGE_DIR "sphere-button.png", DEMO_IMAGE_DIR "cone-button.png", - DEMO_IMAGE_DIR "conical-frustrum-button.png", + DEMO_IMAGE_DIR "conical-frustum-button.png", DEMO_IMAGE_DIR "cylinder-button.png", DEMO_IMAGE_DIR "cube-button.png", DEMO_IMAGE_DIR "bevelled-cube-button.png", @@ -413,13 +413,13 @@ public: mShapeTitle.SetProperty( TextLabel::Property::TEXT, SHAPE_TITLE_PREFIX + "Cone" ); } - //Sets the 3D model to a conical frustrum and modifies the sliders appropriately. - void LoadConicalFrustrum() + //Sets the 3D model to a conical frustum and modifies the sliders appropriately. + void LoadConicalFrustum() { InitialiseSlidersAndModel(); //Set up specific visual properties. - mVisualMap[ PrimitiveVisual::Property::SHAPE ] = PrimitiveVisual::Shape::CONICAL_FRUSTRUM; + mVisualMap[ PrimitiveVisual::Property::SHAPE ] = PrimitiveVisual::Shape::CONICAL_FRUSTUM; mVisualMap[ PrimitiveVisual::Property::SCALE_TOP_RADIUS ] = DEFAULT_SCALE_TOP_RADIUS; mVisualMap[ PrimitiveVisual::Property::SCALE_BOTTOM_RADIUS ] = DEFAULT_SCALE_BOTTOM_RADIUS; mVisualMap[ PrimitiveVisual::Property::SCALE_HEIGHT ] = DEFAULT_SCALE_HEIGHT; @@ -439,7 +439,7 @@ public: mModel.SetProperty( Control::Property::BACKGROUND, Property::Value( mVisualMap ) ); //Update title. - mShapeTitle.SetProperty( TextLabel::Property::TEXT, SHAPE_TITLE_PREFIX + "Conical Frustrum" ); + mShapeTitle.SetProperty( TextLabel::Property::TEXT, SHAPE_TITLE_PREFIX + "Conical Frustum" ); } //Sets the 3D model to a cylinder and modifies the sliders appropriately. @@ -589,7 +589,7 @@ public: } case 2: { - LoadConicalFrustrum(); + LoadConicalFrustum(); break; } case 3: diff --git a/resources/images/conical-frustrum-button.png b/resources/images/conical-frustum-button.png similarity index 100% rename from resources/images/conical-frustrum-button.png rename to resources/images/conical-frustum-button.png