76a28832276338465d1e21b74512cf63d58a405f
[apps/core/preloaded/settings.git] / setting-livebox / include / setting-livebox.h
1 /*
2  * setting
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
5  *
6  * Contact: MyoungJune Park <mj2004.park@samsung.com>
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21 #ifndef _SETTING_LIVEBOX_H_
22 #define _SETTING_LIVEBOX_H_
23 #include <setting-cfg.h>
24
25 #include <glib.h>
26 #include <Elementary.h>
27 #include <Ecore_IMF.h>
28
29 #include <glib-object.h>
30
31 #include <setting-common-draw-widget.h>
32 #include <setting-common-view.h>
33 #include <setting-debug.h>
34
35 #define MAX_MENU_NUM    100
36 #define MAX_SELECTION_NUM       4
37
38 typedef struct _SettingLiveboxUG {
39         ui_gadget_h ug;
40
41         /* add more variables here (move your appdata to here) */
42         Evas *evas;
43         Evas_Object *win_main_layout;
44         Evas_Object *win_get;
45         Evas_Object *ly_main;
46
47         Elm_Object_Item *navi_it;
48         Evas_Object *controllbar;
49         Evas_Object *navi_bar;
50         Evas_Object *sub_layout;
51
52         Evas_Object *search_bar;
53         Evas_Object *scroller;
54
55         unsigned int select_count;
56         unsigned int menu_count;
57         Setting_GenGroupItem_Data *item[MAX_MENU_NUM];
58 } SettingLiveboxUG;
59
60 extern setting_view setting_view_livebox_main;
61
62
63
64 #endif