tizen 2.3.1 release
[apps/home/b2-clocksetting.git] / include / setting-theme.h
1 /*
2  * setting-theme.h
3  *
4  *  Created on: Aug 7, 2014
5  *      Author: min-hoyun
6  */
7
8 #ifndef SETTING_THEME_H_
9 #define SETTING_THEME_H_
10
11 #include <Elementary.h>
12
13 #include "util.h"
14
15 #define COLOR_THEME_COUNT       2
16
17 typedef struct _theme_data {
18         appdata *ad;
19
20         Evas_Object *theme_layout;
21         Evas_Object *mapbuf[COLOR_THEME_COUNT];
22         Evas_Object *scroller;
23         Evas_Object *index;
24
25         Elm_Object_Item *last_it;
26         Elm_Object_Item *new_it;
27
28         Elm_Object_Item *it[COLOR_THEME_COUNT];
29
30         int curr_theme_id;
31         int curr_page;
32         int min_page;
33         int max_page;
34         int curr_theme_type;
35 } Theme_Data;
36
37 typedef struct _thumbnail_data {
38         int id;
39         int theme_type;
40         int prev_img_path;
41 } Thumbnail_Data;
42
43
44 void setting_theme_show_thumbnail(void *data, Evas_Object *obj, void *event_info);
45
46 #endif /* SETTING_THEME_H_ */