Commit 43148aabb32799d884f09e6497fa1316934a5da2
[dali_1.9.7] Merge branch 'devel/master'
Change-Id: Ib084e5d3018472747f8285bfdffa2faf6a1328e5
Showing
9 changed files
with
310 additions
and
4 deletions
com.samsung.dali-demo.xml
| @@ -31,6 +31,9 @@ | @@ -31,6 +31,9 @@ | ||
| 31 | <ui-application appid="animated-shapes.example" exec="/usr/apps/com.samsung.dali-demo/bin/animated-shapes.example" nodisplay="true" multiple="false" type="c++app" taskmanage="true"> | 31 | <ui-application appid="animated-shapes.example" exec="/usr/apps/com.samsung.dali-demo/bin/animated-shapes.example" nodisplay="true" multiple="false" type="c++app" taskmanage="true"> |
| 32 | <label>Animated shapes</label> | 32 | <label>Animated shapes</label> |
| 33 | </ui-application> | 33 | </ui-application> |
| 34 | + <ui-application appid="arc-visual.example" exec="/usr/apps/com.samsung.dali-demo/bin/arc-visual.example" nodisplay="true" multiple="false" type="c++app" taskmanage="true"> | ||
| 35 | + <label>Arc Visual</label> | ||
| 36 | + </ui-application> | ||
| 34 | <ui-application appid="benchmark.example" exec="/usr/apps/com.samsung.dali-demo/bin/benchmark.example" nodisplay="true" multiple="false" type="c++app" taskmanage="true"> | 37 | <ui-application appid="benchmark.example" exec="/usr/apps/com.samsung.dali-demo/bin/benchmark.example" nodisplay="true" multiple="false" type="c++app" taskmanage="true"> |
| 35 | <label>Benchmark</label> | 38 | <label>Benchmark</label> |
| 36 | </ui-application> | 39 | </ui-application> |
| @@ -58,6 +61,9 @@ | @@ -58,6 +61,9 @@ | ||
| 58 | <ui-application appid="clipping.example" exec="/usr/apps/com.samsung.dali-demo/bin/clipping.example" nodisplay="true" multiple="false" type="c++app" taskmanage="true"> | 61 | <ui-application appid="clipping.example" exec="/usr/apps/com.samsung.dali-demo/bin/clipping.example" nodisplay="true" multiple="false" type="c++app" taskmanage="true"> |
| 59 | <label>Clipping</label> | 62 | <label>Clipping</label> |
| 60 | </ui-application> | 63 | </ui-application> |
| 64 | + <ui-application appid="color-visual.example" exec="/usr/apps/com.samsung.dali-demo/bin/color-visual.example" nodisplay="true" multiple="false" type="c++app" taskmanage="true"> | ||
| 65 | + <label>Color Visual</label> | ||
| 66 | + </ui-application> | ||
| 61 | <ui-application appid="compressed-texture-formats.example" exec="/usr/apps/com.samsung.dali-demo/bin/compressed-texture-formats.example" nodisplay="true" multiple="false" taskmanage="true" type="c++app"> | 67 | <ui-application appid="compressed-texture-formats.example" exec="/usr/apps/com.samsung.dali-demo/bin/compressed-texture-formats.example" nodisplay="true" multiple="false" taskmanage="true" type="c++app"> |
| 62 | <label>Compressed Texture Formats</label> | 68 | <label>Compressed Texture Formats</label> |
| 63 | </ui-application> | 69 | </ui-application> |
examples-reel/dali-examples-reel.cpp
| @@ -42,11 +42,13 @@ int DALI_EXPORT_API main(int argc, char **argv) | @@ -42,11 +42,13 @@ int DALI_EXPORT_API main(int argc, char **argv) | ||
| 42 | demo.AddExample(Example("animated-shapes.example", DALI_DEMO_STR_TITLE_ANIMATED_SHAPES)); | 42 | demo.AddExample(Example("animated-shapes.example", DALI_DEMO_STR_TITLE_ANIMATED_SHAPES)); |
| 43 | demo.AddExample(Example("animated-vector-images.example", DALI_DEMO_STR_TITLE_ANIMATED_VECTOR_IMAGES)); | 43 | demo.AddExample(Example("animated-vector-images.example", DALI_DEMO_STR_TITLE_ANIMATED_VECTOR_IMAGES)); |
| 44 | demo.AddExample(Example("alpha-blending-cpu.example", DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU)); | 44 | demo.AddExample(Example("alpha-blending-cpu.example", DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU)); |
| 45 | + demo.AddExample(Example("arc-visual.example", DALI_DEMO_STR_TITLE_ARC_VISUAL)); | ||
| 45 | demo.AddExample(Example("bloom-view.example", DALI_DEMO_STR_TITLE_BLOOM_VIEW)); | 46 | demo.AddExample(Example("bloom-view.example", DALI_DEMO_STR_TITLE_BLOOM_VIEW)); |
| 46 | demo.AddExample(Example("builder.example", DALI_DEMO_STR_TITLE_SCRIPT_BASED_UI)); | 47 | demo.AddExample(Example("builder.example", DALI_DEMO_STR_TITLE_SCRIPT_BASED_UI)); |
| 47 | demo.AddExample(Example("buttons.example", DALI_DEMO_STR_TITLE_BUTTONS)); | 48 | demo.AddExample(Example("buttons.example", DALI_DEMO_STR_TITLE_BUTTONS)); |
| 48 | demo.AddExample(Example("clipping.example", DALI_DEMO_STR_TITLE_CLIPPING)); | 49 | demo.AddExample(Example("clipping.example", DALI_DEMO_STR_TITLE_CLIPPING)); |
| 49 | demo.AddExample(Example("clipping-draw-order.example", DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER)); | 50 | demo.AddExample(Example("clipping-draw-order.example", DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER)); |
| 51 | + demo.AddExample(Example("color-visual.example", DALI_DEMO_STR_TITLE_COLOR_VISUAL)); | ||
| 50 | demo.AddExample(Example("deferred-shading.example", DALI_DEMO_STR_TITLE_DEFERRED_SHADING)); | 52 | demo.AddExample(Example("deferred-shading.example", DALI_DEMO_STR_TITLE_DEFERRED_SHADING)); |
| 51 | demo.AddExample(Example("dissolve-effect.example", DALI_DEMO_STR_TITLE_DISSOLVE_TRANSITION)); | 53 | demo.AddExample(Example("dissolve-effect.example", DALI_DEMO_STR_TITLE_DISSOLVE_TRANSITION)); |
| 52 | demo.AddExample(Example("drag-and-drop.example", DALI_DEMO_STR_TITLE_DRAG_AND_DROP)); | 54 | demo.AddExample(Example("drag-and-drop.example", DALI_DEMO_STR_TITLE_DRAG_AND_DROP)); |
examples/arc-visual/arc-visual-example.cpp
0 → 100644
| 1 | +/* | ||
| 2 | + * Copyright (c) 2020 Samsung Electronics Co., Ltd. | ||
| 3 | + * | ||
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 5 | + * you may not use this file except in compliance with the License. | ||
| 6 | + * You may obtain a copy of the License at | ||
| 7 | + * | ||
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 9 | + * | ||
| 10 | + * Unless required by applicable law or agreed to in writing, software | ||
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 13 | + * See the License for the specific language governing permissions and | ||
| 14 | + * limitations under the License. | ||
| 15 | + * | ||
| 16 | + */ | ||
| 17 | + | ||
| 18 | +#include <dali-toolkit/dali-toolkit.h> | ||
| 19 | +#include <dali-toolkit/devel-api/controls/control-devel.h> | ||
| 20 | +#include <dali-toolkit/devel-api/visuals/visual-properties-devel.h> | ||
| 21 | +#include <dali-toolkit/devel-api/visuals/arc-visual-properties-devel.h> | ||
| 22 | +#include <dali-toolkit/devel-api/visual-factory/transition-data.h> | ||
| 23 | + | ||
| 24 | +using namespace Dali; | ||
| 25 | +using namespace Dali::Toolkit; | ||
| 26 | + | ||
| 27 | +namespace | ||
| 28 | +{ | ||
| 29 | + | ||
| 30 | +const float START_ANGLE_INITIAL_VALUE( 0.0f ); | ||
| 31 | +const float START_ANGLE_TARGET_VALUE( 360.0f ); | ||
| 32 | +const float SWEEP_ANGLE_INITIAL_VALUE( 90.0f ); | ||
| 33 | +const float SWEEP_ANGLE_TARGET_VALUE( 360.0f ); | ||
| 34 | +const float ANIMATION_DURATION( 5.0f ); | ||
| 35 | + | ||
| 36 | +const Property::Value BACKGROUND | ||
| 37 | +{ | ||
| 38 | + { Visual::Property::TYPE, DevelVisual::ARC }, | ||
| 39 | + { Visual::Property::MIX_COLOR, Color::RED }, | ||
| 40 | + { DevelArcVisual::Property::START_ANGLE, 0.0f }, | ||
| 41 | + { DevelArcVisual::Property::SWEEP_ANGLE, 90.0f }, | ||
| 42 | + { DevelArcVisual::Property::CAP, DevelArcVisual::Cap::ROUND }, | ||
| 43 | + { DevelArcVisual::Property::THICKNESS, 20.0f } | ||
| 44 | +}; | ||
| 45 | + | ||
| 46 | +} // namespace | ||
| 47 | + | ||
| 48 | +// This example shows the properties of the arc visual - thickness, startAngle and sweepAngle and animates them. | ||
| 49 | +// | ||
| 50 | +class ArcVisualExample : public ConnectionTracker | ||
| 51 | +{ | ||
| 52 | +public: | ||
| 53 | + | ||
| 54 | + ArcVisualExample( Application& application ) | ||
| 55 | + : mApplication( application ), | ||
| 56 | + mStartAngle( 0.0f ), | ||
| 57 | + mSweepAngle( 0.0f ) | ||
| 58 | + { | ||
| 59 | + // Connect to the Application's Init signal | ||
| 60 | + mApplication.InitSignal().Connect( this, &ArcVisualExample::Create ); | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + ~ArcVisualExample() = default; | ||
| 64 | + | ||
| 65 | +private: | ||
| 66 | + | ||
| 67 | + // The Init signal is received once (only) during the Application lifetime | ||
| 68 | + void Create( Application& application ) | ||
| 69 | + { | ||
| 70 | + // Get a handle to the stage | ||
| 71 | + Stage stage = Stage::GetCurrent(); | ||
| 72 | + stage.SetBackgroundColor( Color::WHITE ); | ||
| 73 | + | ||
| 74 | + mControl = Control::New(); | ||
| 75 | + mControl.SetParentOrigin( ParentOrigin::CENTER ); | ||
| 76 | + mControl.SetSize( 200.0f, 200.0f ); | ||
| 77 | + mControl.SetProperty( Control::Property::BACKGROUND, BACKGROUND ); | ||
| 78 | + | ||
| 79 | + stage.Add( mControl ); | ||
| 80 | + | ||
| 81 | + // Respond to a click anywhere on the stage | ||
| 82 | + stage.GetRootLayer().TouchSignal().Connect( this, &ArcVisualExample::OnTouch ); | ||
| 83 | + | ||
| 84 | + // Respond to key events | ||
| 85 | + stage.KeyEventSignal().Connect( this, &ArcVisualExample::OnKeyEvent ); | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + bool OnTouch( Actor actor, const TouchData& touch ) | ||
| 89 | + { | ||
| 90 | + if( touch.GetState( 0 ) == PointState::UP ) | ||
| 91 | + { | ||
| 92 | + Property::Array array; | ||
| 93 | + array.PushBack( Property::Map().Add( "target", "background" ) | ||
| 94 | + .Add( "property", "startAngle" ) | ||
| 95 | + .Add( "initialValue", START_ANGLE_INITIAL_VALUE ) | ||
| 96 | + .Add( "targetValue", START_ANGLE_TARGET_VALUE ) | ||
| 97 | + .Add( "animator", Property::Map().Add( "duration", ANIMATION_DURATION ) ) ); | ||
| 98 | + array.PushBack( Property::Map().Add( "target", "background" ) | ||
| 99 | + .Add( "property", "sweepAngle" ) | ||
| 100 | + .Add( "initialValue", SWEEP_ANGLE_INITIAL_VALUE ) | ||
| 101 | + .Add( "targetValue", SWEEP_ANGLE_TARGET_VALUE ) | ||
| 102 | + .Add( "animator", Property::Map().Add( "duration", ANIMATION_DURATION ) ) ); | ||
| 103 | + | ||
| 104 | + TransitionData transitionData = TransitionData::New( array ); | ||
| 105 | + Animation animation = DevelControl::CreateTransition( Toolkit::Internal::GetImplementation( mControl ), transitionData ); | ||
| 106 | + animation.Play(); | ||
| 107 | + } | ||
| 108 | + return true; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + void OnKeyEvent( const KeyEvent& event ) | ||
| 112 | + { | ||
| 113 | + if( event.state == KeyEvent::Down ) | ||
| 114 | + { | ||
| 115 | + if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) ) | ||
| 116 | + { | ||
| 117 | + mApplication.Quit(); | ||
| 118 | + } | ||
| 119 | + } | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | +private: | ||
| 123 | + Application& mApplication; | ||
| 124 | + Control mControl; | ||
| 125 | + float mStartAngle; | ||
| 126 | + float mSweepAngle; | ||
| 127 | +}; | ||
| 128 | + | ||
| 129 | +int DALI_EXPORT_API main( int argc, char **argv ) | ||
| 130 | +{ | ||
| 131 | + Application application = Application::New( &argc, &argv ); | ||
| 132 | + ArcVisualExample test( application ); | ||
| 133 | + application.MainLoop(); | ||
| 134 | + return 0; | ||
| 135 | +} |
examples/color-visual/color-visual-example.cpp
0 → 100644
| 1 | +/* | ||
| 2 | + * Copyright (c) 2020 Samsung Electronics Co., Ltd. | ||
| 3 | + * | ||
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 5 | + * you may not use this file except in compliance with the License. | ||
| 6 | + * You may obtain a copy of the License at | ||
| 7 | + * | ||
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 9 | + * | ||
| 10 | + * Unless required by applicable law or agreed to in writing, software | ||
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 13 | + * See the License for the specific language governing permissions and | ||
| 14 | + * limitations under the License. | ||
| 15 | + * | ||
| 16 | + */ | ||
| 17 | + | ||
| 18 | +#include <dali-toolkit/dali-toolkit.h> | ||
| 19 | +#include <dali-toolkit/devel-api/controls/control-devel.h> | ||
| 20 | +#include <dali-toolkit/devel-api/visuals/visual-properties-devel.h> | ||
| 21 | +#include <dali-toolkit/devel-api/visuals/color-visual-properties-devel.h> | ||
| 22 | +#include <dali-toolkit/devel-api/visual-factory/transition-data.h> | ||
| 23 | + | ||
| 24 | +using namespace Dali; | ||
| 25 | +using namespace Dali::Toolkit; | ||
| 26 | + | ||
| 27 | +namespace | ||
| 28 | +{ | ||
| 29 | + | ||
| 30 | +const char* IMAGE_FILE( DEMO_IMAGE_DIR "gallery-medium-1.jpg" ); | ||
| 31 | + | ||
| 32 | +const float BLUR_RADIUS_VALUE( 10.0f ); | ||
| 33 | +const float NO_BLUR_VALUE( 0.0f ); | ||
| 34 | +const float ANIMATION_DURATION( 2.0f ); | ||
| 35 | + | ||
| 36 | +const Property::Value SHADOW | ||
| 37 | +{ | ||
| 38 | + { Visual::Property::TYPE, Visual::COLOR }, | ||
| 39 | + { Visual::Property::MIX_COLOR, Vector4( 0.0f, 0.0f, 0.0f, 0.5f ) }, | ||
| 40 | + { Visual::Property::TRANSFORM, Property::Map{ { Visual::Transform::Property::OFFSET, Vector2( 0.05f, 0.05f ) }, | ||
| 41 | + { Visual::Transform::Property::SIZE, Vector2( 1.05f, 1.05f ) }, | ||
| 42 | + { Visual::Transform::Property::ORIGIN, Align::CENTER }, | ||
| 43 | + { Visual::Transform::Property::ANCHOR_POINT, Align::CENTER } } }, | ||
| 44 | + { DevelColorVisual::Property::BLUR_RADIUS, BLUR_RADIUS_VALUE } | ||
| 45 | +}; | ||
| 46 | + | ||
| 47 | +} // namespace | ||
| 48 | + | ||
| 49 | +// This example shows the blur radius property of the color visual and animates it. | ||
| 50 | +// | ||
| 51 | +class ColorVisualExample : public ConnectionTracker | ||
| 52 | +{ | ||
| 53 | +public: | ||
| 54 | + | ||
| 55 | + ColorVisualExample( Application& application ) | ||
| 56 | + : mApplication( application ), | ||
| 57 | + mShadowVisible( true ) | ||
| 58 | + { | ||
| 59 | + // Connect to the Application's Init signal | ||
| 60 | + mApplication.InitSignal().Connect( this, &ColorVisualExample::Create ); | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + ~ColorVisualExample() | ||
| 64 | + { | ||
| 65 | + // Nothing to do here; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + // The Init signal is received once (only) during the Application lifetime | ||
| 69 | + void Create( Application& application ) | ||
| 70 | + { | ||
| 71 | + // Get a handle to the stage | ||
| 72 | + Stage stage = Stage::GetCurrent(); | ||
| 73 | + stage.SetBackgroundColor( Color::WHITE ); | ||
| 74 | + | ||
| 75 | + mImageView = ImageView::New( IMAGE_FILE ); | ||
| 76 | + mImageView.SetParentOrigin( ParentOrigin::CENTER ); | ||
| 77 | + mImageView.SetSize( 200.0f, 200.0f ); | ||
| 78 | + mImageView.SetProperty( DevelControl::Property::SHADOW, SHADOW ); | ||
| 79 | + | ||
| 80 | + stage.Add( mImageView ); | ||
| 81 | + | ||
| 82 | + // Respond to a click anywhere on the stage | ||
| 83 | + stage.GetRootLayer().TouchSignal().Connect( this, &ColorVisualExample::OnTouch ); | ||
| 84 | + | ||
| 85 | + // Respond to key events | ||
| 86 | + stage.KeyEventSignal().Connect( this, &ColorVisualExample::OnKeyEvent ); | ||
| 87 | + } | ||
| 88 | + | ||
| 89 | + bool OnTouch( Actor actor, const TouchData& touch ) | ||
| 90 | + { | ||
| 91 | + if( touch.GetState( 0 ) == PointState::UP ) | ||
| 92 | + { | ||
| 93 | + float initialValue, targetValue; | ||
| 94 | + if( !mShadowVisible ) | ||
| 95 | + { | ||
| 96 | + initialValue = NO_BLUR_VALUE; | ||
| 97 | + targetValue = BLUR_RADIUS_VALUE; | ||
| 98 | + } | ||
| 99 | + else | ||
| 100 | + { | ||
| 101 | + initialValue = BLUR_RADIUS_VALUE; | ||
| 102 | + targetValue = NO_BLUR_VALUE; | ||
| 103 | + } | ||
| 104 | + | ||
| 105 | + mShadowVisible = !mShadowVisible; | ||
| 106 | + | ||
| 107 | + TransitionData transitionData = TransitionData::New( Property::Map().Add( "target", "shadow" ) | ||
| 108 | + .Add( "property", "blurRadius" ) | ||
| 109 | + .Add( "initialValue", initialValue ) | ||
| 110 | + .Add( "targetValue", targetValue ) | ||
| 111 | + .Add( "animator", Property::Map().Add( "duration", ANIMATION_DURATION ) ) ); | ||
| 112 | + Animation animation = DevelControl::CreateTransition( Toolkit::Internal::GetImplementation( mImageView ), transitionData ); | ||
| 113 | + animation.Play(); | ||
| 114 | + } | ||
| 115 | + return true; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + void OnKeyEvent( const KeyEvent& event ) | ||
| 119 | + { | ||
| 120 | + if( event.state == KeyEvent::Down ) | ||
| 121 | + { | ||
| 122 | + if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) ) | ||
| 123 | + { | ||
| 124 | + mApplication.Quit(); | ||
| 125 | + } | ||
| 126 | + } | ||
| 127 | + } | ||
| 128 | + | ||
| 129 | +private: | ||
| 130 | + Application& mApplication; | ||
| 131 | + ImageView mImageView; | ||
| 132 | + bool mShadowVisible; | ||
| 133 | +}; | ||
| 134 | + | ||
| 135 | +int DALI_EXPORT_API main( int argc, char **argv ) | ||
| 136 | +{ | ||
| 137 | + Application application = Application::New( &argc, &argv ); | ||
| 138 | + ColorVisualExample test( application ); | ||
| 139 | + application.MainLoop(); | ||
| 140 | + return 0; | ||
| 141 | +} |
packaging/com.samsung.dali-demo.spec
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | 2 | ||
| 3 | Name: com.samsung.dali-demo | 3 | Name: com.samsung.dali-demo |
| 4 | Summary: The OpenGLES Canvas Core Demo | 4 | Summary: The OpenGLES Canvas Core Demo |
| 5 | -Version: 1.9.6 | 5 | +Version: 1.9.7 |
| 6 | Release: 1 | 6 | Release: 1 |
| 7 | Group: System/Libraries | 7 | Group: System/Libraries |
| 8 | License: Apache-2.0 | 8 | License: Apache-2.0 |
resources/po/en_GB.po
| @@ -7,6 +7,9 @@ msgstr "Animated Shapes" | @@ -7,6 +7,9 @@ msgstr "Animated Shapes" | ||
| 7 | msgid "DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU" | 7 | msgid "DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU" |
| 8 | msgstr "CPU Alpha Blending" | 8 | msgstr "CPU Alpha Blending" |
| 9 | 9 | ||
| 10 | +msgid "DALI_DEMO_STR_TITLE_ARC_VISUAL" | ||
| 11 | +msgstr "Arc Visual" | ||
| 12 | + | ||
| 10 | msgid "DALI_DEMO_STR_TITLE_BASIC_LIGHT" | 13 | msgid "DALI_DEMO_STR_TITLE_BASIC_LIGHT" |
| 11 | msgstr "Basic Light" | 14 | msgstr "Basic Light" |
| 12 | 15 | ||
| @@ -43,6 +46,9 @@ msgstr "Clipping" | @@ -43,6 +46,9 @@ msgstr "Clipping" | ||
| 43 | msgid "DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER" | 46 | msgid "DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER" |
| 44 | msgstr "Clipping Draw Order" | 47 | msgstr "Clipping Draw Order" |
| 45 | 48 | ||
| 49 | +msgid "DALI_DEMO_STR_TITLE_COLOR_VISUAL" | ||
| 50 | +msgstr "Colour Visual" | ||
| 51 | + | ||
| 46 | msgid "DALI_DEMO_STR_TITLE_GAUSSIAN_BLUR_VIEW" | 52 | msgid "DALI_DEMO_STR_TITLE_GAUSSIAN_BLUR_VIEW" |
| 47 | msgstr "Gaussian Blur" | 53 | msgstr "Gaussian Blur" |
| 48 | 54 |
resources/po/en_US.po
| @@ -7,6 +7,9 @@ msgstr "Animated Shapes" | @@ -7,6 +7,9 @@ msgstr "Animated Shapes" | ||
| 7 | msgid "DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU" | 7 | msgid "DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU" |
| 8 | msgstr "CPU Alpha Blending" | 8 | msgstr "CPU Alpha Blending" |
| 9 | 9 | ||
| 10 | +msgid "DALI_DEMO_STR_TITLE_ARC_VISUAL" | ||
| 11 | +msgstr "Arc Visual" | ||
| 12 | + | ||
| 10 | msgid "DALI_DEMO_STR_TITLE_BASIC_LIGHT" | 13 | msgid "DALI_DEMO_STR_TITLE_BASIC_LIGHT" |
| 11 | msgstr "Basic Light" | 14 | msgstr "Basic Light" |
| 12 | 15 | ||
| @@ -43,6 +46,9 @@ msgstr "Clipping" | @@ -43,6 +46,9 @@ msgstr "Clipping" | ||
| 43 | msgid "DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER" | 46 | msgid "DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER" |
| 44 | msgstr "Clipping Draw Order" | 47 | msgstr "Clipping Draw Order" |
| 45 | 48 | ||
| 49 | +msgid "DALI_DEMO_STR_TITLE_COLOR_VISUAL" | ||
| 50 | +msgstr "Color Visual" | ||
| 51 | + | ||
| 46 | msgid "DALI_DEMO_STR_TITLE_DEFERRED_SHADING" | 52 | msgid "DALI_DEMO_STR_TITLE_DEFERRED_SHADING" |
| 47 | msgstr "Deferred Shading" | 53 | msgstr "Deferred Shading" |
| 48 | 54 |
resources/po/ko.po
| @@ -4,8 +4,11 @@ msgstr "애니메이션 이미지" | @@ -4,8 +4,11 @@ msgstr "애니메이션 이미지" | ||
| 4 | msgid "DALI_DEMO_STR_TITLE_ANIMATED_SHAPES" | 4 | msgid "DALI_DEMO_STR_TITLE_ANIMATED_SHAPES" |
| 5 | msgstr "애니메이션 모양" | 5 | msgstr "애니메이션 모양" |
| 6 | 6 | ||
| 7 | +msgid "DALI_DEMO_STR_TITLE_ARC_VISUAL" | ||
| 8 | +msgstr "호 비주얼" | ||
| 9 | + | ||
| 7 | msgid "DALI_DEMO_STR_TITLE_BASIC_LIGHT" | 10 | msgid "DALI_DEMO_STR_TITLE_BASIC_LIGHT" |
| 8 | -msgstr "기본 표시 등" | 11 | +msgstr "기본 조명" |
| 9 | 12 | ||
| 10 | msgid "DALI_DEMO_STR_TITLE_BLOCKS" | 13 | msgid "DALI_DEMO_STR_TITLE_BLOCKS" |
| 11 | msgstr "블록" | 14 | msgstr "블록" |
| @@ -23,16 +26,19 @@ msgid "DALI_DEMO_STR_TITLE_CARD_ACTIVE" | @@ -23,16 +26,19 @@ msgid "DALI_DEMO_STR_TITLE_CARD_ACTIVE" | ||
| 23 | msgstr "NFC 카드 태깅" | 26 | msgstr "NFC 카드 태깅" |
| 24 | 27 | ||
| 25 | msgid "DALI_DEMO_STR_TITLE_CLIPPING" | 28 | msgid "DALI_DEMO_STR_TITLE_CLIPPING" |
| 26 | -msgstr "깎는" | 29 | +msgstr "클리핑" |
| 27 | 30 | ||
| 28 | msgid "DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER" | 31 | msgid "DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER" |
| 29 | msgstr "드로잉 순서를 클리핑" | 32 | msgstr "드로잉 순서를 클리핑" |
| 30 | 33 | ||
| 34 | +msgid "DALI_DEMO_STR_TITLE_COLOR_VISUAL" | ||
| 35 | +msgstr "색상 비주얼" | ||
| 36 | + | ||
| 31 | msgid "DALI_DEMO_STR_TITLE_COLOR_GRADIENT" | 37 | msgid "DALI_DEMO_STR_TITLE_COLOR_GRADIENT" |
| 32 | msgstr "색상 그라디언트" | 38 | msgstr "색상 그라디언트" |
| 33 | 39 | ||
| 34 | msgid "DALI_DEMO_STR_TITLE_CONTACT_CARDS" | 40 | msgid "DALI_DEMO_STR_TITLE_CONTACT_CARDS" |
| 35 | -msgstr "접촉" | 41 | +msgstr "연락처" |
| 36 | 42 | ||
| 37 | msgid "DALI_DEMO_STR_TITLE_CUBE_TRANSITION" | 43 | msgid "DALI_DEMO_STR_TITLE_CUBE_TRANSITION" |
| 38 | msgstr "입방체 전환" | 44 | msgstr "입방체 전환" |
shared/dali-demo-strings.h
| @@ -38,6 +38,7 @@ extern "C" | @@ -38,6 +38,7 @@ extern "C" | ||
| 38 | #define DALI_DEMO_STR_TITLE_ANIMATED_SHAPES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_ANIMATED_SHAPES") | 38 | #define DALI_DEMO_STR_TITLE_ANIMATED_SHAPES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_ANIMATED_SHAPES") |
| 39 | #define DALI_DEMO_STR_TITLE_ANIMATED_VECTOR_IMAGES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_ANIMATED_VECTOR_IMAGES") | 39 | #define DALI_DEMO_STR_TITLE_ANIMATED_VECTOR_IMAGES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_ANIMATED_VECTOR_IMAGES") |
| 40 | #define DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU") | 40 | #define DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU") |
| 41 | +#define DALI_DEMO_STR_TITLE_ARC_VISUAL dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_ARC_VISUAL") | ||
| 41 | #define DALI_DEMO_STR_TITLE_BASIC_LIGHT dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BASIC_LIGHT") | 42 | #define DALI_DEMO_STR_TITLE_BASIC_LIGHT dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BASIC_LIGHT") |
| 42 | #define DALI_DEMO_STR_TITLE_BENCHMARK dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BENCHMARK") | 43 | #define DALI_DEMO_STR_TITLE_BENCHMARK dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BENCHMARK") |
| 43 | #define DALI_DEMO_STR_TITLE_BEZIER_CURVE dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BEZIER_CURVE") | 44 | #define DALI_DEMO_STR_TITLE_BEZIER_CURVE dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BEZIER_CURVE") |
| @@ -49,6 +50,7 @@ extern "C" | @@ -49,6 +50,7 @@ extern "C" | ||
| 49 | #define DALI_DEMO_STR_TITLE_CARD_ACTIVE dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CARD_ACTIVE") | 50 | #define DALI_DEMO_STR_TITLE_CARD_ACTIVE dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CARD_ACTIVE") |
| 50 | #define DALI_DEMO_STR_TITLE_CLIPPING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CLIPPING") | 51 | #define DALI_DEMO_STR_TITLE_CLIPPING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CLIPPING") |
| 51 | #define DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER") | 52 | #define DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER") |
| 53 | +#define DALI_DEMO_STR_TITLE_COLOR_VISUAL dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_COLOR_VISUAL") | ||
| 52 | #define DALI_DEMO_STR_TITLE_DEFERRED_SHADING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_DEFERRED_SHADING") | 54 | #define DALI_DEMO_STR_TITLE_DEFERRED_SHADING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_DEFERRED_SHADING") |
| 53 | #define DALI_DEMO_STR_TITLE_GAUSSIAN_BLUR_VIEW dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_GAUSSIAN_BLUR_VIEW") | 55 | #define DALI_DEMO_STR_TITLE_GAUSSIAN_BLUR_VIEW dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_GAUSSIAN_BLUR_VIEW") |
| 54 | #define DALI_DEMO_STR_TITLE_GESTURES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_GESTURES") | 56 | #define DALI_DEMO_STR_TITLE_GESTURES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_GESTURES") |
| @@ -138,6 +140,7 @@ extern "C" | @@ -138,6 +140,7 @@ extern "C" | ||
| 138 | #define DALI_DEMO_STR_TITLE_ANIMATED_SHAPES "Animated Shapes" | 140 | #define DALI_DEMO_STR_TITLE_ANIMATED_SHAPES "Animated Shapes" |
| 139 | #define DALI_DEMO_STR_TITLE_ANIMATED_VECTOR_IMAGES "Animated Vector Images" | 141 | #define DALI_DEMO_STR_TITLE_ANIMATED_VECTOR_IMAGES "Animated Vector Images" |
| 140 | #define DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU "CPU Alpha Blending" | 142 | #define DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU "CPU Alpha Blending" |
| 143 | +#define DALI_DEMO_STR_TITLE_ARC_VISUAL "Arc Visual" | ||
| 141 | #define DALI_DEMO_STR_TITLE_BASIC_LIGHT "Basic Light" | 144 | #define DALI_DEMO_STR_TITLE_BASIC_LIGHT "Basic Light" |
| 142 | #define DALI_DEMO_STR_TITLE_BENCHMARK "ImageView Benchmark" | 145 | #define DALI_DEMO_STR_TITLE_BENCHMARK "ImageView Benchmark" |
| 143 | #define DALI_DEMO_STR_TITLE_BEZIER_CURVE "Alpha Function Bezier Curve" | 146 | #define DALI_DEMO_STR_TITLE_BEZIER_CURVE "Alpha Function Bezier Curve" |
| @@ -149,6 +152,7 @@ extern "C" | @@ -149,6 +152,7 @@ extern "C" | ||
| 149 | #define DALI_DEMO_STR_TITLE_CARD_ACTIVE "Card Active" | 152 | #define DALI_DEMO_STR_TITLE_CARD_ACTIVE "Card Active" |
| 150 | #define DALI_DEMO_STR_TITLE_CLIPPING "Clipping" | 153 | #define DALI_DEMO_STR_TITLE_CLIPPING "Clipping" |
| 151 | #define DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER "Clipping Draw Order" | 154 | #define DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER "Clipping Draw Order" |
| 155 | +#define DALI_DEMO_STR_TITLE_COLOR_VISUAL "Color Visual" | ||
| 152 | #define DALI_DEMO_STR_TITLE_GAUSSIAN_BLUR_VIEW "Gaussian Blur" | 156 | #define DALI_DEMO_STR_TITLE_GAUSSIAN_BLUR_VIEW "Gaussian Blur" |
| 153 | #define DALI_DEMO_STR_TITLE_GESTURES "Gestures" | 157 | #define DALI_DEMO_STR_TITLE_GESTURES "Gestures" |
| 154 | #define DALI_DEMO_STR_TITLE_COLOR_GRADIENT "Color Gradient" | 158 | #define DALI_DEMO_STR_TITLE_COLOR_GRADIENT "Color Gradient" |