X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=base%2Fdali-toolkit%2Finternal%2Fcontrols%2Ftext-view%2Ftext-view-impl.h;h=49bb4eafc05a31e73687a791a6f8134eeb82e988;hp=7ac52463eede75e6ff5f08f51aca144bdbab449c;hb=64485a966f60d59a33610e3439703dc7e7c19c32;hpb=cf229fa2e4f00e5fe727eab2d215868bf79ac524 diff --git a/base/dali-toolkit/internal/controls/text-view/text-view-impl.h b/base/dali-toolkit/internal/controls/text-view/text-view-impl.h index 7ac5246..49bb4ea 100644 --- a/base/dali-toolkit/internal/controls/text-view/text-view-impl.h +++ b/base/dali-toolkit/internal/controls/text-view/text-view-impl.h @@ -1,30 +1,28 @@ #ifndef __DALI_TOOLKIT_INTERNAL_TEXT_VIEW_H__ #define __DALI_TOOLKIT_INTERNAL_TEXT_VIEW_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. + * + */ // INTERNAL INCLUDES -#include - -#include #include #include -#include "text-actor-cache.h" -#include "text-view-processor-types.h" +#include +#include namespace Dali { @@ -163,11 +161,6 @@ public: std::string GetText() const; /** - * @copydoc SetFont( const Font newFont ) - */ - void SetFont( const Font newFont ); - - /** * @copydoc SetLineHeightOffset() */ void SetLineHeightOffset( PointSize offset ); @@ -368,9 +361,9 @@ private: // From Control virtual void OnInitialize(); /** - * @copydoc Toolkit::Control::OnStyleChange() + * @copydoc Toolkit::Control::OnFontChange( ) */ - virtual void OnStyleChange( StyleChange change ); + virtual void OnFontChange( bool defaultFontChange, bool defaultFontSizeChange ); /** * @copydoc Toolkit::Control::OnControlSizeSet() @@ -430,8 +423,7 @@ private: TextView& operator=( const TextView& rhs ); /** - * Executes synchronously relayout operations such as set, insert, remove or replace text, or - * split groups of characters, etc. + * Executes synchronously relayout operations such as set, insert, remove or replace text, etc. */ void PerformTextViewProcessorOperations(); @@ -609,7 +601,7 @@ public: Toolkit::TextView::LineJustification lineJustification, float lineHeightOffset, const std::string& ellipsizeText, - const bool markUpEnabled ); + bool markUpEnabled ); /** * Copy constructor