tizen 2.3 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 {
19         appdata * ad;
20
21         Evas_Object * theme_layout;
22         Evas_Object * mapbuf[COLOR_THEME_COUNT];
23         Evas_Object * scroller;
24         Evas_Object * index;
25
26         Elm_Object_Item *last_it;
27         Elm_Object_Item *new_it;
28
29         Elm_Object_Item *it[COLOR_THEME_COUNT];
30
31         int curr_theme_id;
32         int curr_page;
33         int min_page;
34         int max_page;
35         int curr_theme_type;
36 } Theme_Data;
37
38 typedef struct _thumbnail_data {
39         int id;
40         int theme_type;
41         int prev_img_path;
42 } Thumbnail_Data;
43
44
45 void setting_theme_show_thumbnail(void * data, Evas_Object * obj, void * event_info);
46
47 #endif /* SETTING_THEME_H_ */