X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=optional%2Fdali-toolkit%2Finternal%2Fcontrols%2Fselectors%2Frotating-selector-impl.cpp;h=a95ee7cafcb26a8429833f76a808ac203be02f57;hp=9f36b9dea9ab415bbb4fac26173738c8a5b49aaf;hb=0697056b2ada1017c577c441c1c517ce8c08279f;hpb=022b76df6f53c2860f2684ef1ffee81af1805e2e diff --git a/optional/dali-toolkit/internal/controls/selectors/rotating-selector-impl.cpp b/optional/dali-toolkit/internal/controls/selectors/rotating-selector-impl.cpp index 9f36b9d..a95ee7c 100644 --- a/optional/dali-toolkit/internal/controls/selectors/rotating-selector-impl.cpp +++ b/optional/dali-toolkit/internal/controls/selectors/rotating-selector-impl.cpp @@ -1,25 +1,31 @@ -// -// Copyright (c) 2014 Samsung Electronics Co., Ltd. -// -// Licensed under the Flora License, Version 1.0 (the License); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://floralicense.org/license/ -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an AS IS BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#include +/* + * Copyright (c) 2014 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// CLASS HEADER #include -#include "dali-toolkit/public-api/controls/selectors/rotating-selector.h" +// EXTERNAL INCLUDES +#include +#include +#include +#include -using namespace std; +// INTERNAL INCLUDES +#include namespace { @@ -104,6 +110,7 @@ RotatingSelector::RotatingSelector() : Control( REQUIRES_TOUCH_EVENTS ), mSelected(false), mSelectable(true), + mPressed(false), mIsAnimating(false) { }