ShowIndicator( HIDE_NOW );
}
}
- else
- {
- mIsShowing = false;
- }
}
}
}
CreateNewImage( n );
- UpdateVisibility();
+
+ if( CheckVisibleState() )
+ {
+ // set default indicator type (enable the quick panel)
+ OnIndicatorTypeChanged( INDICATOR_TYPE_1 );
+ }
+ else
+ {
+ // set default indicator type (disable the quick panel)
+ OnIndicatorTypeChanged( INDICATOR_TYPE_2 );
+ }
+
+ SetVisible(mVisible);
}
}
}
DALI_LOG_INFO( gIndicatorLogFilter, Debug::General, "mPixmap [%x]", mPixmap);
CreateNewPixmapImage();
- UpdateVisibility();
- }
-}
-void Indicator::UpdateVisibility()
-{
- if( CheckVisibleState() )
- {
- // set default indicator type (enable the quick panel)
- OnIndicatorTypeChanged( INDICATOR_TYPE_1 );
- }
- else
- {
- // set default indicator type (disable the quick panel)
- OnIndicatorTypeChanged( INDICATOR_TYPE_2 );
- }
+ if( CheckVisibleState() )
+ {
+ // set default indicator type (enable the quick panel)
+ OnIndicatorTypeChanged( INDICATOR_TYPE_1 );
+ }
+ else
+ {
+ // set default indicator type (disable the quick panel)
+ OnIndicatorTypeChanged( INDICATOR_TYPE_2 );
+ }
- if( !mIsShowing )
- {
- mIndicatorContentActor.SetPosition( 0.0f, -mImageHeight, 0.0f );
+ SetVisible(mVisible);
}
-
- SetVisible(mVisible, true);
}
void Indicator::UpdateImageData( int bufferNumber )
}
break;
}
+
}
}
break;
void LoadPixmapImage( Ecore_Ipc_Event_Server_Data *epcEvent );
/**
- * Update the visibility and position of the actors
- */
- void UpdateVisibility();
-
- /**
* Inform dali that the indicator data has been updated.
* @param[in] bufferNumber The shared file number
*/