namespace Toolkit
{
+/**
+ * @addtogroup dali_toolkit_controls
+ * @{
+ */
+
class StyleManager;
namespace Internal
{
-
/**
* @brief This is the internal base class for all controls.
*
void SetBackgroundImage( Image image );
/**
+ * @brief Set the background with a property map.
+ *
+ * @param[in] map The background property map.
+ */
+ void SetBackground(const Property::Map& map);
+
+ /**
* @copydoc Dali::Toolkit::Control::ClearBackground
*/
void ClearBackground();
*/
DALI_INTERNAL bool EmitKeyEventSignal( const KeyEvent& event );
+private:
+
+ /**
+ * Sets up the background image/color based on the current state.
+ * This will set the depth index (always), and add to stage if the control is on stage.
+ *
+ */
+ void UpdateBackgroundState();
+
protected: // For derived classes to call
/**
} // namespace Internal
+/**
+ * @}
+ */
} // namespace Toolkit
} // namespace Dali