static FormFactory formFactory;
static PanelFactory panelFactory;
+ AddFrameEventListener(*this);
+
SceneManager* pSceneManager = SceneManager::GetInstance();
r = pSceneManager->RegisterFormFactory(formFactory);
return E_SUCCESS;
}
+
+void
+MainFrame::OnFrameActivated(const Frame& source)
+{
+ AppLogDebug("OnFrameActivated");
+
+ GalleryApp* pGalleryApp = static_cast<GalleryApp*>(GalleryApp::GetInstance());
+ if (pGalleryApp != null)
+ {
+ pGalleryApp->SetFrameActivated(true);
+ }
+}