#define DALI_INTERNAL_LAYER_H
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2024 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.
using ClippingBox = Dali::ClippingBox;
-class Layer : public Actor
+class Layer : public Actor, public ConnectionTracker
{
public:
/**
void OnSceneDisconnectionInternal() override;
private:
+ /**
+ * @brief Callback when Layer is touched
+ *
+ * @param[in] actor Layer touched
+ * @param[in] touch Touch information
+ * @return True if the touch is consumed.
+ */
+ bool OnTouched(Dali::Actor actor, const Dali::TouchEvent& touch);
+
LayerList* mLayerList; ///< Only valid when layer is on-scene
// These properties not animatable; the actor side has the most up-to-date values