#ifndef _E_SMART_TILE #define _E_SMART_TILE struct tile_array { Evas_Object **tiles; int tw, th; int ox, oy; int mode; double lat, lon; int w, h; }; struct osm_data { int x, y, z; }; static inline char *osm_string(struct osm_data *osm) { static char buf[64]; snprintf(buf, 64, "%i/%i/%i", osm->z, osm->x, osm->y); return buf; } Evas_Object *e_smart_tile_add(Evas *e); struct osm_data *e_smart_tile_load(Evas_Object *tile, const char *path, int z, int x, int y); struct osm_data *e_smart_tile_unload(Evas_Object *tile); struct osm_data *e_smart_tile_needs_update(Evas_Object *tile, int z, int x, int y); #endif