MESSAGE( STATUS "Data Dir (Read Only): ${dataReadOnlyDir}")
MESSAGE( STATUS "WebP: ${webp_available_ENABLED}")
MESSAGE( STATUS "Shader Binary Cache: ${ENABLE_SHADERBINCACHE}")
-MESSAGE( STATUS "Network logging enabled: ${ENABLE_NETWORKLOGGING}")
+MESSAGE( STATUS "Network logging enabled: ${ENABLE_NETWORK_LOGGING}")
MESSAGE( STATUS "Font config file: ${fontConfigurationFile}")
MESSAGE( STATUS "Using Tizen APP FW libraries: ${ENABLE_APPFW}")
MESSAGE( STATUS "Use pkg configure: ${ENABLE_PKG_CONFIGURE}" )
ARG_ENABLE( ENABLE_EXPORTALL enable_exportall 1 "Enables the exporting of all the symbols in the library" )
ARG_ENABLE( ENABLE_DEBUG enable_debug ${ENABLE_VAL} "Turns on debugging" )
ARG_ENABLE( ENABLE_SHADERBINCACHE enable_shaderbincache ${ENABLE_VAL} "Enables shader binary cache" )
-ARG_ENABLE( ENABLE_NETWORKLOGGING enable_networklogging ${ENABLE_VAL} "Enables network for debug tool" )
+ARG_ENABLE( ENABLE_NETWORK_LOGGING enable_network_logging ${ENABLE_VAL} "Enables network for debug tool" )
# Currently, dali-adaptor requires appfw on Tizen
# and does not require it on Ubuntu.
ADD_DEFINITIONS( -DSHADERBIN_CACHE_ENABLED )
ENDIF()
-IF( enable_networklogging )
+IF( enable_network_logging )
ADD_DEFINITIONS( -DNETWORK_LOGGING_ENABLED )
ENDIF()
// EXTERNAL INCLUDES
#include <dali/integration-api/debug.h>
+#include <dali/internal/adaptor/common/adaptor-impl.h>
#include <dali/public-api/dali-core.h>
#include <stdio.h>
#include <iomanip>
int SetProperties(const std::string& setPropertyMessage)
{
+ Dali::Actor root = Dali::Internal::Adaptor::Adaptor::Get().GetWindows()[0].GetRootLayer();
+
std::istringstream iss(setPropertyMessage);
std::string token;
getline(iss, token, '|'); // swallow command name
getline(propss, propName, ';');
getline(propss, propValue);
- Dali::Actor root = Dali::Stage::GetCurrent().GetRootLayer();
- int id = atoi(actorId.c_str());
- Dali::Actor a = root.FindChildById(id);
+ int id = atoi(actorId.c_str());
+ Dali::Actor a = root.FindChildById(id);
if(a)
{
// lookup by name for custom properties
{
// All the information about this actor
std::ostringstream msg;
- msg << "{ " << Quote("Name") << " : " << Quote(actor.GetProperty<std::string>(Actor::Property::NAME)) << ", " << Quote("level") << " : " << level << ", " << Quote("id") << " : " << actor.GetId() << ", " << Quote("IsVisible")
- << " : " << actor.GetCurrentProperty<bool>(Actor::Property::VISIBLE) << ", " << Quote("IsSensitive") << " : " << actor.GetProperty<bool>(Actor::Property::SENSITIVE);
+ int id = actor["id"];
+ msg << "{ " << Quote("Name") << " : " << Quote(actor.GetProperty<std::string>(Dali::Actor::Property::NAME)) << ", " << Quote("level") << " : " << level << ", " << Quote("id") << " : " << id << ", " << Quote("IsVisible")
+ << " : " << actor.GetCurrentProperty<bool>(Dali::Actor::Property::VISIBLE) << ", " << Quote("IsSensitive") << " : " << actor.GetProperty<bool>(Dali::Actor::Property::SENSITIVE);
msg << ", " << Quote("properties") << ": [ ";
std::string GetActorTree()
{
- Dali::Actor actor = Dali::Stage::GetCurrent().GetRootLayer();
+ Dali::Actor actor = Dali::Internal::Adaptor::Adaptor::Get().GetWindows()[0].GetRootLayer();
std::string str = DumpJson(actor, 0);
return str;
}