Replace deprecated TextStyle methods.
[platform/core/uifw/dali-toolkit.git] / base / dali-toolkit / internal / controls / text-view / text-view-processor-dbg.cpp
index 7671c34..100c570 100644 (file)
@@ -1,18 +1,19 @@
-//
-// 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 "text-view-processor-dbg.h"
@@ -122,24 +123,28 @@ void dbgPrint( const TextLayoutInfo& textInfo )
 
 void dbgPrint( const TextStyle& style )
 {
-  std::cout << "         font name : " << style.GetFontName() << std::endl;
-  std::cout << "        font style : " << style.GetFontStyle() << std::endl;
-  std::cout << "   font point size : " << style.GetFontPointSize() << std::endl;
-  std::cout << "            weight : " << style.GetWeight() << std::endl;
-  std::cout << "        text color : " << style.GetTextColor() << std::endl;
-  std::cout << "           italics : " << style.GetItalics() << std::endl;
-  std::cout << "         underline : " << style.GetUnderline() << std::endl;
-  std::cout << "            shadow : " << style.GetShadow() << std::endl;
-  std::cout << "      shadow color : " << style.GetShadowColor() << std::endl;
-  std::cout << "     shadow offset : " << style.GetShadowOffset() << std::endl;
-  std::cout << "              glow : " << style.GetGlow() << std::endl;
-  std::cout << "     italics angle : " << style.GetItalicsAngle() << std::endl;
-  std::cout << "        glow color : " << style.GetGlowColor() << std::endl;
-  std::cout << "    glow intensity : " << style.GetGlowIntensity() << std::endl;
-  std::cout << "       smooth edge : " << style.GetSmoothEdge() << std::endl;
-  std::cout << "           outline : " << style.GetOutline() << std::endl;
-  std::cout << "     outline color : " << style.GetOutlineColor() << std::endl;
-  std::cout << " outline thickness : " << style.GetOutlineThickness() << std::endl;
+  std::cout << "             font name : " << style.GetFontName() << std::endl;
+  std::cout << "            font style : " << style.GetFontStyle() << std::endl;
+  std::cout << "       font point size : " << style.GetFontPointSize() << std::endl;
+  std::cout << "                weight : " << style.GetWeight() << std::endl;
+  std::cout << "            text color : " << style.GetTextColor() << std::endl;
+  std::cout << "               italics : " << style.IsItalicsEnabled() << std::endl;
+  std::cout << "             underline : " << style.IsUnderlineEnabled() << std::endl;
+  std::cout << "                shadow : " << style.IsShadowEnabled() << std::endl;
+  std::cout << "          shadow color : " << style.GetShadowColor() << std::endl;
+  std::cout << "         shadow offset : " << style.GetShadowOffset() << std::endl;
+  std::cout << "                  glow : " << style.IsGlowEnabled() << std::endl;
+  std::cout << "         italics angle : " << style.GetItalicsAngle() << std::endl;
+  std::cout << "            glow color : " << style.GetGlowColor() << std::endl;
+  std::cout << "        glow intensity : " << style.GetGlowIntensity() << std::endl;
+  std::cout << "           smooth edge : " << style.GetSmoothEdge() << std::endl;
+  std::cout << "               outline : " << style.IsOutlineEnabled() << std::endl;
+  std::cout << "         outline color : " << style.GetOutlineColor() << std::endl;
+  std::cout << "     outline thickness : " << style.GetOutlineThickness() << std::endl;
+  std::cout << "              gradient : " << style.IsGradientEnabled() << std::endl;
+  std::cout << "        gradient color : " << style.GetGradientColor() << std::endl;
+  std::cout << "  gradient start point : " << style.GetGradientStartPoint() << std::endl;
+  std::cout << "    gradient end point : " << style.GetGradientEndPoint() << std::endl;
 }
 
 void dbgPrint( const TextInfoIndices& indices )