blob: df80d9b1a18f694dfc1af5aa81efe486cc5c16bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#include "TiltableImageViewerFrame.h"
#include "ImageForm.h"
using namespace Tizen::Base;
using namespace Tizen::Ui;
using namespace Tizen::Ui::Controls;
TiltableImageViewerFrame::TiltableImageViewerFrame(void)
{
}
TiltableImageViewerFrame::~TiltableImageViewerFrame(void)
{
}
result
TiltableImageViewerFrame::OnInitializing(void)
{
result r = E_SUCCESS;
// Create a form
ImageForm *pImageForm = new (std::nothrow) ImageForm();
pImageForm->Initialize();
// Add the form to the frame
AddControl(*pImageForm);
// Set the current form
SetCurrentForm(*pImageForm);
// Draw the form
pImageForm->Invalidate(true);
// TODO: Add your initialization code here
return r;
}
result
TiltableImageViewerFrame::OnTerminating(void)
{
result r = E_SUCCESS;
// TODO: Add your termination code here
return r;
}
|