projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Making DALi public API typesafe using guaranteed types; uint8_t, uint32_t
[platform/core/uifw/dali-core.git]
/
dali
/
public-api
/
actors
/
actor.cpp
diff --git
a/dali/public-api/actors/actor.cpp
b/dali/public-api/actors/actor.cpp
index
0cd89e1
..
bfa73fd
100644
(file)
--- a/
dali/public-api/actors/actor.cpp
+++ b/
dali/public-api/actors/actor.cpp
@@
-75,7
+75,7
@@
void Actor::SetName(const std::string& name)
GetImplementation(*this).SetName(name);
}
GetImplementation(*this).SetName(name);
}
-u
nsigned in
t Actor::GetId() const
+u
int32_
t Actor::GetId() const
{
return GetImplementation(*this).GetId();
}
{
return GetImplementation(*this).GetId();
}
@@
-115,12
+115,12
@@
void Actor::Unparent()
GetImplementation(*this).Unparent();
}
GetImplementation(*this).Unparent();
}
-u
nsigned in
t Actor::GetChildCount() const
+u
int32_
t Actor::GetChildCount() const
{
return GetImplementation(*this).GetChildCount();
}
{
return GetImplementation(*this).GetChildCount();
}
-Actor Actor::GetChildAt(
unsigned int index
) const
+Actor Actor::GetChildAt(
uint32_t index
) const
{
Internal::ActorPtr child = GetImplementation(*this).GetChildAt( index );
return Actor( child.Get() );
{
Internal::ActorPtr child = GetImplementation(*this).GetChildAt( index );
return Actor( child.Get() );
@@
-132,7
+132,7
@@
Actor Actor::FindChildByName(const std::string& actorName)
return Actor( child.Get() );
}
return Actor( child.Get() );
}
-Actor Actor::FindChildById(
const unsigned int id
)
+Actor Actor::FindChildById(
const uint32_t id
)
{
Internal::ActorPtr child = GetImplementation(*this).FindChildById( id );
return Actor( child.Get() );
{
Internal::ActorPtr child = GetImplementation(*this).FindChildById( id );
return Actor( child.Get() );
@@
-563,7
+563,7
@@
Vector2 Actor::GetMaximumSize()
return Vector2( impl.GetMaximumSize( Dimension::WIDTH ), impl.GetMaximumSize( Dimension::HEIGHT ) );
}
return Vector2( impl.GetMaximumSize( Dimension::WIDTH ), impl.GetMaximumSize( Dimension::HEIGHT ) );
}
-int Actor::GetHierarchyDepth()
+int
32_t
Actor::GetHierarchyDepth()
{
return GetImplementation(*this).GetHierarchyDepth();
}
{
return GetImplementation(*this).GetHierarchyDepth();
}
@@
-600,17
+600,17
@@
Actor::OffStageSignalType& Actor::OffStageSignal()
return GetImplementation(*this).OffStageSignal();
}
return GetImplementation(*this).OffStageSignal();
}
-u
nsigned in
t Actor::AddRenderer( Renderer& renderer )
+u
int32_
t Actor::AddRenderer( Renderer& renderer )
{
return GetImplementation(*this).AddRenderer( GetImplementation( renderer ) );
}
{
return GetImplementation(*this).AddRenderer( GetImplementation( renderer ) );
}
-u
nsigned in
t Actor::GetRendererCount() const
+u
int32_
t Actor::GetRendererCount() const
{
return GetImplementation(*this).GetRendererCount();
}
{
return GetImplementation(*this).GetRendererCount();
}
-Renderer Actor::GetRendererAt( u
nsigned in
t index )
+Renderer Actor::GetRendererAt( u
int32_
t index )
{
Internal::RendererPtr renderer = GetImplementation(*this).GetRendererAt( index );
return Renderer( renderer.Get() );
{
Internal::RendererPtr renderer = GetImplementation(*this).GetRendererAt( index );
return Renderer( renderer.Get() );
@@
-621,7
+621,7
@@
void Actor::RemoveRenderer( Renderer& renderer )
GetImplementation(*this).RemoveRenderer( GetImplementation( renderer ) );
}
GetImplementation(*this).RemoveRenderer( GetImplementation( renderer ) );
}
-void Actor::RemoveRenderer( u
nsigned in
t index )
+void Actor::RemoveRenderer( u
int32_
t index )
{
GetImplementation(*this).RemoveRenderer( index );
}
{
GetImplementation(*this).RemoveRenderer( index );
}