diff options
Diffstat (limited to 'project/src/TiltableImageViewerFrame.cpp')
-rw-r--r-- | project/src/TiltableImageViewerFrame.cpp | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/project/src/TiltableImageViewerFrame.cpp b/project/src/TiltableImageViewerFrame.cpp new file mode 100644 index 0000000..df80d9b --- /dev/null +++ b/project/src/TiltableImageViewerFrame.cpp @@ -0,0 +1,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; +} + + |