#define DALI_TOOLKIT_CONTROL_IMPL_H
/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 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.
namespace Internal
{
-
/**
* @brief This is the internal base class for all controls.
*
*/
void ClearBackground();
+ /**
+ * @copydoc Dali::Toolkit::Control::SetRenderEffect
+ */
+ void SetRenderEffect(Toolkit::RenderEffect effect);
+
+ /**
+ * @copydoc Dali::Toolkit::Control::ClearRenderEffect
+ */
+ void ClearRenderEffect();
+
+ /**
+ * @brief Called when resources of control are ready. this api does not request relayout.
+ */
+ void SetResourceReady();
+
// Accessibility
/**
* @brief Gets the Accessible object that represents this control.
*
- * This method calls CreateAccessibleObject() if necessary, so a non-null return is expected.
+ * This method calls CreateAccessibleObject() if CreateAccessible is true.
*
* @return The Accessible object
*
* @see CreateAccessibleObject()
*/
- Toolkit::DevelControl::ControlAccessible* GetAccessibleObject();
+ std::shared_ptr<Toolkit::DevelControl::ControlAccessible> GetAccessibleObject();
// Gesture Detection
/// @cond internal
/**
- * @brief Called by the AccessibilityManager to activate the Control.
- * @SINCE_1_0.0
- */
- DALI_INTERNAL void AccessibilityActivate();
-
- /**
* @brief Called by the KeyboardFocusManager.
* @SINCE_1_0.0
*/
DALI_INTERNAL void KeyboardEnter();
/// @endcond
-
// Signals
/**
void OnLayoutNegotiated(float size, Dimension::Type dimension) override;
public: // Helpers for deriving classes
-
/**
* @brief Flags for the constructor.
* @SINCE_1_0.0
*/
virtual void OnInitialize();
+ /**
+ * @copydoc Dali::Toolkit::Control::IsResourceReady
+ */
+ virtual bool IsResourceReady() const;
+
// Styling
/**
* @param[in] destination Destination control of the animation.
* @param[in] visualIndex Property::Index to make animation.
*/
- void MakeVisualTransition(Dali::Property::Map& sourcePropertyMap, Dali::Property::Map& destinationPropertyMap,
- Dali::Toolkit::Control source, Dali::Toolkit::Control destination, Dali::Property::Index visualIndex);
+ void MakeVisualTransition(Dali::Property::Map& sourcePropertyMap, Dali::Property::Map& destinationPropertyMap, Dali::Toolkit::Control source, Dali::Toolkit::Control destination, Dali::Property::Index visualIndex);
/**
* @brief Retrieves source and destination visual properties for the Transition of this Control.