apply check gui
authorMyung Jin Kim <critical.kim@samsung.com>
Tue, 16 Jul 2013 06:05:40 +0000 (15:05 +0900)
committerMyung Jin Kim <critical.kim@samsung.com>
Tue, 16 Jul 2013 06:05:40 +0000 (15:05 +0900)
Change-Id: Ia9175086e1f59dc92d977d50243af7f59c4c7048

34 files changed:
res/common/usr/share/osp/bitmaps/480x800/black/00_expandable_bg_bottom_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/black/00_expandable_bg_center_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/black/00_expandable_bg_top_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/black/00_list_group_bg_bottom_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/black/00_list_group_bg_center_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/default/00_expandable_bg_bottom_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/default/00_expandable_bg_center_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/default/00_expandable_bg_top_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/default/00_list_group_bg_bottom_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/default/00_list_group_bg_center_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/white/00_expandable_bg_center_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/white/00_expandable_bg_top_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/white/00_list_group_bg_bottom_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/white/00_list_group_bg_center_ef.#.png
res/common/usr/share/osp/bitmaps/480x800/white/00_list_group_bg_top_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/black/00_expandable_bg_bottom_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/black/00_expandable_bg_center_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/black/00_expandable_bg_top_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/black/00_list_group_bg_bottom_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/black/00_list_group_bg_center_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/default/00_expandable_bg_bottom_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/default/00_expandable_bg_center_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/default/00_expandable_bg_top_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/default/00_list_group_bg_bottom_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/default/00_list_group_bg_center_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/white/00_expandable_bg_bottom_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/white/00_expandable_bg_center_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/white/00_list_group_bg_bottom_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/white/00_list_group_bg_center_ef.#.png
res/common/usr/share/osp/bitmaps/720x1280/white/00_list_group_bg_top_ef.#.png
src/ui/controls/FUiCtrl_CheckButtonPresenter.cpp
src/ui/controls/FUiCtrl_Toolbar.cpp
src/ui/controls/FUiCtrl_ToolbarPresenter.cpp
src/ui/inc/FUiCtrl_ToolbarPresenter.h

