projects
/
platform
/
framework
/
native
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b61da4
)
reset customcontrolbase focus ring when orientation is changed
author
keonpyo.kong
<keonpyo.kong@samsung.com>
Mon, 30 Sep 2013 02:14:18 +0000
(11:14 +0900)
committer
keonpyo.kong
<keonpyo.kong@samsung.com>
Mon, 30 Sep 2013 02:14:34 +0000
(11:14 +0900)
Change-Id: I2923dcd48ba37a70a6e8b974e2039ab1e86ad498
Signed-off-by: keonpyo.kong <keonpyo.kong@samsung.com>
src/ui/FUi_CustomControlBaseImpl.cpp
patch
|
blob
|
history
diff --git
a/src/ui/FUi_CustomControlBaseImpl.cpp
b/src/ui/FUi_CustomControlBaseImpl.cpp
index
6dd9eac
..
0679f35
100644
(file)
--- a/
src/ui/FUi_CustomControlBaseImpl.cpp
+++ b/
src/ui/FUi_CustomControlBaseImpl.cpp
@@
-121,6
+121,16
@@
_CustomControlBaseImpl::OnBoundsChanging(const Rectangle& bounds)
void
_CustomControlBaseImpl::OnBoundsChanged(void)
{
+ bool isFocusMode = GetCore().IsFocusModeStateEnabled();
+ bool isFocus = GetCore().IsFocused();
+ if (isFocusMode)
+ {
+ GetCore().RemoveFocusRing(true);
+ if (isFocus)
+ {
+ GetCore().DrawFocus();
+ }
+ }
GetPublic().OnBoundsChanged(__oldBounds, GetBounds());
}