X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fscrollable%2Fscroll-view%2Fscroll-base-impl.h;h=968e3ab836da18dad5ce4dcf2a6d7280bd0e4e67;hp=5dd0a3f2e5d0d4b29e26470dd4ca5127757d7d2e;hb=refs%2Ftags%2Faccepted%2Ftizen%2Fmobile%2F20150309.081750;hpb=e2eda444afbe82e9591fe198eef339227f90a616 diff --git a/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-base-impl.h b/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-base-impl.h index 5dd0a3f..968e3ab 100644 --- a/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-base-impl.h +++ b/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-base-impl.h @@ -1,28 +1,30 @@ #ifndef __DALI_TOOLKIT_INTERNAL_SCROLL_BASE_H__ #define __DALI_TOOLKIT_INTERNAL_SCROLL_BASE_H__ -// -// 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. -// +/* + * 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. + * + */ // EXTERNAL INCLUDES // TODO - Replace list with dali-vector.h #include +#include +#include // INTERNAL INCLUDES -#include #include #include @@ -180,7 +182,7 @@ public: protected: - static const std::string SCROLL_DOMAIN_OFFSET_PROPERTY_NAME; + static const char* const SCROLL_DOMAIN_OFFSET_PROPERTY_NAME; protected: @@ -198,11 +200,8 @@ protected: ScrollBase *mParent; ///< Pointer to ScrollBase parent, if exists. Property::Index mPropertyTime; ///< Scroll Time (0 to animationDuration while animating, otherwise 0) - Property::Index mPropertyX; ///< Scroll Position X ("scroll-x") - Property::Index mPropertyY; ///< Scroll Position Y ("scroll-y") Property::Index mPropertyPrePosition; ///< Scroll Position ("scroll-position") [function of scroll-x, scroll-y] Property::Index mPropertyPosition; ///< Scroll Position ("scroll-position") [function of scroll-pre-position] - Property::Index mPropertyScale; ///< Scroll Scale ("scroll-scale") Property::Index mPropertyOvershootX; ///< Scroll Overshoot ("scroll-overshoot-x") [function of scroll-pre-position, scroll-position] Property::Index mPropertyOvershootY; ///< Scroll Overshoot ("scroll-overshoot-y") [function of scroll-pre-position, scroll-position] Property::Index mPropertyWrap; ///< Scroll Wrap ("scroll-wrap")