[dali_2.1.45] Merge branch 'devel/master' 92/283292/1
authorDavid Steele <david.steele@samsung.com>
Fri, 21 Oct 2022 10:48:00 +0000 (11:48 +0100)
committerDavid Steele <david.steele@samsung.com>
Fri, 21 Oct 2022 10:48:00 +0000 (11:48 +0100)
Change-Id: I2d68b0415004fb28a4de8ab377d3abc9e15c681f

examples/builder/examples.cpp
examples/gestures/gesture-example.cpp
examples/scroll-view/scroll-view-example.cpp
packaging/com.samsung.dali-demo.spec

index 7ba6fef..fd5d42a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -164,6 +164,8 @@ public:
   FileWatcher(void);
   ~FileWatcher(void);
   explicit FileWatcher(const std::string& fn)
+  : mLastTime(0),
+    mstringPath{}
   {
     SetFilename(fn);
   };
@@ -187,7 +189,8 @@ private:
 };
 
 FileWatcher::FileWatcher(void)
-: mLastTime(0)
+: mLastTime(0),
+  mstringPath{}
 {
 }
 
index 129a1b7..04f783a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -74,7 +74,7 @@ const float   ROTATE_BACK_ANIMATION_DURATION(0.25f);
  */
 void AddHelpInfo(const std::string&& string, const Vector2& windowSize, Actor parent, Animation animation, float startTime, float endTime)
 {
-  Actor   text = TextLabel::New(std::move(string));
+  Actor   text = TextLabel::New(string);
   Vector3 position(windowSize * HELP_TEXT_POSITION_MULTIPLIER);
 
   text.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_CENTER);
index 1f62db9..c1374b1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -105,7 +105,7 @@ const char* const IMAGE_PATHS[] = {
 
   NULL};
 
-const char* const GetNextImagePath()
+const char* GetNextImagePath()
 {
   static const char* const* imagePtr = &IMAGE_PATHS[0];
 
index 0510074..7ce2754 100755 (executable)
@@ -2,7 +2,7 @@
 
 Name:       com.samsung.dali-demo
 Summary:    The OpenGLES Canvas Core Demo
-Version:    2.1.44
+Version:    2.1.45
 Release:    1
 Group:      System/Libraries
 License:    Apache-2.0