[Coding Style] Polish map.c
[apps/native/sample/adventure.git] / inc / map.h
1 #ifndef MOMENT_MAP
2 #define MOMENT_MAP
3
4 #include "city.h"
5
6 typedef struct _city_data_s {
7    city_s ci;
8    Evas_Object *obj;
9    int w, h;
10 } city_data_s;
11
12 Evas_Object *create_momentic_layout(Evas_Object *parent, const char *full_path);
13 Eina_Bool add_city_to_map(int idx, city_s *ci);
14 Eina_Bool remove_city_from_map(int idx);
15 void button_effect(Evas_Object *btn);
16
17 Eina_Bool set_time_range(Evas_Object *item, int idx, double p1, double p2, double p3, double p4);
18 void unset_time_range(Evas_Object *item);
19 Eina_Bool set_marker(Evas_Object *item, int idx);
20
21 #endif