X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali%2Fdali-test-suite-utils%2Ftest-custom-actor.h;h=2a4d4834142cb1e809c1ec89657fbe5aca1708ee;hb=refs%2Fchanges%2F49%2F250549%2F65;hp=ed11c58fd8658ed71d33272989ec2d4627c4cdc0;hpb=16c7741ca5508f2bce3cdd05b575951a5c15f048;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/automated-tests/src/dali/dali-test-suite-utils/test-custom-actor.h b/automated-tests/src/dali/dali-test-suite-utils/test-custom-actor.h index ed11c58..2a4d483 100644 --- a/automated-tests/src/dali/dali-test-suite-utils/test-custom-actor.h +++ b/automated-tests/src/dali/dali-test-suite-utils/test-custom-actor.h @@ -2,7 +2,7 @@ #define TEST_CUSTOM_ACTOR_H /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -89,6 +89,8 @@ public: float TestCalculateChildSizeBase(const Dali::Actor& child, Dali::Dimension::Type dimension); bool TestRelayoutDependentOnChildrenBase(Dali::Dimension::Type dimension); uint32_t GetDepth(); + void SetTransparent(bool transparent); + bool IsTransparent(); private: TestCustomActor(Impl::TestCustomActor& impl); @@ -146,6 +148,8 @@ public: float CalculateChildSize(const Dali::Actor& child, Dali::Dimension::Type dimension) override; void OnLayoutNegotiated(float size, Dali::Dimension::Type dimension) override; bool RelayoutDependentOnChildren(Dali::Dimension::Type dimension = Dali::Dimension::ALL_DIMENSIONS) override; + void SetTransparent(bool transparent); + bool IsTransparent() const; static void SetProperty(Dali::BaseObject* object, Dali::Property::Index index, const Dali::Property::Value& value); static Dali::Property::Value GetProperty(Dali::BaseObject* object, Dali::Property::Index index);