Merge "Unchecked GetCharacter func when index is over string length" into tizen_2.2
[platform/framework/native/uifw.git] / inc / FUiCompositeMode.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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        FUiCompositeMode.h
20  * @brief       This is the header file for the Container class.
21  *
22  * This header file contains the declarations of the enumerations of the Container class.
23  */
24
25 #ifndef _FUI_COMPOSITE_MODE_H_
26 #define _FUI_COMPOSITE_MODE_H_
27
28 #ifdef COMPOSITE_MODE_NONE
29 #undef COMPOSITE_MODE_NONE
30 #endif
31
32 namespace Tizen {namespace Ui
33 {
34
35 /**
36 * Defines the mode for compositing controls.
37 *
38 * @since 2.0
39 */
40 enum CompositeMode
41 {
42         COMPOSITE_MODE_ALPHA_BLENDING,  /**< Composites two UI controls using alpha-blending */
43         COMPOSITE_MODE_CHROMA_KEY,      /**< Composites two UI controls in a way that the given chroma key color from one control is made transparent */
44         COMPOSITE_MODE_OVERWRITE,       /**< Composites two UI controls in a way that one control overwrites another control */
45         COMPOSITE_MODE_NONE,    /**< Does not composite the given control */
46 };
47
48 }} // Tizen::Ui
49
50 #endif // _FUI_COMPOSITE_MODE_H_