HomeScreen: Adding a config to adjust background of menu window
[profile/ivi/ico-uxf-homescreen.git] / lib / common / CicoCommonDef.h
1 /*
2  * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
3  *
4  * This program is licensed under the terms and conditions of the
5  * Apache License, version 2.0.  The full text of the Apache License is at
6  * http://www.apache.org/licenses/LICENSE-2.0
7  *
8  */
9
10 //==========================================================================
11 /**
12  *  @file   CicoCommonDef.h
13  *
14  *  @brief  This file is definition of common value
15  */
16 //==========================================================================
17 #ifndef __CICO_COMMON_DEF_H__
18 #define __CICO_COMMON_DEF_H__
19
20 //--------------------------------------------------------------------------
21 //  definition of layer type
22 //--------------------------------------------------------------------------
23 #define ICO_LAYER_TYPE_BACKGROUND   (1) ///! layer type of background
24 #define ICO_LAYER_TYPE_APPLICATION  (2) ///! layer type of application
25 #define ICO_LAYER_TYPE_HOMESCREEN   (3) ///! layer type of homescreen
26 #define ICO_LAYER_TYPE_INTERRPUTAPP (4) ///! layer type of homescreen
27 #define ICO_LAYER_TYPE_ONSCREEN     (5) ///! layer type of homescreen
28 #define ICO_LAYER_TYPE_INPUT        (101) ///! layer type of input panel(soft keyboard)
29 #define ICO_LAYER_TYPE_TOUCH        (102) ///! layer type of touch panel input
30 #define ICO_LAYER_TYPE_CURSOR       (103) ///! layer type of cursor
31
32 //--------------------------------------------------------------------------
33 //  range of zone id 
34 //--------------------------------------------------------------------------
35 // center display
36 #define ICO_DISPLAY0_ZONEID_MIN       (1)   ///! display0 zone id min
37 #define ICO_DISPLAY0_ZONEID_MAX       (20)  ///! display0 zone id max
38
39 // second display
40 #define ICO_DISPLAY1_ZONEID_MIN       (21)  ///! display1 zone id min
41 #define ICO_DISPLAY1_ZONEID_MAX       (40)  ///! display1 zone id max
42
43 //--------------------------------------------------------------------------
44 //  type
45 //--------------------------------------------------------------------------
46 typedef enum _ico_type
47 {
48     ICO_TYPE_UNKNOW  = 0,
49     ICO_TYPE_BOOLEAN,
50     ICO_TYPE_INT8,
51     ICO_TYPE_UINT8,
52     ICO_TYPE_INT16,
53     ICO_TYPE_UINT16,
54     ICO_TYPE_INT32,
55     ICO_TYPE_UINT32,
56     ICO_TYPE_INT64,
57     ICO_TYPE_UINT64,
58     ICO_TYPE_DOUBLE,
59     ICO_TYPE_STRING,
60
61     ICO_TYPE_MAX,
62 } ico_type_t;
63
64 #endif  // __CICO_COMMON_DEF_H__
65 // vim:set expandtab ts=4 sw=4: