Commit 303b72968ca6a87ad1ed825f1a715abe1d3d6080
1 parent
93948921
Changed colours on main demo to match the new logo
Change-Id: I45eb2a79f844539194940ab600532d2df76d45bd Signed-off-by: David Steele <david.steele@partner.samsung.com>
Showing
3 changed files
with
3 additions
and
2 deletions
demo/dali-table-view.cpp
| ... | ... | @@ -37,7 +37,7 @@ const std::string BUTTON_QUIT( "Quit" ); |
| 37 | 37 | const std::string BUTTON_OK( "Ok" ); |
| 38 | 38 | const std::string BUTTON_CANCEL( "Cancel" ); |
| 39 | 39 | |
| 40 | -const std::string DEFAULT_BACKGROUND_IMAGE_PATH( DALI_IMAGE_DIR "background-default.png" ); | |
| 40 | +const std::string DEFAULT_BACKGROUND_IMAGE_PATH( DALI_IMAGE_DIR "background-gradient.jpg" ); | |
| 41 | 41 | const std::string LOGO_PATH( DALI_IMAGE_DIR "dali-logo.png" ); |
| 42 | 42 | const std::string DEFAULT_TOOLBAR_IMAGE_PATH( DALI_IMAGE_DIR "top-bar-demo.png" ); |
| 43 | 43 | const std::string BUTTON_BACKGROUND(DALI_IMAGE_DIR "button-background.png"); |
| ... | ... | @@ -865,7 +865,8 @@ void DaliTableView::AddBackgroundActors( Actor layer, int count, BitmapImage dis |
| 865 | 865 | for( int i = 0; i < count; ++i ) |
| 866 | 866 | { |
| 867 | 867 | float randSize = Random::Range( 10.0f, 400.0f ); |
| 868 | - Vector4 randColour( 0.0f, Random::Range( 0.0f, 0.75f ), 1.0f, Random::Range( 0.3f, 0.6f )); | |
| 868 | + float hue = Random::Range( 0.3f, 1.0f ); | |
| 869 | + Vector4 randColour( hue, hue*0.5, 0.0f, Random::Range( 0.3f, 0.6f )); | |
| 869 | 870 | |
| 870 | 871 | ImageActor dfActor = ImageActor::New( distanceField ); |
| 871 | 872 | mBackgroundActors.push_back( dfActor ); | ... | ... |
demo/images/background-gradient.jpg
0 → 100755
80.8 KB
demo/images/dali-logo.png