2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://floralicense.org/license/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FUiCtrl_GroupContainerPresenter.h
20 * @brief This is the header file for the _GroupContainerPresenter class.
22 * This header file contains the declarations of the %_GroupContainerPresenter class.
25 #ifndef _FUI_CTRL_INTERNAL_GROUP_CONTAINER_PRESENTER_H_
26 #define _FUI_CTRL_INTERNAL_GROUP_CONTAINER_PRESENTER_H_
28 #include <FBaseObject.h>
29 #include "FUiCtrl_GroupContainer.h"
31 namespace Tizen { namespace Ui { namespace Controls
33 class _GroupContainer;
35 class _GroupContainerPresenter
36 : public Tizen::Base::Object
39 _GroupContainerPresenter(void);
40 _GroupContainerPresenter(_GroupContainer& GroupContainer);
41 virtual ~_GroupContainerPresenter(void);
46 result LoadResourceBitmaps(void);
49 _GroupContainerPresenter(const _GroupContainerPresenter& rhs);
50 _GroupContainerPresenter& operator =(const _GroupContainerPresenter& rhs);
51 void DrawBackgroundBitmapForSystemChild(Tizen::Graphics::Canvas* pCanvas);
52 void DrawBackgroundBitmapForGroupContainer(Tizen::Graphics::Canvas* pCanvas);
53 void DrawBackgroundEffectBitmapForSystemChild(Tizen::Graphics::Canvas* pCanvas);
54 Tizen::Graphics::Color GetParentColor(void) const;
57 static const int BORDER_LINE_WIDTH = 1;
58 _GroupContainer* __pGroupContainer;
59 Tizen::Graphics::Bitmap* __pSystemChildColorReplacedBgBitmap;
60 Tizen::Graphics::Bitmap* __pSystemChildBgEffectBitmap;
61 Tizen::Graphics::Bitmap* __pGroupContainerColorReplacedBgBitmap;
62 Tizen::Graphics::Color __parentBgColor;
63 Tizen::Graphics::Color __bgColor;
64 }; // _GroupContainerPresenter;
66 }}} // Tizen::Ui::Controls
68 #endif // _FUI_CTRL_INTERNAL_GROUP_CONTAINER_PRESENTER_H_