index 5b6173d..8247196 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/black/00_expandable_bg_bottom_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/black/00_expandable_bg_bottom_ef.#.png differ
index d257387..b22f9c7 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/black/00_expandable_bg_center_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/black/00_expandable_bg_center_ef.#.png differ
index 4c84a6f..22ca5eb 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/black/00_expandable_bg_top_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/black/00_expandable_bg_top_ef.#.png differ
index 7394156..55aef89 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/black/00_list_group_bg_bottom_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/black/00_list_group_bg_bottom_ef.#.png differ
index 2e08b30..317e9c4 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/black/00_list_group_bg_center_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/black/00_list_group_bg_center_ef.#.png differ
index 5b6173d..8247196 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/default/00_expandable_bg_bottom_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/default/00_expandable_bg_bottom_ef.#.png differ
index d257387..b22f9c7 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/default/00_expandable_bg_center_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/default/00_expandable_bg_center_ef.#.png differ
index 4c84a6f..22ca5eb 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/default/00_expandable_bg_top_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/default/00_expandable_bg_top_ef.#.png differ
index 7394156..55aef89 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/default/00_list_group_bg_bottom_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/default/00_list_group_bg_bottom_ef.#.png differ
index 2e08b30..317e9c4 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/default/00_list_group_bg_center_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/default/00_list_group_bg_center_ef.#.png differ
index 848df07..b6c559b 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/white/00_expandable_bg_center_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/white/00_expandable_bg_center_ef.#.png differ
index ddbfbbc..15685af 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/white/00_expandable_bg_top_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/white/00_expandable_bg_top_ef.#.png differ
index 216a6a1..25925af 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/white/00_list_group_bg_bottom_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/white/00_list_group_bg_bottom_ef.#.png differ
index 0897930..7e79c6c 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/white/00_list_group_bg_center_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/white/00_list_group_bg_center_ef.#.png differ
index 7a0d6ab..4cdb754 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/480x800/white/00_list_group_bg_top_ef.#.png and b/res/common/usr/share/osp/bitmaps/480x800/white/00_list_group_bg_top_ef.#.png differ
index 14ff7eb..3c2cd64 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/black/00_expandable_bg_bottom_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/black/00_expandable_bg_bottom_ef.#.png differ
index 70df863..6f3d8f3 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/black/00_expandable_bg_center_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/black/00_expandable_bg_center_ef.#.png differ
index 3e6f861..922ca04 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/black/00_expandable_bg_top_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/black/00_expandable_bg_top_ef.#.png differ
index 23500e6..d227fb4 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/black/00_list_group_bg_bottom_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/black/00_list_group_bg_bottom_ef.#.png differ
index 2535f0c..6e0777b 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/black/00_list_group_bg_center_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/black/00_list_group_bg_center_ef.#.png differ
index 14ff7eb..3c2cd64 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/default/00_expandable_bg_bottom_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/default/00_expandable_bg_bottom_ef.#.png differ
index 70df863..6f3d8f3 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/default/00_expandable_bg_center_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/default/00_expandable_bg_center_ef.#.png differ
index 3e6f861..922ca04 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/default/00_expandable_bg_top_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/default/00_expandable_bg_top_ef.#.png differ
index 23500e6..d227fb4 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/default/00_list_group_bg_bottom_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/default/00_list_group_bg_bottom_ef.#.png differ
index 2535f0c..6e0777b 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/default/00_list_group_bg_center_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/default/00_list_group_bg_center_ef.#.png differ
index 55557c1..02ec6fb 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/white/00_expandable_bg_bottom_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/white/00_expandable_bg_bottom_ef.#.png differ
index f35286c..6525ed6 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/white/00_expandable_bg_center_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/white/00_expandable_bg_center_ef.#.png differ
index 5f837a7..55557c1 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/white/00_list_group_bg_bottom_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/white/00_list_group_bg_bottom_ef.#.png differ
index 568a249..d63a9fd 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/white/00_list_group_bg_center_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/white/00_list_group_bg_center_ef.#.png differ
index 2630176..babe9dc 100644 (file)
Binary files a/res/common/usr/share/osp/bitmaps/720x1280/white/00_list_group_bg_top_ef.#.png and b/res/common/usr/share/osp/bitmaps/720x1280/white/00_list_group_bg_top_ef.#.png differ
index 50b7d54..a558c93 100644 (file)
@@ -1691,7 +1691,7 @@ _CheckButtonPresenter::OnTouchReleased(const _Control& source, const _TouchInfo&
 
        if (checkStyle == CHECK_BUTTON_STYLE_MARK_WITH_DETAILED_BUTTON || checkStyle == CHECK_BUTTON_STYLE_RADIO_WITH_DETAILED_BUTTON)
        {
-               if (!__detailedButtonBounds.Contains(touchPoint))
+               if (bounds.Contains(touchPoint) && !__detailedButtonBounds.Contains(touchPoint))
                {
                        PLAY_FEEDBACK(_RESOURCE_FEEDBACK_PATTERN_TAP, __pCheckButton);
 
index 6b298a6..a22d7fd 100644 (file)
@@ -6416,7 +6416,7 @@ _Toolbar::ApplyUserGUI(ButtonType buttonType, _Button* pButton)
                        }
                        if (pPressedBackgroundEffectBitmap)
                        {
-                               pButton->SetBackgroundEffectBitmap(_BUTTON_STATUS_PRESSED, *pPressedBackgroundEffectBitmap);
+                               //pButton->SetBackgroundEffectBitmap(_BUTTON_STATUS_PRESSED, *pPressedBackgroundEffectBitmap);
                                delete pPressedBackgroundEffectBitmap;
                        }
                        if (pHighlightedBackgroundEffectBitmap)
index 2f59231..b60a619 100644 (file)
@@ -65,7 +65,7 @@ _ToolbarPresenter::_ToolbarPresenter(void)
        , __pTextFont(null)
        , __pDescriptionTextObject(null)
        , __pTitleTextObject(null)
-       , __pBouncingEffectVe(null)
+       , __pDividerVe(null)
        , __flickAnimation()
        , __moveDistance(0.0f)
        , __flickMove(0.0f)
@@ -131,11 +131,11 @@ _ToolbarPresenter::~_ToolbarPresenter(void)
                __pTitleTextObject = null;
        }
 
-       if (__pBouncingEffectVe)
+       if (__pDividerVe)
        {
-               __pBouncingEffectVe->RemoveAllAnimations();
-               __pBouncingEffectVe->Destroy();
-               __pBouncingEffectVe = null;
+               __pDividerVe->RemoveAllAnimations();
+               __pDividerVe->Destroy();
+               __pDividerVe = null;
        }
 }
 
@@ -336,28 +336,28 @@ _ToolbarPresenter::DrawDivider(void)
        Canvas * pCanvas = null;
        int Z_ORDER_GROUP_CONTROL = 2001;
 
