X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fbuttons%2Fcheck-box-button-impl.cpp;h=9554ccbf41c8250e7a48305079cdcdcaf42ee5ab;hp=9c898c777a3ecf8ab57b4bfde24e14b2819a491a;hb=6c664b09beef66ee4e223cf30fb17ecdd6889bf7;hpb=2acdedcc7c7e732a9ec97d08c8cee7423ed6ebf7 diff --git a/dali-toolkit/internal/controls/buttons/check-box-button-impl.cpp b/dali-toolkit/internal/controls/buttons/check-box-button-impl.cpp index 9c898c7..9554ccb 100644 --- a/dali-toolkit/internal/controls/buttons/check-box-button-impl.cpp +++ b/dali-toolkit/internal/controls/buttons/check-box-button-impl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 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. @@ -19,10 +19,19 @@ #include "check-box-button-impl.h" // EXTERNAL INCLUDES +#include #include +#include -// INTERNAL INCLUDES -#include "check-box-button-default-painter-impl.h" +//INTERNAL INCLUDES +#include +#include +#include +#include + +#if defined(DEBUG_ENABLED) + extern Debug::Filter* gLogButtonFilter; +#endif namespace Dali { @@ -43,6 +52,8 @@ BaseHandle Create() TypeRegistration mType( typeid(Toolkit::CheckBoxButton), typeid(Toolkit::Button), Create ); + + } Dali::Toolkit::CheckBoxButton CheckBoxButton::New() @@ -63,18 +74,19 @@ Dali::Toolkit::CheckBoxButton CheckBoxButton::New() CheckBoxButton::CheckBoxButton() : Button() { - // Creates specific painter. - ButtonPainterPtr painter = new CheckBoxButtonDefaultPainter(); - SetPainter( painter ); - SetTogglableButton( true ); } CheckBoxButton::~CheckBoxButton() { - SetPainter( NULL ); } +void CheckBoxButton::OnInitialize() +{ + Button::OnInitialize(); +} + + } // namespace Internal } // namespace Toolkit