// INTERNAL INCLUDES
#include "button.h"
-namespace Dali DALI_IMPORT_API
+namespace Dali
{
namespace Toolkit
*
* Is not mandatory set all images. A button could be defined only by setting its \e background image or by setting its \e background and \e pressed images.
*/
-class PushButton : public Button
+class DALI_IMPORT_API PushButton : public Button
{
public:
//Signal Names
- static const char* const SIGNAL_TOGGLED; ///< name "toggled"
static const char* const SIGNAL_PRESSED; ///< name "pressed"
static const char* const SIGNAL_RELEASED; ///< name "released"
public: //Signals
- /// @brief PushButton Toggled signal type.
- typedef SignalV2< bool ( Button, bool ) > ToggledSignalV2;
-
/// @brief PushButton Pressed signal type.
typedef SignalV2< bool ( Button ) > PressedSignalV2;
typedef SignalV2< bool ( Button ) > ReleasedSignalV2;
/**
- * @brief Signal emitted when the \e toggle property is set and the button is touched.
- */
- ToggledSignalV2& ToggledSignal();
-
- /**
* @brief Signal emitted when the button is touched.
*/
PressedSignalV2& PressedSignal();
*
* @param[in] implementation The Control implementation.
*/
- PushButton( Internal::PushButton& implementation );
+ DALI_INTERNAL PushButton( Internal::PushButton& implementation );
/**
* @brief Allows the creation of this Control from an Internal::CustomActor pointer.
*
* @param[in] internal A pointer to the internal CustomActor.
*/
- PushButton( Dali::Internal::CustomActor* internal );
+ DALI_INTERNAL PushButton( Dali::Internal::CustomActor* internal );
};
} // namespace Toolkit