Commit dc5a8cde26f73605653d5b1054a1f64952368bc0
1 parent
3afbefd9
Remove unused functions
Change-Id: I8afdf46a775188a076a0114ab43275c0c56069c2 Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
Showing
1 changed file
with
0 additions
and
21 deletions
demo/dali-table-view.cpp
| ... | ... | @@ -92,18 +92,6 @@ const Dali::TextStyle::Weight TABLE_TEXT_STYLE_WEIGHT(Dali::TextStyle::LIGHT); |
| 92 | 92 | const Dali::Vector4 TABLE_TEXT_STYLE_COLOR(0.0f, 0.0f, 0.0f, 1.0f); |
| 93 | 93 | |
| 94 | 94 | |
| 95 | -TextStyle GetDefaultTextStyle() | |
| 96 | -{ | |
| 97 | - TextStyle textStyle; | |
| 98 | - textStyle.SetFontName(DEFAULT_TEXT_STYLE_FONT_FAMILY); | |
| 99 | - textStyle.SetFontStyle(DEFAULT_TEXT_STYLE_FONT_STYLE); | |
| 100 | - textStyle.SetFontPointSize( Dali::PointSize(DemoHelper::ScalePointSize(DEFAULT_TEXT_STYLE_POINT_SIZE))); | |
| 101 | - textStyle.SetWeight(DEFAULT_TEXT_STYLE_WEIGHT); | |
| 102 | - textStyle.SetTextColor(DEFAULT_TEXT_STYLE_COLOR); | |
| 103 | - textStyle.SetShadow( true ); | |
| 104 | - return textStyle; | |
| 105 | -} | |
| 106 | - | |
| 107 | 95 | TextStyle GetTableTextStyle() |
| 108 | 96 | { |
| 109 | 97 | TextStyle textStyle; |
| ... | ... | @@ -172,15 +160,6 @@ Vector3 ShapeMovementConstraint( const Vector3& current, |
| 172 | 160 | } |
| 173 | 161 | |
| 174 | 162 | /** |
| 175 | - * Constraint to return a bool value based on the alpha channel value | |
| 176 | - */ | |
| 177 | -bool AlphaVisibleConstraint( bool current, const PropertyInput& alphaProperty ) | |
| 178 | -{ | |
| 179 | - Vector4 colour = alphaProperty.GetVector4(); | |
| 180 | - return ( colour.a > Math::MACHINE_EPSILON_10000 ); | |
| 181 | -} | |
| 182 | - | |
| 183 | -/** | |
| 184 | 163 | * Constraint to return a position for the background based on the scroll value |
| 185 | 164 | */ |
| 186 | 165 | struct AnimScrollConstraint | ... | ... |