From 379fa2211427806ca80d114eba7d2881e4ef85b1 Mon Sep 17 00:00:00 2001 From: Yury Usishchev Date: Tue, 23 Sep 2014 12:45:39 +0400 Subject: Remove unused functions Change-Id: I8afdf46a775188a076a0114ab43275c0c56069c2 Signed-off-by: Yury Usishchev --- demo/dali-table-view.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/demo/dali-table-view.cpp b/demo/dali-table-view.cpp index 7b1fefb8..00bda38d 100644 --- a/demo/dali-table-view.cpp +++ b/demo/dali-table-view.cpp @@ -92,18 +92,6 @@ const Dali::TextStyle::Weight TABLE_TEXT_STYLE_WEIGHT(Dali::TextStyle::LIGHT); const Dali::Vector4 TABLE_TEXT_STYLE_COLOR(0.0f, 0.0f, 0.0f, 1.0f); -TextStyle GetDefaultTextStyle() -{ - TextStyle textStyle; - textStyle.SetFontName(DEFAULT_TEXT_STYLE_FONT_FAMILY); - textStyle.SetFontStyle(DEFAULT_TEXT_STYLE_FONT_STYLE); - textStyle.SetFontPointSize( Dali::PointSize(DemoHelper::ScalePointSize(DEFAULT_TEXT_STYLE_POINT_SIZE))); - textStyle.SetWeight(DEFAULT_TEXT_STYLE_WEIGHT); - textStyle.SetTextColor(DEFAULT_TEXT_STYLE_COLOR); - textStyle.SetShadow( true ); - return textStyle; -} - TextStyle GetTableTextStyle() { TextStyle textStyle; @@ -171,15 +159,6 @@ Vector3 ShapeMovementConstraint( const Vector3& current, return pos; } -/** - * Constraint to return a bool value based on the alpha channel value - */ -bool AlphaVisibleConstraint( bool current, const PropertyInput& alphaProperty ) -{ - Vector4 colour = alphaProperty.GetVector4(); - return ( colour.a > Math::MACHINE_EPSILON_10000 ); -} - /** * Constraint to return a position for the background based on the scroll value */ -- cgit v1.2.3