projects
/
framework
/
osp
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce12c7
)
Back key changes for gallery
author
nm.gonapa
<nm.gonapa@samsung.com>
Mon, 8 Jul 2013 11:28:46 +0000
(16:58 +0530)
committer
nm.gonapa
<nm.gonapa@samsung.com>
Mon, 8 Jul 2013 11:38:09 +0000
(17:08 +0530)
Change-Id: I54d3871f1a1df111cafd5ebd1953f296be27a8db
Signed-off-by: nm.gonapa <nm.gonapa@samsung.com>
src/ui/controls/FUiCtrl_Gallery.cpp
patch
|
blob
|
history
diff --git
a/src/ui/controls/FUiCtrl_Gallery.cpp
b/src/ui/controls/FUiCtrl_Gallery.cpp
index
bafc6c7
..
e613656
100644
(file)
--- a/
src/ui/controls/FUiCtrl_Gallery.cpp
+++ b/
src/ui/controls/FUiCtrl_Gallery.cpp
@@
-325,6
+325,7
@@
_Gallery::GetSlideShowViewDuration(void) const
result
_Gallery::StartSlideShow(bool repeat)
{
+ SetFocused(true);
return GetPresenter().StartSlideShow(repeat);
}
@@
-823,6
+824,12
@@
_Gallery::OnKeyPressed(const _Control& source, const _KeyInfo& keyInfo)
bool
_Gallery::OnKeyReleased(const _Control& source, const _KeyInfo& keyInfo)
{
+ if (keyInfo.GetKeyCode() == _KEY_BACK && IsSlideShowStarted())
+ {
+ StopSlideShow();
+ return true;
+ }
+
return false;
}