From dc5a8cde26f73605653d5b1054a1f64952368bc0 Mon Sep 17 00:00:00 2001 From: Yury Usishchev Date: Tue, 23 Sep 2014 12:45:39 +0400 Subject: [PATCH] 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 7b1fefb..00bda38 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; @@ -172,15 +160,6 @@ Vector3 ShapeMovementConstraint( const Vector3& current, } /** - * 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 */ struct AnimScrollConstraint -- 2.7.4