Tizen::Graphics::Rectangle boundsForm(GetBounds());
Tizen::Graphics::Rectangle bounds(boundsForm.x, (boundsHeader.y + boundsHeader.height) * 0, boundsForm.width, boundsForm.height-(boundsHeader.y + boundsHeader.height + pFooter->GetBounds().height));
__pEffectsPanel->Construct(bounds);
+ __pEffectsPanel->SetShowState(false);
__pDrawBitmapPanel = new DrawPanel();
__pDrawBitmapPanel->Construct(bounds);
__pDrawBitmapPanel->AddTouchEventListener(*this);
- AddControl(__pEffectsPanel);
AddControl(__pDrawBitmapPanel);
+ AddControl(__pEffectsPanel);
//Register effects:
InitializeEffect();
void
EffectsBaseForm::OnEffectStarted(Effect& effect)
{
- __pDrawBitmapPanel->SetShowState(false);
+ __pEffectsPanel->SetShowState(true);
}
void
EffectsBaseForm::OnEffectFinished(Effect& effect, EffectResult effectResult, const Tizen::Base::Collection::IList& lastShownBitmapIds)
{
- __pDrawBitmapPanel->SetShowState(true);
+ __pEffectsPanel->SetShowState(false);
SetBackgroundImage((dynamic_cast< const Tizen::Base::Long* >(lastShownBitmapIds.GetAt(0)))->value);
}