, public Tizen::Base::Runtime::ITimerEventListener
, public Tizen::Media::IPlayerEventListener
, public Tizen::Graphics::Opengl::IVideoTextureUpdateListener
+ , public Tizen::Ui::Controls::IFormBackEventListener
{
public:
static Tizen::App::Application* CreateInstance(void);
virtual void OnScreenOff(void);
virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
+
+ virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
+
bool Draw(void);
void Update(void);
virtual void OnTextureUpdated(Tizen::Graphics::Opengl::VideoTexture* pVideoTexture);
r = GetAppFrame()->GetFrame()->AddControl(__pForm);
TryCatch(!IsFailed(r), delete __pForm, "GetAppFrame()->GetFrame()->AddControl(__pForm) failed.");
+ __pForm->SetFormBackEventListener(this);
+
TryCatch(InitEGL(), , "InitEGL() failed.");
TryCatch(InitGL(), , "InitGL() failed.");
}
}
+void
+GlesVideoTexture::OnFormBackRequested(Form& source)
+{
+ Terminate();
+}
bool
GlesVideoTexture::InitEGL(void)