TOOLBAR_IMAGE,
"" );
- //app.GetWindow().GetOrientation().ChangedSignal().Connect( this, &ItemViewExample::OnOrientationChanged );
-
// Create an edit mode button. (left of toolbar)
Toolkit::PushButton editButton = Toolkit::PushButton::New();
editButton.SetUnselectedImage( EDIT_IMAGE );
mItemView.ActivateLayout( layoutId, Vector3(stageSize.x, stageSize.y, stageSize.x), 0.0f );
}
- /**
- * Orientation changed signal callback
- * @param orientation
- */
- void OnOrientationChanged( Orientation orientation )
- {
- const unsigned int angle = orientation.GetDegrees();
-
- // If orientation really changed
- if( mOrientation != angle )
- {
- // Remember orientation
- mOrientation = angle;
-
- SetLayout( mCurrentLayout );
- }
- }
-
bool OnLayoutButtonClicked( Toolkit::Button button )
{
// Switch to the next layout
Property::Map solidColorProperty;
solidColorProperty.Insert( "rendererType", "color" );
- solidColorProperty.Insert( "blendColor", Vector4(0.f, 0.f, 0.f, 0.6f) );
+ solidColorProperty.Insert( "mixColor", Vector4(0.f, 0.f, 0.f, 0.6f) );
checkbox.SetProperty( ImageView::Property::IMAGE, solidColorProperty );
if( MODE_REMOVE_MANY != mMode &&