using namespace Dali;
+namespace
+{
+
#if defined(DEBUG_ENABLED)
static Debug::Filter* gLogFilter = Debug::Filter::New( Debug::Concise, false, "LOG_LAYOUT" );
#endif
+}
+
namespace Dali
{
namespace Toolkit
Toolkit::Control control = Toolkit::Control::DownCast( root );
if( control )
{
+ DALI_LOG_INFO( gLogFilter, Debug::Verbose, "LayoutController::Measuring leaf\n" );
Internal::Control& controlImpl = GetImplementation( control );
+
Internal::Control::Impl& controlDataImpl = Internal::Control::Impl::Get( controlImpl );
LayoutItemPtr layout = controlDataImpl.GetLayout();
}
else
{
+ DALI_LOG_INFO( gLogFilter, Debug::Verbose, "LayoutController::Measuring (%u) children\n", root.GetChildCount() );
// Depth first descent through actor children
for( unsigned int i = 0, count = root.GetChildCount(); i < count; ++i )
{
Toolkit::Control control = Toolkit::Control::DownCast( root );
if( control )
{
+ DALI_LOG_INFO( gLogFilter, Debug::Verbose, "LayoutController::PerformLayout on leaf\n" );
Internal::Control& controlImpl = GetImplementation( control );
Internal::Control::Impl& controlDataImpl = Internal::Control::Impl::Get( controlImpl );
LayoutItemPtr layout = controlDataImpl.GetLayout();
if( layout )
{
+ DALI_LOG_INFO( gLogFilter, Debug::Verbose, "LayoutController::PerformLayout on layout\n" );
layout->Layout( left, top, right, bottom );
}
}
else
{
+ DALI_LOG_INFO( gLogFilter, Debug::Verbose, "LayoutController::PerformLayout (%u) children\n", root.GetChildCount() );
// Depth first descent through actor children
for( unsigned int i = 0, count = root.GetChildCount(); i < count; ++i )
{