Tizen 2.1 base
[framework/osp/uifw.git] / src / graphics / FGrp_Callback.cpp
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://floralicense.org/license/
10 //
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.
16 //
17
18 /*
19  * @file        FGrp_Callback.cpp
20  * @brief       This is the implementation file for the callback functions in Tizen::Graphics namespace.
21  *
22  */
23
24 #include "FGrp_Callback.h"
25
26 namespace Tizen { namespace Graphics
27 {
28         void* (*_GetDefaultFrameEcoreEvasHandle)(void) = _GetNull;
29         void* (*_GetDefaultFrameEvasHandle)(void) = _GetNull;
30         Color (*_GetDefaultForegroundColor)(void) = _GetBlack;
31         Color (*_GetDefaultBackgroundColor)(void) = _GetWhite;
32
33         void* _GetNull(void)
34         {
35                 return 0;
36         }
37
38         Color _GetWhite(void)
39         {
40                 return Color(0xFFFFFFFF);
41         }
42
43         Color _GetBlack(void)
44         {
45                 return Color(0xFF000000);
46         }
47
48 }} // Tizen::Graphics