(FrameCallback) Use uint32_t instead of unsigned int 17/191217/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 12 Oct 2018 13:43:39 +0000 (14:43 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 12 Oct 2018 13:44:03 +0000 (14:44 +0100)
Change-Id: I82731ff12112f235721799d429e2cac5218fe7f6

examples/frame-callback/frame-callback.cpp
examples/frame-callback/frame-callback.h

index 142c9eb..fcab8fc 100644 (file)
@@ -31,7 +31,7 @@ void FrameCallback::SetStageWidth( float stageWidth )
   stageHalfWidth = stageWidth * 0.5f;
 }
 
-void FrameCallback::AddId( unsigned int id )
+void FrameCallback::AddId( uint32_t id )
 {
   mActorIdContainer.PushBack( id );
 }
index c46a517..3302c0f 100644 (file)
@@ -48,7 +48,7 @@ public:
    * @brief The actor with the specified ID will be changed when Update() is called.
    * @param[in]  id  Actor ID of actor which should be changed by the FrameCallback.
    */
-  void AddId( unsigned int id );
+  void AddId( uint32_t id );
 
 private:
 
@@ -61,7 +61,7 @@ private:
 
 private:
 
-  Dali::Vector< unsigned int > mActorIdContainer; ///< Container of Actor IDs.
+  Dali::Vector< uint32_t > mActorIdContainer; ///< Container of Actor IDs.
   float stageHalfWidth; ///< Half the width of the stage. Center is 0,0 in the world matrix.
 
   constexpr static float SIZE_MULTIPLIER = 2.0f; ///< Multiplier for the size to set as the actors hit the edge.