From: Bhavya Kumili Date: Tue, 2 Apr 2013 13:54:12 +0000 (+0530) Subject: Canvas clear change to colorpicker X-Git-Tag: accepted/tizen_2.1/20130425.033138~498^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9962712d5104f5643ff2fa5f5a43216d30e3efc;p=framework%2Fosp%2Fuifw.git Canvas clear change to colorpicker Change-Id: Ied8a5925ac319a013c187c48f2d511ca1d18ccaf --- diff --git a/src/ui/controls/FUiCtrl_ColorPickerPresenter.cpp b/src/ui/controls/FUiCtrl_ColorPickerPresenter.cpp index 31424d3..241296e 100755 --- a/src/ui/controls/FUiCtrl_ColorPickerPresenter.cpp +++ b/src/ui/controls/FUiCtrl_ColorPickerPresenter.cpp @@ -843,6 +843,7 @@ _ColorPickerPresenter::DrawLuminanceSlider(Canvas& canvas) Bitmap* pColorReplacementBitmap = null; _ControlOrientation orientation = _ControlManager::GetInstance()->GetOrientation(); + canvas.SetBackgroundColor(Color(0, 0, 0, 0)); canvas.Clear(__componentBounds[LUM_BAR]); if (__pCustomBitmap != null && __pLuminanceSliderBgBitmap != null && orientation == _CONTROL_ORIENTATION_PORTRAIT) @@ -892,6 +893,7 @@ _ColorPickerPresenter::DrawSaturationSlider(Canvas& canvas) Bitmap* pColorReplacementBitmap = null; _ControlOrientation orientation = _ControlManager::GetInstance()->GetOrientation(); + canvas.SetBackgroundColor(Color(0, 0, 0, 0)); canvas.Clear(__componentBounds[SAT_BAR]); if (__pCustomBitmap != null && __pSaturationSliderBgBitmap != null && orientation == _CONTROL_ORIENTATION_PORTRAIT)