-       if (__pBouncingEffectVe == null)
+       if (__pDividerVe == null)
        {
-               __pBouncingEffectVe = new (std::nothrow) VisualElement();
-               SysTryReturnVoidResult(NID_UI_CTRL, __pBouncingEffectVe, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
+               __pDividerVe = new (std::nothrow) VisualElement();
+               SysTryReturnVoidResult(NID_UI_CTRL, __pDividerVe, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
 
-               __pBouncingEffectVe->Construct();
-               __pBouncingEffectVe->SetName(L"BouncingEffect");
+               __pDividerVe->Construct();
+               __pDividerVe->SetName(L"DividerEffect");
        }
 
-       __pBouncingEffectVe->SetBounds(FloatRectangle(0.0f, 0.0f, __pToolbar->GetBoundsF().width, __pToolbar->GetBoundsF().height));
-       __pBouncingEffectVe->SetShowState(true);
-       __pBouncingEffectVe->SetImplicitAnimationEnabled(false);
+       __pDividerVe->SetBounds(FloatRectangle(0.0f, 0.0f, __pToolbar->GetBoundsF().width, __pToolbar->GetBoundsF().height));
+       __pDividerVe->SetShowState(true);
+       __pDividerVe->SetImplicitAnimationEnabled(false);
 
-       _VisualElementImpl::GetInstance(*__pBouncingEffectVe)->SetZOrderGroup(Z_ORDER_GROUP_CONTROL + 1);
-       __pToolbar->GetVisualElement()->AttachChild(*__pBouncingEffectVe);
+       _VisualElementImpl::GetInstance(*__pDividerVe)->SetZOrderGroup(Z_ORDER_GROUP_CONTROL + 1);
+       __pToolbar->GetVisualElement()->AttachChild(*__pDividerVe);
 
-       pCanvas = __pBouncingEffectVe->GetCanvasN();
+       pCanvas = __pDividerVe->GetCanvasN();
 
        if (!pCanvas)
        {
-               __pBouncingEffectVe->Destroy();
-               __pBouncingEffectVe = null;
+               __pDividerVe->Destroy();
+               __pDividerVe = null;
 
                SysLog(NID_UI_CTRL, "[%s] Propagating.", GetErrorMessage(GetLastResult()));
 
@@ -1295,7 +1295,14 @@ _ToolbarPresenter::OnTouchPressed(const _Control& source, const _TouchInfo& touc
                pPressedButton->SetButtonStatus(_BUTTON_STATUS_PRESSED);
        }
 
-       __pToolbar->Invalidate(true);
+       if (__titlePressed)
+       {
+               __pToolbar->Invalidate(false);
+       }
+       else
+       {
+               __pToolbar->Invalidate(true);
+       }
 
        return true;
 }
@@ -1466,7 +1473,14 @@ _ToolbarPresenter::OnTouchReleased(const _Control& source, const _TouchInfo& tou
                                        }
                                }
 
-                               __pToolbar->Invalidate(true);
+                               if (__titlePressed)
+                               {
+                                       __pToolbar->Invalidate(false);
+                               }
+                               else
+                               {
+                                       __pToolbar->Invalidate(true);
+                               }
 
                                return true;
                        }
@@ -1487,7 +1501,14 @@ _ToolbarPresenter::OnTouchReleased(const _Control& source, const _TouchInfo& tou
        }
 
        // Update children
-       __pToolbar->Invalidate(true);
+       if (__titlePressed)
+       {
+               __pToolbar->Invalidate(false);
+       }
+       else
+       {
+               __pToolbar->Invalidate(true);
+       }
 
        return true;
 }
@@ -1551,7 +1572,14 @@ _ToolbarPresenter::OnTouchMoved(const _Control& source, const _TouchInfo& touchi
                        }
                }
 
-               __pToolbar->Invalidate(true);
+               if (__titlePressed)
+               {
+                       __pToolbar->Invalidate(false);
+               }
+               else
+               {
+                       __pToolbar->Invalidate(true);
+               }
 
                return true;
        }
@@ -1739,7 +1767,14 @@ _ToolbarPresenter::OnTouchCanceled(const _Control& source, const _TouchInfo& tou
        }
 
        // Update children
-       __pToolbar->Invalidate(true);
+       if (__titlePressed)
+       {
+               __pToolbar->Invalidate(false);
+       }
+       else
+       {
+               __pToolbar->Invalidate(true);
+       }
 
        return true;
 }
index f9edb74..d4e7b1a 100644 (file)
@@ -210,7 +210,7 @@ private:
 
        Tizen::Graphics::_Text::TextObject* __pTitleTextObject;
 
-       Tizen::Ui::Animations::VisualElement* __pBouncingEffectVe;
+       Tizen::Ui::Animations::VisualElement* __pDividerVe;
 
        _FlickAnimation __flickAnimation;