X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=base%2Fdali-toolkit%2Finternal%2Fcontrols%2Fbuttons%2Fbutton-impl.h;h=2c45d7f01fb6bdde0035f2b4c638010197c179fa;hp=bb8b326756a0d8c5ebcbbb1069d9d37c309e2fac;hb=1123d866f9342b8950fe63715f6eaa1be9a2c18f;hpb=9950e5ec78fa88379dbfa3fdf952a0c6b578adbd diff --git a/base/dali-toolkit/internal/controls/buttons/button-impl.h b/base/dali-toolkit/internal/controls/buttons/button-impl.h index bb8b326..2c45d7f 100644 --- a/base/dali-toolkit/internal/controls/buttons/button-impl.h +++ b/base/dali-toolkit/internal/controls/buttons/button-impl.h @@ -130,6 +130,12 @@ private: */ virtual float OnAnimationTimeRequested() const; + /** + * This method is called when the button is removed from the stage. + * Could be reimplemented in subclasses to provide specific behaviour. + */ + virtual void OnButtonStageDisconnection() { } + public: /** @@ -190,6 +196,12 @@ private: // From Control */ virtual void OnControlSizeSet( const Vector3& targetSize ); + /** + * Callback received when the button is disconnected from the stage. + * It resets the button status. + */ + void OnControlStageDisconnection(); + private: /** @@ -204,14 +216,6 @@ private: private: - /** - * Callback received when the button is disconected from the stage. - * It resets the button status. - */ - void OnStageDisconnection(); - -private: - // Undefined Button( const Button& );