Commit 9b0dbb24b7bc1263e5ffb302361db768de2b45f6

Authored by adam.b
2 parents df990c43 82ffd350

[dali_1.3.0] Merge branch 'devel/master'

Change-Id: I27fa89066cc4c79e784a7a4748b28c84171937c8
examples/image-policies/image-policies-example.cpp
... ... @@ -98,6 +98,7 @@ class ImagePolicies: public ConnectionTracker
98 98 * param[in] releasePolicy Which ReleasePolicy to use
99 99 * param[in] synchronousLoading If the Image should be loaded synchronously
100 100 * param[in] imageFilenameId Which image to load, referring to the array of filenames for this example.
  101 + * return An ImageView with the required set up
101 102 */
102 103 ImageView CreateImageView( bool correctionEnabled, DevelImageVisual::LoadPolicy::Type loadPolicy, DevelImageVisual::ReleasePolicy::Type releasePolicy, bool synchronousLoading, unsigned int imageFilenameId )
103 104 {
... ... @@ -121,6 +122,7 @@ class ImagePolicies: public ConnectionTracker
121 122 return imageView;
122 123 }
123 124  
  125 +
124 126 /**
125 127 * To prevent the next button being pressed before an Image has loaded the Button can br disabled.
126 128 * This function will disable the next button.
... ... @@ -185,7 +187,9 @@ class ImagePolicies: public ConnectionTracker
185 187 dualImageViewTable.AddChild( immediate, TableView::CellPosition( 0, 1 ) );
186 188 mTable.AddChild( dualImageViewTable, TableView::CellPosition( TableRowPlacement::IMAGE, 0 ) );
187 189  
  190 + DisableButtonWhilstLoading();
188 191 mPersistantImageView = CreateImageView( true, DevelImageVisual::LoadPolicy::IMMEDIATE, DevelImageVisual::ReleasePolicy::DESTROYED, false, 4 );
  192 + mPersistantImageView.ResourceReadySignal().Connect( this, &ImagePolicies::ResourceReadySignal );
189 193 }
190 194  
191 195 /**
... ...
packaging/com.samsung.dali-demo.spec
... ... @@ -2,7 +2,7 @@
2 2  
3 3 Name: com.samsung.dali-demo
4 4 Summary: The OpenGLES Canvas Core Demo
5   -Version: 1.2.65
  5 +Version: 1.3.0
6 6 Release: 1
7 7 Group: System/Libraries
8 8 License: Apache-2.0
... ...