static Fonts_Data fndata = {NULL, NULL, NULL, NULL, NULL, NULL, 0.0};
static void
-_font_styles_list_sel(void *data __UNUSED__,
+_font_styles_list_sel(void *data EINA_UNUSED,
Evas_Object *obj,
void *event_info);
static void
-config_exit(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+config_exit(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Text_Class_Data *tc_data;
Elm_Font_Size_Data *sd;
}
static void
-sb_change(void *data __UNUSED__,
+sb_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Eina_Bool val = elm_check_state_get(obj);
Eina_Bool sb = elm_config_scroll_bounce_enabled_get();
}
static void
-bf_round(void *data __UNUSED__,
+bf_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-bf_change(void *data __UNUSED__,
+bf_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double bf = elm_config_scroll_bounce_friction_get();
double val = elm_slider_value_get(obj);
}
static void
-ps_round(void *data __UNUSED__,
+ps_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-ps_change(void *data __UNUSED__,
+ps_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double ps = elm_config_scroll_page_scroll_friction_get();
double val = elm_slider_value_get(obj);
}
static void
-bis_round(void *data __UNUSED__,
+bis_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-bis_change(void *data __UNUSED__,
+bis_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double bis = elm_config_scroll_bring_in_scroll_friction_get();
double val = elm_slider_value_get(obj);
}
static void
-zf_round(void *data __UNUSED__,
+zf_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-zf_change(void *data __UNUSED__,
+zf_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double zf = elm_config_scroll_zoom_friction_get();
double val = elm_slider_value_get(obj);
}
static void
-ts_change(void *data __UNUSED__,
+ts_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Eina_Bool val = elm_check_state_get(obj);
Eina_Bool sb = elm_config_scroll_thumbscroll_enabled_get();
}
static void
-tst_round(void *data __UNUSED__,
+tst_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-tst_change(void *data __UNUSED__,
+tst_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double tst = elm_config_scroll_thumbscroll_threshold_get();
double val = elm_slider_value_get(obj);
}
static void
-tsht_round(void *data __UNUSED__,
+tsht_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-tsht_change(void *data __UNUSED__,
+tsht_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double tst = elm_config_scroll_thumbscroll_hold_threshold_get();
double val = elm_slider_value_get(obj);
}
static void
-tsmt_round(void *data __UNUSED__,
+tsmt_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-tsmt_change(void *data __UNUSED__,
+tsmt_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double tsmt = elm_config_scroll_thumbscroll_momentum_threshold_get();
double val = elm_slider_value_get(obj);
}
static void
-tsfdt_round(void *data __UNUSED__,
+tsfdt_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-tsfdt_change(void *data __UNUSED__,
+tsfdt_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double tsfdt = elm_config_scroll_thumbscroll_flick_distance_tolerance_get();
double val = elm_slider_value_get(obj);
}
static void
-tsf_round(void *data __UNUSED__,
+tsf_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-tsf_change(void *data __UNUSED__,
+tsf_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double tsf = elm_config_scroll_thumbscroll_friction_get();
double val = elm_slider_value_get(obj);
}
static void
-tsmf_round(void *data __UNUSED__,
+tsmf_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-tsmf_change(void *data __UNUSED__,
+tsmf_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double tsmf = elm_config_scroll_thumbscroll_min_friction_get();
double val = elm_slider_value_get(obj);
}
static void
-tsfs_round(void *data __UNUSED__,
+tsfs_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-tsfs_change(void *data __UNUSED__,
+tsfs_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double tsfs = elm_config_scroll_thumbscroll_friction_standard_get();
double val = elm_slider_value_get(obj);
}
static void
-tsbf_round(void *data __UNUSED__,
+tsbf_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-tsbf_change(void *data __UNUSED__,
+tsbf_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double tsbf = elm_config_scroll_thumbscroll_border_friction_get();
double val = elm_slider_value_get(obj);
}
static void
-tssf_round(void *data __UNUSED__,
+tssf_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-tssf_change(void *data __UNUSED__,
+tssf_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double tssf = elm_config_scroll_thumbscroll_sensitivity_friction_get();
double val = elm_slider_value_get(obj);
}
static void
-tsat_round(void *data __UNUSED__,
+tsat_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-tsat_change(void *data __UNUSED__,
+tsat_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double tsat = elm_config_scroll_thumbscroll_acceleration_threshold_get();
double val = elm_slider_value_get(obj);
}
static void
-tsatl_round(void *data __UNUSED__,
+tsatl_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-tsatl_change(void *data __UNUSED__,
+tsatl_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double tsatl = elm_config_scroll_thumbscroll_acceleration_time_limit_get();
double val = elm_slider_value_get(obj);
}
static void
-tsaw_round(void *data __UNUSED__,
+tsaw_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-tsaw_change(void *data __UNUSED__,
+tsaw_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double tsaw = elm_config_scroll_thumbscroll_acceleration_weight_get();
double val = elm_slider_value_get(obj);
static void
cf_enable(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Eina_Bool cf = elm_config_cache_flush_enabled_get();
Eina_Bool val = elm_check_state_get(obj);
}
static void
-cf_round(void *data __UNUSED__,
+cf_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-cf_change(void *data __UNUSED__,
+cf_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double cf = elm_config_cache_flush_interval_get();
double val = elm_slider_value_get(obj);
}
static void
-fc_round(void *data __UNUSED__,
+fc_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-fc_change(void *data __UNUSED__,
+fc_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double font_cache = elm_config_cache_font_cache_size_get();
double val = elm_slider_value_get(obj);
}
static void
-ic_round(void *data __UNUSED__,
+ic_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-ic_change(void *data __UNUSED__,
+ic_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double image_cache = elm_config_cache_image_cache_size_get();
double val = elm_slider_value_get(obj);
}
static void
-sc_round(void *data __UNUSED__,
+sc_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-sc_change(void *data __UNUSED__,
+sc_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double scale = elm_config_scale_get();
double val = elm_slider_value_get(obj);
}
static void
-fs_round(void *data __UNUSED__,
+fs_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-fs_change(void *data __UNUSED__,
+fs_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double fs = elm_config_finger_size_get();
double val = elm_slider_value_get(obj);
}
static void
-efc_round(void *data __UNUSED__,
+efc_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-efc_change(void *data __UNUSED__,
+efc_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double efc = elm_config_cache_edje_file_cache_size_get();
double val = elm_slider_value_get(obj);
}
static void
-ecc_round(void *data __UNUSED__,
+ecc_round(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
double v;
}
static void
-ecc_change(void *data __UNUSED__,
+ecc_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
double ecc = elm_config_cache_edje_collection_cache_size_get();
double val = elm_slider_value_get(obj);
}
static void
-ac_change(void *data __UNUSED__,
+ac_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Eina_Bool val = elm_check_state_get(obj);
Eina_Bool ac = elm_config_access_get();
}
static void
-sel_change(void *data __UNUSED__,
+sel_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Eina_Bool val = elm_check_state_get(obj);
Eina_Bool sel = elm_config_selection_unfocused_clear_get();
}
static void
-dbg_change(void *data __UNUSED__,
+dbg_change(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Eina_Bool val = elm_check_state_get(obj);
Eina_Bool sel = elm_config_clouseau_enabled_get();
static void
_cf_sizing(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_flip_to(data, "sizing");
}
static void
_cf_themes(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_flip_to(data, "themes");
}
static void
_cf_fonts(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_flip_to(data, "fonts");
}
static void
_cf_profiles(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_flip_to(data, "profiles");
}
static void
_cf_scrolling(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_flip_to(data, "scrolling");
}
static void
_cf_rendering(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_flip_to(data, "rendering");
}
static void
_cf_caches(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_flip_to(data, "caches");
}
static void
_cf_access(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_flip_to(data, "access");
}
static void
_cf_selection(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_flip_to(data, "selection");
}
static void
_cf_debug(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_flip_to(data, "debug");
}
static void
_font_overlay_set_all(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *fclasses;
Elm_Text_Class_Data *tc_data, *tc;
static void
_font_overlay_reset(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *fclasses, *fnames, *fstyles, *fsizes;
Elm_Text_Class_Data *tc_data;
static void
_font_overlay_reset_all(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *fclasses, *fnames, *fstyles, *fsizes;
Elm_Text_Class_Data *tc_data;
}
static void
-_font_overlay_change(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_font_overlay_change(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Text_Class_Data *tc_data;
Eina_List *l;
static Eina_Bool
_config_all_changed(void *data,
- int ev_type __UNUSED__,
- void *ev __UNUSED__)
+ int ev_type EINA_UNUSED,
+ void *ev EINA_UNUSED)
{
Evas_Object *win = data;
_config_display_update(win);
static void
_engine_use(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *li;
const char *selection;
static void
_profile_use(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *li;
const char *selection;
}
static void
-_btn_todo(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_btn_todo(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("To be done!\n");
}
static void
_profile_reset(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
const char *selection, *curr;
const char *pdir;
}
static void
-_theme_use(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_theme_use(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
const char *defth;
Elm_Theme *th;
}
static void
-_theme_sel(void *data __UNUSED__,
+_theme_sel(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Object *win = elm_object_top_widget_get(obj);
Evas_Object *sample = evas_object_data_get(win, "theme_preview");
}
static void
-_font_classes_list_sel(void *data __UNUSED__,
+_font_classes_list_sel(void *data EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
}
static void
-_font_names_list_sel(void *data __UNUSED__,
+_font_names_list_sel(void *data EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
}
static void
-_font_styles_list_sel(void *data __UNUSED__,
+_font_styles_list_sel(void *data EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
}
static void
-_font_sizes_list_sel(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_font_sizes_list_sel(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Text_Class_Data *tc_data;
Evas_Object *fc_list, *win;
}
static void
-_fstyle_list_unselect_cb(void *data __UNUSED__,
+_fstyle_list_unselect_cb(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Object *sizes_list, *win;
}
static void
-_fc_list_unselect_cb(void *data __UNUSED__,
+_fc_list_unselect_cb(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Object *font_names_list, *styles_list, *sizes_list, *win;
}
static void
-_fnames_list_unselect_cb(void *data __UNUSED__,
+_fnames_list_unselect_cb(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Object *styles_list, *sizes_list, *win;
}
static Eina_Bool
-_font_list_fill(const Eina_Hash *hash __UNUSED__,
- const void *key __UNUSED__,
+_font_list_fill(const Eina_Hash *hash EINA_UNUSED,
+ const void *key EINA_UNUSED,
void *data,
void *fdata)
{
static void
_engines_list_item_del_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
free(data);
}
static void
_profiles_list_item_del_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
free(data);
}
static void
_profiles_list_selected_cb(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
const char *cur_profile = NULL;
const char *sel_profile, *pdir;
}
static void
-_profiles_list_unselect_cb(void *data __UNUSED__,
+_profiles_list_unselect_cb(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
if (elm_list_selected_item_get(obj)) return;
elm_object_disabled_set(evas_object_data_get(obj, "prof_del_btn"),
}
static Eina_Bool
-_exit_timer(void *data __UNUSED__)
+_exit_timer(void *data EINA_UNUSED)
{
elm_exit();
return ECORE_CALLBACK_CANCEL;
const char *fnc,
int _line,
const char *fmt,
- __UNUSED__ void *data,
+ EINA_UNUSED void *data,
va_list args)
{
if ((d->name) && (d->namelen == sizeof("elm_prefs_cc") - 1) &&
#define DBG(...) EINA_LOG_DOM_DBG(_log_dom, __VA_ARGS__)
static void
-post_fork(void *data __UNUSED__)
+post_fork(void *data EINA_UNUSED)
{
sigaction(SIGINT, &old_sigint, NULL);
sigaction(SIGTERM, &old_sigterm, NULL);
}
static void
-child_handler(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
+child_handler(int x EINA_UNUSED, siginfo_t *info EINA_UNUSED, void *data EINA_UNUSED)
{
int status;
while (waitpid(-1, &status, WNOHANG) > 0);
}
static void
-crash_handler(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
+crash_handler(int x EINA_UNUSED, siginfo_t *info EINA_UNUSED, void *data EINA_UNUSED)
{
double t;
}
void
-my_win_del(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_win_del(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_exit(); /* exit the program's main loop that runs in elm_run() */
}
}
static void
-_frame_clicked(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_frame_clicked(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
printf("frame %p is: %s\n", obj, elm_frame_collapse_get(obj) ? "collapsed" : "expanded");
}
}
static void
-_entry_changed_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_entry_changed_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
const char *str = elm_entry_entry_get(obj);
if (!str) return;
#if 0
static void
-_btn_clicked_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_btn_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
const char *str = elm_entry_entry_get(data);
if (!str) return;
}
void
-_ch_rot_x(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_ch_rot_x(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
rotx = elm_slider_value_get(obj);
}
void
-_ch_rot_y(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_ch_rot_y(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
roty = elm_slider_value_get(obj);
}
void
-_ch_rot_z(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_ch_rot_z(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
rotz = elm_slider_value_get(obj);
}
void
-_ch_cx(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_ch_cx(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
cxo = elm_slider_value_get(obj);
}
void
-_ch_cy(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_ch_cy(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
cyo = elm_slider_value_get(obj);
}
void
-_ch_foc(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_ch_foc(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
focv = elm_slider_value_get(obj);
}
void
-_ch_z0(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_ch_z0(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
z0v = elm_slider_value_get(obj);
}
void
-test_3d(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_3d(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *sl;
#ifndef ELM_LIB_QUICKLAUNCH
static void
-_cleanup_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_config_access_set(EINA_FALSE);
}
} Item_Data;
static Elm_Genlist_Item_Class *itc1, *itc2;
-char *gl_access_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+char *gl_access_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
char buf[256];
Item_Data *id = data;
return strdup(buf);
}
-Evas_Object *gl_access_content_get(void *data __UNUSED__, Evas_Object *obj, const char *part)
+Evas_Object *gl_access_content_get(void *data EINA_UNUSED, Evas_Object *obj, const char *part)
{
char buf[PATH_MAX];
Evas_Object *bt;
}
static void
-gl_del(void *data, Evas_Object *obj __UNUSED__)
+gl_del(void *data, Evas_Object *obj EINA_UNUSED)
{
free(data);
}
return NULL;
}
-Evas_Object *gl_access_content_full_get(void *data __UNUSED__, Evas_Object *obj, const char *part)
+Evas_Object *gl_access_content_full_get(void *data EINA_UNUSED, Evas_Object *obj, const char *part)
{
int i;
Evas_Object *grid;
return grid;
}
-static void _realized(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *ei)
+static void _realized(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ei)
{
Evas_Object *content, *bt;
Eina_List *items;
}
void
-test_access(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_access(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
int i;
Evas_Object *win, *bx, *gl;
}
void
-test_access2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_access2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
int i, j, k;
char buf[PATH_MAX];
}
static Eina_Bool
-_key_down_cb(void *data, int type __UNUSED__, void *ei)
+_key_down_cb(void *data, int type EINA_UNUSED, void *ei)
{
Elm_Access_Action_Info *a;
Ecore_Event_Key *ev = ei;
}
static char *
-_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
if (data) return strdup(data);
return NULL;
}
void
-test_access3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_access3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
char buf[PATH_MAX];
Evas_Object *win, *box, *lbl, *ly, *btn;
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
-static void _pos_selected_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info)
+static void _pos_selected_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Elm_Actionslider_Pos ipos, mpos, epos;
}
static void
-_position_change_magnetic_cb(void *data __UNUSED__, Evas_Object * obj, void *event_info)
+_position_change_magnetic_cb(void *data EINA_UNUSED, Evas_Object * obj, void *event_info)
{
if (!strcmp((char *)event_info, "left"))
elm_actionslider_magnet_pos_set(obj, ELM_ACTIONSLIDER_LEFT);
}
static void
-_magnet_enable_disable_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info)
+_magnet_enable_disable_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info)
{
if (!strcmp((char *)event_info, "left"))
elm_actionslider_magnet_pos_set(obj, ELM_ACTIONSLIDER_CENTER);
}
void
-test_actionslider(void *data __UNUSED__, Evas_Object * obj __UNUSED__, void *event_info __UNUSED__)
+test_actionslider(void *data EINA_UNUSED, Evas_Object * obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *as;
};
static void
-_del(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_del(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Ecore_Animator *ani = evas_object_data_get(win, "animator");
}
void
-test_anim(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_anim(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *bub, *sh;
Ecore_Animator *ani;
#ifndef ELM_LIB_QUICKLAUNCH
static void
-_cb_size_radio_changed(void *data, Evas_Object *obj, void *event __UNUSED__)
+_cb_size_radio_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)
{
Evas_Object *o_bg = data;
int size;
}
static void
-_cb_radio_changed(void *data, Evas_Object *obj, void *event __UNUSED__)
+_cb_radio_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)
{
Evas_Object *o_bg = data;
}
static void
-_cb_overlay_changed(void *data, Evas_Object *obj, void *event __UNUSED__)
+_cb_overlay_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)
{
Evas_Object *o_bg = data;
}
static void
-_cb_color_changed(void *data, Evas_Object *obj, void *event __UNUSED__)
+_cb_color_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)
{
Evas_Object *o_bg = data;
double val = 0.0;
}
void
-test_bg_plain(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_bg_plain(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg;
}
void
-test_bg_image(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_bg_image(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg;
Evas_Object *box, *hbox, *o_bg;
}
void
-test_bg_options(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_bg_options(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg;
Evas_Object *box, *hbox, *o_bg;
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
void
-test_box_vert(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_box_vert(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *ic, *bxx, *bt;
char buf[PATH_MAX];
}
static void
-_del_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_del_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
elm_box_unpack(data, obj);
evas_object_move(obj, 0, 0);
}
void
-test_box_vert2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_box_vert2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bt;
}
void
-test_box_horiz(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_box_horiz(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *ic, *bxx, *bt;
char buf[PATH_MAX];
}
static void
-_pack_start_btn_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_pack_start_btn_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *rd;
if (!data) return;
}
static void
-_pack_before_btn_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_pack_before_btn_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *rd, *selected_rd, *rdg;
if (!data) return;
}
static void
-_pack_after_btn_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_pack_after_btn_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *rd, *selected_rd, *rdg;
if (!data) return;
}
static void
-_pack_end_btn_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_pack_end_btn_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *rd;
if (!data) return;
}
static void
-_unpack_btn_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_unpack_btn_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *rdg, *selected_rd;
if (!data) return;
}
static void
-_unpack_all_btn_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_unpack_all_btn_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *radio, *rdg;
Eina_List *rl, *l;
}
void
-test_box_pack(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_box_pack(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *sc, *bt;
Evas_Object *box, *lbox, *rbox;
}
static void
-_cb_check_changed(void *data, Evas_Object *obj, void *event __UNUSED__)
+_cb_check_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)
{
Eina_Bool homo;
Evas_Object *box = data;
}
void
-test_box_homo(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_box_homo(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win;
Evas_Object *box, *o_bg;
}
static void
-_win_del(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_win_del(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Transitions_Data *tdata = data;
if (!data) return;
}
void
-test_box_transition(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_box_transition(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bt;
Transitions_Data *tdata;
#ifndef ELM_LIB_QUICKLAUNCH
static void
-_print_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_print_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("bubble clicked\n");
}
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
void
-test_bubble(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_bubble(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *ic, *bb, *ct, *bxx, *bt;
char buf[PATH_MAX];
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
-_bt_repeated(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_bt_repeated(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
static int count;
char buf[16];
}
static void
-_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
int param = (int)(uintptr_t)(data);
}
static void
-_bt_unpressed(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_unpressed(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
int param = (int)(uintptr_t)(data);
}
void
-test_button(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_button(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *scr, *bx, *ic, *bt;
char buf[PATH_MAX];
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
/* A simple test, just displaying calendar in it's default state */
void
-test_calendar(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_calendar(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *cal, *bx, *bxx, *bt;
api_data *api = calloc(1, sizeof(api_data));
}
void
-_print_cal_shown_info_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_print_cal_shown_info_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
_print_cal_shown_info(obj, data);
}
static void
-_print_cal_info_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_print_cal_info_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
_print_cal_info(obj, data);
}
/* A test intended to cover all the calendar api and much use cases as
possible */
void
-test_calendar2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_calendar2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bxh, *cal, *cal2, *cal3, *en;
Elm_Calendar_Mark *mark;
void
-test_calendar3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_calendar3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *cal, *en, *bx;
struct tm selected_time;
static Eina_Bool eb;
static void
-changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ck2 = data;
printf("ck %p to %i\n", obj, elm_check_state_get(obj));
}
static void
-state_changed_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+state_changed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("State Pointer Value: %d\n", eb);
}
void
-test_check(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_check(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *ic, *ck, *ck0;
char buf[PATH_MAX];
}
void
-test_check_toggle(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_check_toggle(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *ic, *tg;
char buf[PATH_MAX];
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
void
-test_clock(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_clock(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *ck, *bt, *bxx;
unsigned int digedit;
}
static void
-_edit_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_edit_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ck = data;
}
static void
-_hmode_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_hmode_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ck = data;
}
void
-test_clock2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_clock2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *hbx, *ck, *bt, *bxx;
api_data *api = calloc(1, sizeof(api_data));
}
void
-test_clock3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_clock3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *ck, *lb;
static Evas_Object *glb;
static void
-_bt_copy_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_copy_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = (Evas_Object*)(data);
const char *txt = elm_object_text_get(en);
}
static void
-_bt_paste_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_paste_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = (Evas_Object*)(data);
}
static void
-_bt_clear_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_clear_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = (Evas_Object*)(data);
}
void
-test_cnp(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_cnp(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gd, *bt, *en, *lb;
static void
_colorselector_changed_cb(void *data, Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Object *re = data;
int r, g, b, a;
}
static void
-_color_item_selected_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
+_color_item_selected_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info)
{
int r = 0, g = 0, b = 0 ,a = 0;
}
static void
-_color_item_longpressed_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
+_color_item_longpressed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info)
{
int r = 0,g = 0,b = 0 ,a = 0;
}
static void
-_palette_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_palette_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *cs = data;
elm_colorselector_mode_set(cs, ELM_COLORSELECTOR_PALETTE);
}
static void
-_components_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_components_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *cs = data;
elm_colorselector_mode_set(cs, ELM_COLORSELECTOR_COMPONENTS);
}
static void
-_both_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_both_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *cs = data;
elm_colorselector_mode_set(cs, ELM_COLORSELECTOR_BOTH);
}
static void
-_picker_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_picker_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *cs = data;
elm_colorselector_mode_set(cs, ELM_COLORSELECTOR_PICKER);
}
static void
-_all_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_all_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *cs = data;
elm_colorselector_mode_set(cs, ELM_COLORSELECTOR_ALL);
}
void
-test_colorselector(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_colorselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bx2, *cs, *fr, *re, *bt;
int r, g, b, a;
}
static void
-_bt_profile_set(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_profile_set(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
App_Data *ad = evas_object_data_get((Evas_Object *)data, "ad");
Evas_Object *rd = elm_radio_selected_object_get(ad->curr.rdg);
}
static void
-_bt_available_profiles_set(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_available_profiles_set(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
App_Data *ad = evas_object_data_get((Evas_Object *)data, "ad");
Eina_List *l = NULL;
}
static void
-_bt_win_add(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_win_add(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
App_Data *ad = evas_object_data_get((Evas_Object *)data, "ad");
Evas_Object *rd = elm_radio_selected_object_get(ad->new.rdg);
}
static void
-_win_profile_changed_cb(void *data __UNUSED__, Evas_Object *obj, void *event __UNUSED__)
+_win_profile_changed_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED)
{
_profile_update(obj);
}
static void
-_win_del_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_win_del_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
App_Data *ad = evas_object_data_get(obj, "ad");
Evas_Object *o;
} while(0)
void
-test_config(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_config(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
App_Data *ad;
Prof_Data *pd = (Prof_Data *)data;
#ifndef ELM_LIB_QUICKLAUNCH
void
-test_conformant(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
+test_conformant(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
{
Evas_Object *win, *conform, *btn, *bx, *en;
}
static void
-popobj(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
+popobj(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
{
elm_naviframe_item_pop(data);
}
void
-test_conformant2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
+test_conformant2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
{
Evas_Object *win, *conform, *btn, *bx, *en, *pg;
static Evas_Object *win_land = NULL;
static void
-_rot_0(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_rot_0(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
if (rotate_with_resize)
}
static void
-_rot_90(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_rot_90(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
if (rotate_with_resize)
}
static void
-_rot_180(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_rot_180(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
if (rotate_with_resize)
}
static void
-_rot_270(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_rot_270(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
if (rotate_with_resize)
}
static void
-_visible_change_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_visible_change_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("visible change before=%d\n",vis);
Evas_Object *win = (Evas_Object *) data;
}
static void
-_launch_conformant_indicator_window_btn_cb(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_launch_conformant_indicator_window_btn_cb(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *conform, *bt, *bx;
Evas_Object *plug_port = NULL, *plug_land = NULL;
}
static void
-_mouse_down_cb(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_mouse_down_cb(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
Evas_Object *sub_obj = data;
}
static void
-_mouse_move_cb(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_mouse_move_cb(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Evas_Event_Mouse_Move *ev = event_info;
Evas_Object *sub_obj = data;
}
static void
-_indicator_service_start_btn_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event __UNUSED__)
+_indicator_service_start_btn_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event EINA_UNUSED)
{
elm_object_disabled_set(data, EINA_TRUE);
}
void
-test_conformant_indicator(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event __UNUSED__)
+test_conformant_indicator(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event EINA_UNUSED)
{
Evas_Object *win, *btn, *bx;
static void
-_dismissed(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_dismissed(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ctxpopup_data = evas_object_data_get(obj, "im");
if (ctxpopup_data) evas_object_del(ctxpopup_data);
}
static void
-_btn_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_btn_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
printf("Button Clicked\n");
}
static void
-_ctxpopup_item_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ctxpopup_item_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("ctxpopup item selected: %s\n",
elm_object_item_text_get(event_info));
static void
-_list_item_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_list_item_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ctxpopup;
Elm_Object_Item *it = NULL;
}
static void
-_list_item_cb2(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_list_item_cb2(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ctxpopup;
Elm_Object_Item *it = NULL;
}
static void
-_list_item_cb3(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_list_item_cb3(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ctxpopup;
Elm_Object_Item *it = NULL;
}
static void
-_list_item_cb4(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_list_item_cb4(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ctxpopup;
Evas_Coord x,y;
static void
-_list_item_cb5(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_list_item_cb5(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ctxpopup, *btn, *sc, *bx;
Evas_Coord x,y;
}
static void
-_list_item_cb6(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_list_item_cb6(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ctxpopup, *btn, *sc, *bx;
Evas_Coord x,y;
}
static void
-_ctxpopup_item_disable_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ctxpopup_item_disable_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("ctxpopup item selected: %s\n",
elm_object_item_text_get(event_info));
}
static void
-_ctxpopup_item_delete_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info)
+_ctxpopup_item_delete_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info)
{
printf("ctxpopup item selected: %s\n",
elm_object_item_text_get(event_info));
}
static void
-_list_item_cb7(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_list_item_cb7(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ctxpopup;
Evas_Coord x,y;
_print_current_dir(ctxpopup);
}
-static void _list_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+static void _list_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
elm_list_item_selected_set(event_info, EINA_FALSE);
}
void
-test_ctxpopup(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_ctxpopup(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *list;
static Elm_Gengrid_Item_Class gic;
char *
-grd_lbl_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+grd_lbl_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
const Testitem *ti = data;
char buf[256];
static Elm_Genlist_Item_Class itct;
static void
-glt_exp(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+glt_exp(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
Evas_Object *gl = elm_object_item_widget_get(glit);
}
static void
-glt_con(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+glt_con(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
elm_genlist_item_subitems_clear(glit);
}
static void
-glt_exp_req(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+glt_exp_req(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
elm_genlist_item_expanded_set(glit, EINA_TRUE);
}
static void
-glt_con_req(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+glt_con_req(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
elm_genlist_item_expanded_set(glit, EINA_FALSE);
}
char *
-glt_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+glt_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
char buf[256];
snprintf(buf, sizeof(buf), "Item mode %i", (int)(uintptr_t)data);
}
void
-test_cursor(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_cursor(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *bx, *bt, *list, *entry, *ck;
Elm_Object_Item *lit;
}
void
-test_cursor2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_cursor2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *o, *grid, *gl;
Elm_Object_Item *glit1, *glit2, *glit3;
}
void
-test_cursor3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_cursor3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *o;
Elm_Object_Item *lit;
}
void
-test_cursor4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_cursor4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *ly, *bt;
char buf[PATH_MAX];
/* A simple test, just displaying datetime in its default format */
static void
-_changed_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_changed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("Datetime value is changed\n");
}
void
-test_datetime(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_datetime(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *datetime;
time_t t;
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
-static void _changed_cb(void* data __UNUSED__, Evas_Object* obj, void* event_info)
+static void _changed_cb(void* data EINA_UNUSED, Evas_Object* obj, void* event_info)
{
char buf[256];
Elm_Dayselector_Day day = (Elm_Dayselector_Day) event_info;
}
void
-test_dayselector(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_dayselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *dayselector, *monday;
Eina_List *weekdays_list;
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
}
static void
-_disk_sel(void *data __UNUSED__, Evas_Object * obj __UNUSED__, void *event_info)
+_disk_sel(void *data EINA_UNUSED, Evas_Object * obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *ds_it = event_info;
printf("Equinox: %s\n", elm_object_item_text_get(ds_it));
}
static void
-_disk_next(void *data __UNUSED__, Evas_Object * obj __UNUSED__, void *event_info)
+_disk_next(void *data EINA_UNUSED, Evas_Object * obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *next_ds_it, *prev_ds_it, *ds_it = event_info;
prev_ds_it = elm_diskselector_item_prev_get(ds_it);
}
static void
-_print_disk_info_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_print_disk_info_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *ds_it = event_info;
printf("Selected label: %s\n", elm_object_item_text_get(ds_it));
}
static void
-_item_clicked_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_item_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *ds_it = event_info;
printf("Clicked label: %s\n", elm_object_item_text_get(ds_it));
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
void
-test_diskselector(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_diskselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *disk, *ic, *bxx, *bt;
Elm_Object_Item *ds_it;
static Elm_Genlist_Item_Class *itc1;
static Elm_Gengrid_Item_Class *gic;
static char *
-gl_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+gl_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
return strdup(data);
}
}
static void
-_win_del(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_win_del(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("<%s> <%d> will del <%p>\n", __func__, __LINE__, data);
elm_drop_item_container_del(data);
}
static Elm_Object_Item *
-_gl_item_getcb(Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *xposret __UNUSED__, int *yposret)
+_gl_item_getcb(Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *xposret EINA_UNUSED, int *yposret)
{ /* This function returns pointer to item under (x,y) coords */
printf("<%s> <%d> obj=<%p>\n", __func__, __LINE__, obj);
Elm_Object_Item *gli;
}
static Eina_Bool
-_gl_dropcb(void *data __UNUSED__, Evas_Object *obj, Elm_Object_Item *it, Elm_Selection_Data *ev, int xposret __UNUSED__, int yposret)
+_gl_dropcb(void *data EINA_UNUSED, Evas_Object *obj, Elm_Object_Item *it, Elm_Selection_Data *ev, int xposret EINA_UNUSED, int yposret)
{ /* This function is called when data is dropped on the genlist */
printf("<%s> <%d> str=<%s>\n", __func__, __LINE__, (char *) ev->data);
if (!ev->data)
}
static Eina_Bool
-_grid_dropcb(void *data __UNUSED__, Evas_Object *obj, Elm_Object_Item *it, Elm_Selection_Data *ev, int xposret __UNUSED__, int yposret EINA_UNUSED)
+_grid_dropcb(void *data EINA_UNUSED, Evas_Object *obj, Elm_Object_Item *it, Elm_Selection_Data *ev, int xposret EINA_UNUSED, int yposret EINA_UNUSED)
{ /* This function is called when data is dropped on the genlist */
printf("<%s> <%d> str=<%s>\n", __func__, __LINE__, (char *) ev->data);
if (!ev->data)
static void
_gl_obj_mouse_up(
void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{ /* Cancel any drag waiting to start on timeout */
drag_anim_st *anim_st = data;
anim_st_free(anim_st);
static void
_gl_obj_mouse_move(
void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{ /* Cancel any drag waiting to start on timeout */
static void
_gl_obj_mouse_down(
void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{ /* Launch a timer to start drag animation */
Evas_Event_Mouse_Down *ev = event_info;
/* END - Handling drag start animation */
static void
-_gl_dragdone(void *data, Evas_Object *obj __UNUSED__, Eina_Bool doaccept)
+_gl_dragdone(void *data, Evas_Object *obj EINA_UNUSED, Eina_Bool doaccept)
{
printf("<%s> <%d> data=<%p> doaccept=<%d>\n",
__func__, __LINE__, data, doaccept);
}
void
-test_dnd_genlist_default_anim(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_dnd_genlist_default_anim(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
char buf[PATH_MAX];
Evas_Object *win, *gl, *bxx;
}
void
-test_dnd_genlist_user_anim(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_dnd_genlist_user_anim(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
char buf[PATH_MAX];
Evas_Object *win, *gl, *bxx;
}
void
-test_dnd_genlist_gengrid(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_dnd_genlist_gengrid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
char buf[PATH_MAX];
Evas_Object *win, *bxx;
static void _test_eio_clear(void *data, Evas_Object *obj, void *event);
static void
-_sel_file(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_sel_file(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
}
static Eina_Bool
-_ls_filter_cb(void *data __UNUSED__, Eio_File *handler __UNUSED__, const char *file __UNUSED__)
+_ls_filter_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, const char *file EINA_UNUSED)
{
return EINA_TRUE;
}
}
static void
-_ls_main_cb(void *data, Eio_File *handler __UNUSED__, const char *file)
+_ls_main_cb(void *data, Eio_File *handler EINA_UNUSED, const char *file)
{
elm_genlist_item_sorted_insert(data,
&it_eio,
}
static void
-_ls_done_cb(void *data __UNUSED__, Eio_File *handler __UNUSED__)
+_ls_done_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED)
{
#ifdef _WIN32
FILETIME tc;
}
static void
-_ls_error_cb(void *data __UNUSED__, Eio_File *handler __UNUSED__, int error)
+_ls_error_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, int error)
{
fprintf(stderr, "error: [%s]\n", strerror(error));
}
static void
-_file_chosen(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+_file_chosen(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
const char *file = event_info;
if (file)
}
static char *
-_gl_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+_gl_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
char buf[PATH_MAX];
snprintf(buf, sizeof(buf), "Item # %s", (char*)data);
}
static Evas_Object *
-_gl_content_get(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+_gl_content_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
return NULL;
}
static Eina_Bool
-_gl_state_get(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+_gl_state_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
return EINA_FALSE;
}
static void
-_gl_del(void *data __UNUSED__, Evas_Object *obj __UNUSED__)
+_gl_del(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED)
{
}
static void
-_test_eio_clear(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
+_test_eio_clear(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
{
elm_genlist_clear(data);
}
void
-test_eio(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_eio(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *vbox, *hbox, *ic, *bt, *fs_bt, *gl;
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
-my_entry_bt_1(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_entry_bt_1(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_object_text_set(en, "");
}
static void
-my_entry_bt_2(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_entry_bt_2(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
const char *s = elm_object_text_get(en);
}
static void
-my_entry_bt_3(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_entry_bt_3(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
const char *s = elm_entry_selection_get(en);
}
static void
-my_entry_bt_4(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_entry_bt_4(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_entry_insert(en, "Insert some <b>BOLD</> text");
}
static void
-my_entry_bt_5(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_entry_bt_5(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_scrollable_set(en, !elm_entry_scrollable_get(en));
}
static void
-my_entry_bt_6(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_entry_bt_6(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
static Elm_Wrap_Type wr = ELM_WRAP_NONE;
}
void
-test_entry(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_entry(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bx2, *bt, *en;
char buf[4096];
}
static void
-my_scrolled_entry_bt_1(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_scrolled_entry_bt_1(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_object_text_set(en, "");
}
static void
-my_scrolled_entry_bt_2(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_scrolled_entry_bt_2(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
const char *s = elm_object_text_get(en);
}
static void
-my_scrolled_entry_bt_3(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_scrolled_entry_bt_3(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
const char *s = elm_entry_selection_get(en);
}
static void
-my_scrolled_entry_bt_4(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_scrolled_entry_bt_4(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_entry_insert(en, "Insert some <b>BOLD</> text");
}
static void
-my_scrolled_entry_bt_5(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_scrolled_entry_bt_5(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
const char *s = elm_object_text_get(en);
}
static void
-scrolled_anchor_test(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+scrolled_anchor_test(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_entry_insert(en, "ANCHOR CLICKED");
}
static void
-_item_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_item_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Entry_Context_Menu_Item *item = (Elm_Entry_Context_Menu_Item *)event_info;
printf("\ncurrent selected text = %s\n", elm_entry_context_menu_item_label_get(item));
}
void
-test_entry_scrolled(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_entry_scrolled(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bx2, *bt, *en, *en_p, *sp;
static Elm_Entry_Filter_Accept_Set digits_filter_data, digits_filter_data2;
}
static void
-my_ent_bt_clr(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_clr(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_object_text_set(en, "");
}
static void
-my_ent_bt_pri(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_pri(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
const char *s = elm_object_text_get(en);
}
static void
-my_ent_bt_sel(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_sel(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
const char *s = elm_entry_selection_get(en);
}
static void
-my_ent_bt_all(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_all(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_select_all(en);
}
static void
-my_ent_bt_non(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_non(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_select_none(en);
}
static void
-my_ent_bt_ins(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_ins(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_entry_insert(en, "Insert text");
}
static void
-my_ent_bt_lef(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_lef(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_cursor_prev(en);
}
static void
-my_ent_bt_rig(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_rig(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_cursor_next(en);
}
static void
-my_ent_bt_up_(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_up_(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_cursor_up(en);
}
static void
-my_ent_bt_dow(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_dow(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_cursor_down(en);
}
static void
-my_ent_bt_beg(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_beg(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_cursor_begin_set(en);
}
static void
-my_ent_bt_end(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_end(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_cursor_end_set(en);
}
static void
-my_ent_bt_lbe(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_lbe(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_cursor_line_begin_set(en);
}
static void
-my_ent_bt_len(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_len(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_cursor_line_end_set(en);
}
static void
-my_ent_bt_sbe(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_sbe(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_cursor_selection_begin(en);
}
static void
-my_ent_bt_sen(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_sen(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_cursor_selection_end(en);
}
static void
-my_ent_bt_fmt(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_fmt(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
printf("IS FORMAT: %i\n",
}
static void
-my_ent_bt_vfm(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_vfm(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
printf("IS VISIBLE FORMAT %i\n",
}
static void
-my_ent_bt_chr(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_chr(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
printf("CHAR '%s'\n", elm_entry_cursor_content_get(en));
}
static void
-my_ent_bt_cut(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_cut(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_selection_cut(en);
}
static void
-my_ent_bt_cop(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_cop(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_selection_copy(en);
}
static void
-my_ent_bt_pas(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ent_bt_pas(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_selection_paste(en);
}
static void
-ent_bt_style_user_peek(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+ent_bt_style_user_peek(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
const char* cur_style = elm_entry_text_style_user_peek(en);
}
static void
-ent_bt_style_user_pop(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+ent_bt_style_user_pop(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_text_style_user_pop(en);
}
void
-test_entry_style_user(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_entry_style_user(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *en, *bt, *bt2;
}
static void
-_entry_activated_cb(void *data __UNUSED__, Evas_Object *obj,
- void *event_info __UNUSED__)
+_entry_activated_cb(void *data EINA_UNUSED, Evas_Object *obj,
+ void *event_info EINA_UNUSED)
{
printf("entry is activated: %s\n", elm_entry_entry_get(obj));
}
void
-test_entry3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_entry3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bx2, *bt, *en;
}
void
-test_entry4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_entry4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *ly, *en;
char buf[PATH_MAX];
}
void
-test_entry5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_entry5(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bx2, *bt, *en;
}
void
-test_entry6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_entry6(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *en;
}
static void
-changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *en;
en = (Evas_Object*)data;
}
static void
-en_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+en_changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *sp, *en;
sp = (Evas_Object *)data;
}
static void
-sp_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+sp_changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *en, *sp;
en = (Evas_Object *)data;
}
static void
-add_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+add_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en;
en = (Evas_Object *)data;
}
static void
-clear_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+clear_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en;
en = (Evas_Object *)data;
}
static Evas_Object *
-item_provider(void *images __UNUSED__, Evas_Object *en, const char *item)
+item_provider(void *images EINA_UNUSED, Evas_Object *en, const char *item)
{
Evas_Object *o = NULL;;
char buf[1024];
}
static Evas_Object *
-prepend_item_provider(void *images __UNUSED__, Evas_Object *en, const char *item)
+prepend_item_provider(void *images EINA_UNUSED, Evas_Object *en, const char *item)
{
Evas_Object *o = NULL;;
char buf[1024];
}
static void
-prepend_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+prepend_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en;
en = (Evas_Object *)data;
}
static void
-remove_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+remove_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en;
en = (Evas_Object *)data;
}
static void
-enable_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+enable_changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *en;
en = (Evas_Object*)data;
}
void
-test_entry7(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_entry7(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gd, *bg, *en, *tg, *lb, *sp;
Evas_Object *bt, *en2;
}
static void
-filter_prepend_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+filter_prepend_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en, *en2;
static Elm_Entry_Filter_Accept_Set digits_filter_data;
}
static void
-filter_remove_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+filter_remove_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en;
en = (Evas_Object *)data;
}
static void
-icon_visible_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+icon_visible_changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *en;
en = (Evas_Object*)data;
}
static void
-end_visible_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+end_visible_changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *en;
en = (Evas_Object*)data;
}
static void
-horizontal_bounce_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+horizontal_bounce_changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *en;
Eina_Bool vb;
}
static void
-vertical_bounce_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+vertical_bounce_changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *en;
Eina_Bool hb;
}
void
-test_entry8(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_entry8(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gd, *rect, *en, *lb;
Evas_Object *bt, *en2;
}
static void
-_scrolled_entry_clear(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_scrolled_entry_clear(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_object_text_set(en, "");
}
static void
-_scrolled_entry_save(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_scrolled_entry_save(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *en = data;
elm_entry_file_save(en);
}
static void
-auto_save_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+auto_save_changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *en;
en = (Evas_Object*)data;
}
void
-test_entry_notepad(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_entry_notepad(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bx2, *bt, *np, *ch;
}
void
-test_entry_emoticon(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_entry_emoticon(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *en;
#ifndef ELM_LIB_QUICKLAUNCH
static void
-_print_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_print_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("bubble clicked\n");
}
static void
-my_entry_anchor_bt(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_entry_anchor_bt(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *av = data;
elm_entry_anchor_hover_end(av);
}
static void
-my_entry_anchor_edge_left(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_entry_anchor_edge_left(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("left\n");
}
static void
-my_entry_anchor_edge_right(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_entry_anchor_edge_right(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("right\n");
}
static void
-my_entry_anchor_edge_top(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_entry_anchor_edge_top(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("top\n");
}
static void
-my_entry_anchor_edge_bottom(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_entry_anchor_edge_bottom(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("bottom\n");
}
static void
-my_entry_anchor_scroll(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+my_entry_anchor_scroll(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Coord x, y, w, h, vw, vh;
}
void
-test_entry_anchor(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_entry_anchor(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *en, *sc, *bx, *bb, *ic;
char buf[PATH_MAX];
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
-my_entry_anchor_bt(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_entry_anchor_bt(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *av = data;
elm_entry_anchor_hover_end(av);
}
static void
-_anchor_clicked_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_anchor_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Entry_Anchor_Info *ev = event_info;
printf("anchor click %d: '%s' (%d, %d)\n", ev->button, ev->name, ev->x, ev->y);
}
void
-test_entry_anchor2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_entry_anchor2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *en;
void
-test_external_button(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_external_button(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *ly;
char buf[PATH_MAX];
}
void
-test_external_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_external_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *ly;
char buf[PATH_MAX];
}
void
-test_external_scroller(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_external_scroller(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *ly;
char buf[PATH_MAX];
}
static void
-_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *edje = data;
Evas_Object *bt1, *bt2, *bt3, *pb1, *pb2, *pb3, *pb4, *pb5, *pb6, *pb7;
}
void
-test_external_pbar(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_external_pbar(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *ly, *edje, *bt;
char buf[PATH_MAX];
}
void
-test_external_video(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_external_video(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *ly;
char buf[PATH_MAX];
#define DEFSZ 64
static void
-fac_unrealize(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+fac_unrealize(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
// setting factory content to null deletes it
printf("--------DELETE for factory %p [f: %p]\n", elm_object_content_get(obj), obj);
}
static void
-fac_realize_end(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+fac_realize_end(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *bx, *bt;
}
static void
-fac_realize2(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+fac_realize2(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *bx, *fc;
}
static void
-fac_realize1(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+fac_realize1(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *bx, *fc;
}
void
-test_factory(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_factory(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *sc, *fc;
int i;
#ifndef ELM_LIB_QUICKLAUNCH
static void
my_fileselector_done(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
/* event_info conatin the full path of the selected file
}
static void
-my_fileselector_selected(void *data __UNUSED__,
+my_fileselector_selected(void *data EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
static void
_is_save_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs = data;
printf("Toggle Is save\n");
static void
_folder_only_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs = data;
printf("Toggle Folder only\n");
static void
_expandable_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs = data;
printf("Toggle Expandable\n");
static void
_buttons_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs = data;
printf("Toggle Buttons\n");
static void
_sel_get_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs = data;
printf("Get Selected: %s\n", elm_fileselector_selected_get(fs));
static void
_path_get_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs = data;
printf("Get Path: %s\n", elm_fileselector_path_get(fs));
static void
_mode_cycle_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs = data;
Elm_Fileselector_Mode mode;
}
void
-test_fileselector(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_fileselector(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *fs, *vbox, *hbox, *bt, *sep;
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
static void
_file_chosen(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Object *entry = data;
static void
_inwin_mode_toggle(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs_bt = data;
Eina_Bool value = elm_fileselector_button_inwin_mode_get(fs_bt);
static void
_current_sel_toggle(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs_bt = data;
Eina_Bool value = elm_check_state_get(obj);
static void
_folder_only_toggle(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs_bt = data;
Eina_Bool value = elm_check_state_get(obj);
static void
_expandable_toggle(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs_bt = data;
Eina_Bool value = elm_check_state_get(obj);
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
void
-test_fileselector_button(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_fileselector_button(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *vbox, *hbox, *ic, *bt, *fs_bt, *en, *lb, *bxx;
api_data *api = calloc(1, sizeof(api_data));
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
static void
_file_chosen(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Object *entry = data;
static void
_inwin_mode_toggle(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs_en = data;
Eina_Bool value = elm_fileselector_entry_inwin_mode_get(fs_en);
static void
_folder_only_toggle(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs_en = data;
Evas_Object *ic = elm_object_part_content_get(fs_en, "button icon");
static void
_expandable_toggle(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs_en = data;
Eina_Bool value = elm_fileselector_entry_expandable_get(fs_en);
static void
_disabled_toggle(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs_en = data;
Eina_Bool value = elm_object_disabled_get(fs_en);
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
void
-test_fileselector_entry(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_fileselector_entry(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *vbox, *hbox, *ic, *bt, *fs_en, *en, *lb, *bxx;
api_data *api = calloc(1, sizeof(api_data));
#ifndef ELM_LIB_QUICKLAUNCH
void
-my_fl_1(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_fl_1(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fl = data;
elm_flip_go(fl, ELM_FLIP_ROTATE_Y_CENTER_AXIS);
}
void
-my_fl_2(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_fl_2(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fl = data;
elm_flip_go(fl, ELM_FLIP_ROTATE_X_CENTER_AXIS);
}
void
-my_fl_3(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_fl_3(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fl = data;
elm_flip_go(fl, ELM_FLIP_ROTATE_XZ_CENTER_AXIS);
}
void
-my_fl_4(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_fl_4(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fl = data;
elm_flip_go(fl, ELM_FLIP_ROTATE_YZ_CENTER_AXIS);
}
void
-my_fl_5(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_fl_5(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fl = data;
elm_flip_go(fl, ELM_FLIP_CUBE_LEFT);
}
void
-my_fl_6(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_fl_6(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fl = data;
elm_flip_go(fl, ELM_FLIP_CUBE_RIGHT);
}
void
-my_fl_7(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_fl_7(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fl = data;
elm_flip_go(fl, ELM_FLIP_CUBE_UP);
}
void
-my_fl_8(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_fl_8(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fl = data;
elm_flip_go(fl, ELM_FLIP_CUBE_DOWN);
}
void
-my_fl_front(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_fl_front(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fl = data;
elm_flip_go_to(fl, EINA_TRUE, ELM_FLIP_ROTATE_X_CENTER_AXIS);
}
void
-my_fl_back(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_fl_back(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fl = data;
elm_flip_go_to(fl, EINA_FALSE, ELM_FLIP_ROTATE_X_CENTER_AXIS);
}
void
-test_flip(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_flip(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bx2, *fl, *o, *bt, *ly;
char buf[PATH_MAX];
}
void
-test_flip2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_flip2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *bx, *bx2, *fl, *o, *bt, *tb, *li, *en;
char buf[PATH_MAX];
}
void
-test_flip3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_flip3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bx2, *fl, *fl_f, *fl_b, *o, *bt, *fr;
char buf[PATH_MAX];
static void
-my_fl_go(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_fl_go(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *fl = evas_object_data_get(win, "fl");
}
static void
-my_fl_ch(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_fl_ch(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *fl = evas_object_data_get(win, "fl");
}
void
-test_flip4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_flip4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *fl, *im, *li, *bt, *rd, *rdg;
char buf[PATH_MAX];
}
void
-test_flip5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_flip5(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bx2, *fl, *o, *bt, *ly;
char buf[PATH_MAX];
};
static Slice *
-_slice_new(State *st __UNUSED__, Evas_Object *obj)
+_slice_new(State *st EINA_UNUSED, Evas_Object *obj)
{
Slice *sl;
static void
_slice_apply(State *st, Slice *sl,
- Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__, Evas_Coord w, Evas_Coord h __UNUSED__,
+ Evas_Coord x EINA_UNUSED, Evas_Coord y EINA_UNUSED, Evas_Coord w, Evas_Coord h EINA_UNUSED,
Evas_Coord ox, Evas_Coord oy, Evas_Coord ow, Evas_Coord oh)
{
Evas_Map *m;
}
static void
-_slice_3d(State *st __UNUSED__, Slice *sl, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)
+_slice_3d(State *st EINA_UNUSED, Slice *sl, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)
{
Evas_Map *m = (Evas_Map *)evas_object_map_get(sl->obj);
int i;
}
static void
-_slice_light(State *st __UNUSED__, Slice *sl, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)
+_slice_light(State *st EINA_UNUSED, Slice *sl, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)
{
Evas_Map *m = (Evas_Map *)evas_object_map_get(sl->obj);
int i;
}
static void
-_slice_xyz(State *st __UNUSED__, Slice *sl,
+_slice_xyz(State *st EINA_UNUSED, Slice *sl,
double xx1, double yy1, double zz1,
double xx2, double yy2, double zz2,
double xx3, double yy3, double zz3,
}
static void
-_slice_uv(State *st __UNUSED__, Slice *sl,
+_slice_uv(State *st EINA_UNUSED, Slice *sl,
double u1, double v1,
double u2, double v2,
double u3, double v3,
}
static void
-im_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+im_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
State *st = &state;
Evas_Event_Mouse_Down *ev = event_info;
}
static void
-im_up_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+im_up_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
State *st = &state;
Evas_Event_Mouse_Up *ev = event_info;
}
static void
-im_move_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+im_move_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
State *st = &state;
Evas_Event_Mouse_Move *ev = event_info;
}
void
-test_flip_page(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_flip_page(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *im, *im2, *rc;
char buf[PATH_MAX];
#ifndef ELM_LIB_QUICKLAUNCH
void
-_sel_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_sel_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *it;
}
void
-_unsel_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_unsel_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Object_Item *it;
Evas_Object *fp = data;
}
void
-_last_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_last_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Object_Item *it;
Evas_Object *fp = data;
}
void
-_third_from_end_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_third_from_end_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Object_Item *it;
Evas_Object *fp = data;
}
void
-_underflow_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_underflow_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("underflow!\n");
}
void
-_overflow_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_overflow_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("overflow!\n");
}
void
-slider_change_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+slider_change_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *fl = (Evas_Object *)data;
}
void
-flip_next_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+flip_next_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fp = data;
elm_flipselector_flip_next(fp);
}
void
-flip_prev_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+flip_prev_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fp = data;
elm_flipselector_flip_prev(fp);
}
void
-test_flipselector(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_flipselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
char buf[8];
unsigned int i;
static Elm_Genlist_Item_Class itc1;
-static char *glf_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+static char *glf_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
char buf[256];
snprintf(buf, sizeof(buf), "Item # %i", (int)(uintptr_t)data);
return strdup(buf);
}
-static Evas_Object *glf_content_get(void *data __UNUSED__, Evas_Object *obj, const char *part __UNUSED__)
+static Evas_Object *glf_content_get(void *data EINA_UNUSED, Evas_Object *obj, const char *part EINA_UNUSED)
{
char buf[PATH_MAX];
Evas_Object *ic = elm_icon_add(obj);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
return ic;
}
-static Eina_Bool glf_state_get(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+static Eina_Bool glf_state_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
return EINA_FALSE;
}
-static void glf_del(void *data __UNUSED__, Evas_Object *obj __UNUSED__)
+static void glf_del(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED)
{
}
}
static void
-_del(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_del(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Animator *ani = data;
}
void
-test_floating(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_floating(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl;
int i;
#ifndef ELM_LIB_QUICKLAUNCH
static Eina_Bool
-_event(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *src __UNUSED__, Evas_Callback_Type type, void *event_info)
+_event(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *src EINA_UNUSED, Evas_Callback_Type type, void *event_info)
{
if (type == EVAS_CALLBACK_KEY_DOWN)
printf ("Key Down:");
}
static void
-_on_key_down(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *einfo __UNUSED__)
+_on_key_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *einfo EINA_UNUSED)
{
//Evas_Event_Key_Down *event = einfo;
//printf("%s %p Key %s Parent %p\n", evas_object_type_get(obj),
}
static void
-my_disable(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_disable(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt = data;
elm_object_disabled_set(bt, EINA_TRUE);
}
static void
-my_enable(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_enable(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt = data;
elm_object_disabled_set(bt, EINA_FALSE);
}
static void
-_tb_sel(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_tb_sel(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
printf("tb sel %p\n", obj);
}
void
-test_focus(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_focus(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *tbx, *tbar, *menu;
Elm_Object_Item *tb_it;
#ifndef ELM_LIB_QUICKLAUNCH
static void
-_focus_in(void *data __UNUSED__, Evas *e __UNUSED__, void *event_info)
+_focus_in(void *data EINA_UNUSED, Evas *e EINA_UNUSED, void *event_info)
{
const char *type = evas_object_type_get(event_info);
if ((type) && (!strcmp(type, "elm_widget")))
}
static void
-_focus_out(void *data __UNUSED__, Evas *e __UNUSED__, void *event_info)
+_focus_out(void *data EINA_UNUSED, Evas *e EINA_UNUSED, void *event_info)
{
const char *type = evas_object_type_get(event_info);
if ((type) && (!strcmp(type, "elm_widget")))
}
static void
-_focus_obj(void *data, Evas_Object *o __UNUSED__, void *event_info __UNUSED__)
+_focus_obj(void *data, Evas_Object *o EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *newfocus = data;
const char *type = evas_object_type_get(newfocus);
}
static void
-_focus_layout_part(void *data, Evas_Object *o __UNUSED__, void *event_info __UNUSED__)
+_focus_layout_part(void *data, Evas_Object *o EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *ed = elm_layout_edje_get(data);
void
-test_focus2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_focus2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *ly, *bt, *en, *en1, *bt1, *bt2;
char buf[PATH_MAX];
static Evas_Object *foc = NULL;
static void
-_foc(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_foc(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
foc = obj;
printf("foc -> %p\n", foc);
}
static void
-_unfoc(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_unfoc(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
foc = NULL;
printf("foc -> %p\n", foc);
}
static void
-_add(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_add(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bx = data, *en;
}
static void
-_del(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_del(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
if (foc) evas_object_del(foc);
}
static void
-_hide(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_hide(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
if (foc) evas_object_hide(foc);
}
void
-test_focus3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_focus3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bt, *en;
}
static void
-highlight_enabled_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+highlight_enabled_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
elm_config_focus_highlight_enabled_set(elm_check_state_get(obj));
}
static void
-highlight_animate_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+highlight_animate_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
elm_config_focus_highlight_animate_set(elm_check_state_get(obj));
}
static void
-win_highlight_enabled_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+win_highlight_enabled_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
elm_win_focus_highlight_enabled_set((Evas_Object *)data,
elm_check_state_get(obj));
}
static void
-win_highlight_animate_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+win_highlight_animate_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
elm_win_focus_highlight_animate_set((Evas_Object *)data,
elm_check_state_get(obj));
}
static void
-custom_chain_unset_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+custom_chain_unset_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *c, *child = NULL;
Evas_Object *bx = (Evas_Object *)data;
}
static void
-create_win_bt_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+create_win_bt_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gd, *bt;
}
void
-test_focus4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_focus4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *fr, *bx, *bx2, *tg, *bt, *sp;
Evas_Object *lb, *bt1, *bt2, *bt3, *bt4;
static Elm_Gengrid_Item_Class *gic, *ggic;
Evas_Object *grid_content_get(void *data, Evas_Object *obj, const char *part);
-char *grid_text_get(void *data, Evas_Object *obj __UNUSED__,
- const char *part __UNUSED__);
-Eina_Bool grid_state_get(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- const char *part __UNUSED__);
-void grid_del(void *data __UNUSED__, Evas_Object *obj __UNUSED__);
+char *grid_text_get(void *data, Evas_Object *obj EINA_UNUSED,
+ const char *part EINA_UNUSED);
+Eina_Bool grid_state_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ const char *part EINA_UNUSED);
+void grid_del(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED);
typedef struct _Item_Data
{
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
static int n_current_pic = 0;
static void
-_horizontal_grid(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_horizontal_grid(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *grid = data;
elm_gengrid_horizontal_set(grid, elm_check_state_get(obj));
}
static void
-grid_drag_up(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+grid_drag_up(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("Drag up: %p\n", event_info);
}
static void
-grid_drag_right(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+grid_drag_right(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("Drag right: %p\n", event_info);
}
static void
-grid_drag_down(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+grid_drag_down(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("Drag down: %p\n", event_info);
}
static void
-grid_drag_left(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+grid_drag_left(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("Drag left: %p\n", event_info);
}
static void
-grid_drag_stop(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+grid_drag_stop(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("Drag stop: %p\n", event_info);
}
static void
-grid_selected(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+grid_selected(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("Selected: %p\n", event_info);
}
static void
-grid_double_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+grid_double_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("Double clicked: %p\n", event_info);
}
static void
-grid_longpress(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+grid_longpress(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("longpress %p\n", event_info);
}
static void
-grid_moved(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+grid_moved(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("moved %p\n", event_info);
}
static void
-grid_item_check_changed(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+grid_item_check_changed(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Item_Data *id = data;
id->onoff = elm_check_state_get(obj);
}
char *
-grid_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+grid_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
const Item_Data *id = data;
char buf[256];
}
Eina_Bool
-grid_state_get(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+grid_state_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
return EINA_FALSE;
}
void
-grid_del(void *data __UNUSED__, Evas_Object *obj __UNUSED__)
+grid_del(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED)
{
free(data);
}
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
static void
-always_select_mode_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+always_select_mode_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
api_data *api = data;
if (elm_check_state_get(obj))
}
static void
-multi_select_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+multi_select_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
api_data *api = data;
elm_gengrid_multi_select_set(api->grid, elm_check_state_get(obj));
}
static void
-clear_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+clear_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
api_data *api = data;
elm_gengrid_clear(api->grid);
}
static void
-restore_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+restore_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
api_data *api = data;
elm_box_clear(api->box);
}
static void
-filled_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+filled_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *box = (Evas_Object *)data;
Evas_Object *grid;
}
static void
-filled_bt_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+filled_bt_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *box, *content_box, *grid, *tg;
}
static void
-cursor_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+cursor_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *grid = (Evas_Object *)data;
Elm_Object_Item *item = NULL;
}
static void
-cursor_bt_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+cursor_bt_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *box, *content_box, *hbox, *grid, *tg;
}
static void
-_btn_bring_in_clicked_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_btn_bring_in_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
if (!data) return;
Elm_Object_Item *it = elm_gengrid_selected_item_get(data);
}
static void
-_btn_show_clicked_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_btn_show_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
if (!data) return;
Elm_Object_Item *it = elm_gengrid_selected_item_get(data);
}
void
-test_gengrid(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_gengrid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bt, *bxx, *bx, *tg;
api_data *api = calloc(1, sizeof(api_data));
}
static void
-_before_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_before_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Item_Data *id;
Evas_Object *grid = data;
}
static void
-_sorted_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_sorted_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Item_Data *id;
Evas_Object *grid = data;
}
static void
-_after_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_after_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Item_Data *id;
Evas_Object *grid = data;
}
static void
-_delete_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_delete_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *grid = data;
Eina_List *l, *l2, *l3;
}
static void
-_prepend_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_prepend_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Item_Data *id;
Evas_Object *grid = data;
}
static void
-_append_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_append_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Item_Data *id;
Evas_Object *grid = data;
}
static void
-_size_changed(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_size_changed(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *grid = data;
int size = elm_spinner_value_get(obj);
}
void
-test_gengrid2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_gengrid2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *grid, *bx, *hbx, *bt, *ck;
}
void
-test_gengrid3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_gengrid3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *grid;
static Item_Data id[144];
}
static void
-_item_style_sel_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_item_style_sel_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_gengrid_create(NULL, (12*12), data);
}
}
void
-test_gengrid_item_styles(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_gengrid_item_styles(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *box, *gengrid, *list, *table;
}
static void
-_bring_in2_clicked_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bring_in2_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *grid;
static Item_Data id[5000];
}
static void
-_bring_in1_clicked_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bring_in1_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *grid;
static Item_Data id[5000];
static void
-_show2_clicked_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_show2_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *grid;
static Item_Data id[10000];
}
static void
-_show1_clicked_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_show1_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *grid;
static Item_Data id[10000];
}
void
-test_gengrid4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_gengrid4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bt, *bx;
api_data *api = calloc(1, sizeof(api_data));
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
} Testitem;
static Elm_Genlist_Item_Class *itc1;
-char *gl_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+char *gl_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
char buf[256];
snprintf(buf, sizeof(buf), "Item # %i", (int)(uintptr_t)data);
return strdup(buf);
}
-Evas_Object *gl_content_get(void *data __UNUSED__, Evas_Object *obj, const char *part)
+Evas_Object *gl_content_get(void *data EINA_UNUSED, Evas_Object *obj, const char *part)
{
char buf[PATH_MAX];
Evas_Object *ic = elm_icon_add(obj);
return ic;
}
-static void on_bt_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+static void on_bt_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("button clicked\n");
}
-static void on_ck_changed(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+static void on_ck_changed(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("checkbox changed\n");
}
-Evas_Object *gl_content_full_get(void *data __UNUSED__, Evas_Object *obj, const char *part)
+Evas_Object *gl_content_full_get(void *data EINA_UNUSED, Evas_Object *obj, const char *part)
{
Evas_Object *fr, *bx, *ic, *bt, *ck;
}
-Eina_Bool gl_state_get(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+Eina_Bool gl_state_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
return EINA_FALSE;
}
}
static void
-_move(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_move(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Evas_Object *gl = data;
Evas_Event_Mouse_Move *ev = event_info;
}
static void
-_bt50_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt50_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_genlist_item_bring_in(data, ELM_GENLIST_ITEM_SCROLLTO_IN);
}
static void
-_bt1500_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt1500_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_genlist_item_bring_in(data, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE);
}
static void
-_gl_selected(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_gl_selected(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("selected: %p\n", event_info);
}
static void
-_gl_double_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_gl_double_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("double clicked: %p\n", event_info);
}
static void
-_gl_longpress(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_gl_longpress(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("longpress %p\n", event_info);
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
void
-test_genlist(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl, *bt_50, *bt_1500, *bx, *bxx, *bt;
Evas_Object *over;
/*************/
static void
-my_gl_clear(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_clear(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *gl = data;
elm_genlist_clear(gl);
}
static void
-my_gl_add(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_add(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *gl = data;
static int i = 0;
}
static void
-my_gl_insert_before(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_insert_before(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *gl = data;
static int i = 0;
}
static void
-my_gl_insert_after(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_insert_after(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *gl = data;
static int i = 0;
}
static void
-my_gl_del(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_del(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *gl = data;
Elm_Object_Item *gli = elm_genlist_selected_item_get(gl);
}
static void
-my_gl_disable(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_disable(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *gl = data;
Elm_Object_Item *gli = elm_genlist_selected_item_get(gl);
}
static void
-my_gl_update_all(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_update_all(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *gl = data;
int i = 0;
}
static void
-my_gl_first(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_first(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *gl = data;
Elm_Object_Item *gli = elm_genlist_first_item_get(gl);
}
static void
-my_gl_last(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_last(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *gl = data;
Elm_Object_Item *gli = elm_genlist_last_item_get(gl);
}
static Eina_Bool
-my_gl_flush_delay(void *data __UNUSED__)
+my_gl_flush_delay(void *data EINA_UNUSED)
{
elm_cache_all_flush();
return ECORE_CALLBACK_CANCEL;
}
static void
-my_gl_flush(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_flush(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
ecore_timer_add(1.2, my_gl_flush_delay, NULL);
}
static void
-_genlist_del_cb(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_genlist_del_cb(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
if (!data) return;
}
void
-test_genlist2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *gl, *bx, *bx2, *bx3, *bt;
Elm_Object_Item *gli[10];
static Elm_Genlist_Item_Class itc2;
-char *gl2_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+char *gl2_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
const Testitem *tit = data;
char buf[256];
return ic;
}
-Eina_Bool gl2_state_get(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+Eina_Bool gl2_state_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
return EINA_FALSE;
}
static void
-my_gl_update(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_update(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Testitem *tit = data;
tit->mode++;
}
static void
-my_gl_labels_update(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_labels_update(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Testitem *tit = data;
tit->mode++;
}
static void
-my_gl_contents_update(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_contents_update(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Testitem *tit = data;
tit->mode++;
}
void
-test_genlist3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl, *bx, *bx2, *bt;
static Testitem tit[3];
/*************/
static void
-my_gl_item_check_changed(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+my_gl_item_check_changed(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Testitem *tit = data;
tit->onoff = elm_check_state_get(obj);
static Elm_Genlist_Item_Class *itc3;
-char *gl3_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+char *gl3_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
const Testitem *tit = data;
char buf[256];
return NULL;
}
-Eina_Bool gl3_state_get(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+Eina_Bool gl3_state_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
return EINA_FALSE;
}
-static void _realized(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *ei)
+static void _realized(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ei)
{
Evas_Object *check;
Eina_List *items;
}
void
-test_genlist4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl, *bx, *bx2, *bt;
static Testitem tit[3];
/*************/
static void
-my_gl_item_check_changed2(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+my_gl_item_check_changed2(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Testitem *tit = data;
tit->onoff = elm_check_state_get(obj);
static Elm_Genlist_Item_Class itc5;
-char *gl5_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part)
+char *gl5_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part)
{
const Testitem *tit = data;
char buf[256];
return NULL;
}
-Eina_Bool gl5_state_get(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+Eina_Bool gl5_state_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
return EINA_FALSE;
}
static void
-item_drag_up(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+item_drag_up(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
INF("drag up");
}
static void
-item_drag_down(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+item_drag_down(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
INF("drag down");
}
static void
-item_drag_left(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+item_drag_left(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
INF("drag left");
}
static void
-item_drag_right(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+item_drag_right(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
INF("drag right");
}
static void
-scroll_top(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+scroll_top(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
INF("Top edge!");
}
static void
-scroll_bottom(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+scroll_bottom(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
INF("Bottom edge!");
}
static void
-scroll_left(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+scroll_left(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
INF("Left edge!");
}
static void
-scroll_right(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+scroll_right(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
INF("Right edge!");
}
static void
-item_drag(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+item_drag(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
INF("drag");
}
static void
-item_drag_stop(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+item_drag_stop(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
INF("drag stop");
}
static void
-item_longpress(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+item_longpress(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
INF("longpress");
}
void
-test_genlist5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist5(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl, *bx, *bx2, *bt;
static Testitem tit[3];
static Elm_Genlist_Item_Class *itc4;
static void
-gl4_sel(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+gl4_sel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
int depth = elm_genlist_item_expanded_depth_get(glit);
}
static void
-gl4_exp(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+gl4_exp(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
Evas_Object *gl = elm_object_item_widget_get(glit);
}
static void
-gl4_con(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+gl4_con(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
elm_genlist_item_subitems_clear(glit);
}
static void
-gl4_exp_req(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+gl4_exp_req(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
elm_genlist_item_expanded_set(glit, EINA_TRUE);
}
static void
-gl4_con_req(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+gl4_con_req(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
elm_genlist_item_expanded_set(glit, EINA_FALSE);
}
-char *gl4_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+char *gl4_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
char buf[256];
snprintf(buf, sizeof(buf), "Item mode %i", (int)(uintptr_t)data);
return strdup(buf);
}
-Evas_Object *gl4_content_get(void *data __UNUSED__, Evas_Object *obj, const char *part)
+Evas_Object *gl4_content_get(void *data EINA_UNUSED, Evas_Object *obj, const char *part)
{
char buf[PATH_MAX];
if (!strcmp(part, "elm.swallow.icon"))
return NULL;
}
-Eina_Bool gl4_state_get(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+Eina_Bool gl4_state_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
return EINA_FALSE;
}
-void gl4_del(void *data __UNUSED__, Evas_Object *obj __UNUSED__)
+void gl4_del(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED)
{
printf("item deleted.\n");
}
static void
-_tree_effect_enable_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_tree_effect_enable_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_genlist_tree_effect_enabled_set(data, EINA_TRUE);
}
static void
-_tree_effect_disable_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_tree_effect_disable_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_genlist_tree_effect_enabled_set(data, EINA_FALSE);
}
void
-test_genlist6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist6(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl, *bx, *fr, *bx2, *rd1, *rd2;
}
static void
-test_genlist7_back_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist7_back_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
struct genlist7_data *info = data;
if (!info) return;
}
static void
-test_genlist7_swipe(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+test_genlist7_swipe(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
struct genlist7_data *info = data;
Evas_Object *box, *entry, *button;
}
void
-test_genlist7(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist7(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl, *naviframe;
static struct genlist7_data info;
static Elm_Genlist_Item_Class *itc_group;
-char *gl8_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+char *gl8_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
char buf[256];
snprintf(buf, sizeof(buf), "Group Index # %i (Item # %i)", (int)((uintptr_t)data / 10), (int)(uintptr_t)data);
}
static void
-_bt_show_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_show_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_genlist_item_show(data, ELM_GENLIST_ITEM_SCROLLTO_TOP);
}
static void
-_bt_bring_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_bring_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_genlist_item_bring_in(data, ELM_GENLIST_ITEM_SCROLLTO_TOP);
}
void
-test_genlist8(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist8(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl, *bt[8], *bx, *bx2, *bx3;
Elm_Object_Item *gli = NULL, *git = NULL;
/*************/
static void
-gl9_exp(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+gl9_exp(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
Evas_Object *gl = elm_object_item_widget_get(glit);
}
static void
-gl9_con(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+gl9_con(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
elm_genlist_item_subitems_clear(glit);
}
static void
-gl9_exp_req(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+gl9_exp_req(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
elm_genlist_item_expanded_set(glit, EINA_TRUE);
}
static void
-gl9_con_req(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+gl9_con_req(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
elm_genlist_item_expanded_set(glit, EINA_FALSE);
}
void
-test_genlist9(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist9(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl, *bx;
Elm_Object_Item *git;
static Elm_Genlist_Item_Class itc10;
static char *mode_type[] = { "slide", "rotate" };
-char *gl10_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part)
+char *gl10_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part)
{
char buf[256];
if (!strcmp(part, "elm.text.mode"))
return strdup(buf);
}
-Evas_Object *gl10_content_get(void *data __UNUSED__, Evas_Object *obj, const char *part)
+Evas_Object *gl10_content_get(void *data EINA_UNUSED, Evas_Object *obj, const char *part)
{
char buf[PATH_MAX];
Evas_Object *ic = elm_icon_add(obj);
}
static void
-_gl_sel10(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_gl_sel10(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
if (!data) return;
int v = elm_radio_value_get(data);
}
static void
-_my_gl_mode_right(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+_my_gl_mode_right(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
if (!data) return;
int v = elm_radio_value_get(data);
}
static void
-_my_gl_mode_left(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+_my_gl_mode_left(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
if (!data) return;
int v = elm_radio_value_get(data);
}
static void
-_my_gl_mode_cancel(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_my_gl_mode_cancel(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
fprintf(stderr, "drag\n");
if (!data) return;
}
void
-test_genlist10(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist10(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *fr, *bx, *bx2, *rd, *rdg, *gl;
int i;
/*************/
static void
-_reorder_tg_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_reorder_tg_changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
elm_genlist_reorder_mode_set(data, elm_check_state_get(obj));
}
* the item(*item) had been moved
*
*/
-static void gl_moved(Evas_Object *data __UNUSED__, Evas_Object *obj __UNUSED__, Elm_Object_Item *item __UNUSED__)
+static void gl_moved(Evas_Object *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Elm_Object_Item *item EINA_UNUSED)
{
// if needed, add application logic.
}
* the item(*item) had been moved after the given relative item(*rel_item) in list.
*
*/
-static void gl_moved_after(Evas_Object *data __UNUSED__, Evas_Object *obj __UNUSED__, Elm_Object_Item *item __UNUSED__)
+static void gl_moved_after(Evas_Object *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Elm_Object_Item *item EINA_UNUSED)
{
// if needed, add application logic.
Elm_Object_Item *it;
* the item(*item) had been moved before the given relative item(*rel_item) in list.
*
*/
-static void gl_moved_before(Evas_Object *data __UNUSED__, Evas_Object *obj __UNUSED__, Elm_Object_Item *item __UNUSED__)
+static void gl_moved_before(Evas_Object *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Elm_Object_Item *item EINA_UNUSED)
{
// if needed, add application logic.
Elm_Object_Item *it;
}
void
-test_genlist11(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist11(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *fr, *lb, *bx, *tg, *gl;
int i;
/*************/
-char *gl12_text_get(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+char *gl12_text_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
return strdup("Enlightenment is not just a window manager for Linux/X11 and others, but also a whole suite of libraries to help you create beautiful user interfaces with much less work than doing it the old fashioned way and fighting with traditional toolkits, not to mention a traditional window manager. It covers uses from small mobile devices like phones all the way to powerful multi-core desktops (which are the primary development environment).");
}
void
-test_genlist12(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist12(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *gl;
int i;
}
void
-test_genlist13(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist13(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Object_Item *pi[6];
Evas_Object *win, *bx, *gl; int i, base, idx[3] = {1, 10, 15};
/*************/
static void
-my_gl_insert_before_rel(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_insert_before_rel(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *gl = data;
static int i = 1000;
}
static void
-my_gl_insert_after_rel(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_gl_insert_after_rel(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *gl = data;
static int i = 0;
}
void
-test_genlist14(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist14(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Object_Item *pi[6];
Evas_Object *win, *bx, *bx2, *bt, *gl;
/*************/
-static void _edit_icon_clicked_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+static void _edit_icon_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Object_Item *item = (Elm_Object_Item *)data;
elm_object_item_del(item);
}
-char *gl15_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+char *gl15_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
const Testitem *tit = data;
char buf[256];
}
static void
-gl15_sel(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+gl15_sel(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Testitem *tit = data;
if (elm_genlist_decorate_mode_get(obj))
}
static void
-gl15_deco_all_mode(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+gl15_deco_all_mode(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_genlist_decorate_mode_set(data, EINA_TRUE);
elm_genlist_select_mode_set(data, ELM_OBJECT_SELECT_MODE_ALWAYS);
}
static void
-gl15_normal_mode(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+gl15_normal_mode(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_genlist_decorate_mode_set(data, EINA_FALSE);
elm_genlist_select_mode_set(data, ELM_OBJECT_SELECT_MODE_DEFAULT);
}
-void gl15_del(void *data __UNUSED__, Evas_Object *obj __UNUSED__)
+void gl15_del(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED)
{
Testitem *ti = data;
printf("item deleted. (# %d)\n", ti->mode);
static Elm_Genlist_Item_Class *itc15;
void
-test_genlist15(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist15(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bx2, *bt, *gl;
int i;
/*************/
-static void _flip_icon_clicked_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+static void _flip_icon_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
const Testitem *tit = data;
elm_genlist_item_flip_set(tit->item, EINA_TRUE);
}
-char *gl16_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+char *gl16_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
const Testitem *tit = data;
char buf[256];
}
void
-test_genlist16(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist16(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *gl;
int i;
static Elm_Genlist_Item_Class *itc17;
char *
-gl17_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part)
+gl17_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part)
{
const Testitem *tit = data;
char buf[256];
}
void
-_decorate_all_set_btn_clicked_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_decorate_all_set_btn_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
if (!data) return;
}
void
-_decorate_all_unset_btn_clicked_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_decorate_all_unset_btn_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
if (evas_object_data_get(data, "tree_effect"))
elm_genlist_tree_effect_enabled_set(data, EINA_TRUE);
}
void
-test_genlist17(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist17(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *fr1, *fr2, *bx, *bx2, *rdg = NULL, *gl;
int i;
}
static void
-gl18_sel(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+gl18_sel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
int depth = elm_genlist_item_expanded_depth_get(glit);
}
static void
-gl18_del(void *data, Evas_Object *obj __UNUSED__)
+gl18_del(void *data, Evas_Object *obj EINA_UNUSED)
{
free(data);
}
static void
-gl18_exp(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+gl18_exp(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
Evas_Object *gl = elm_object_item_widget_get(glit);
}
static void
-gl18_con(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+gl18_con(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Object_Item *glit = event_info;
elm_genlist_item_subitems_clear(glit);
}
static void
-gl18_exp_req(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
+gl18_exp_req(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Object_Item *glit = event_info;
}
static void
-gl18_con_req(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
+gl18_con_req(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Object_Item *glit = event_info;
}
void
-test_genlist18(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_genlist18(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl, *bx, *fr1, *fr2, *bx2, *rdg;
Testitem *tit = NULL;
}
void
-test_genlist19(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist19(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl, *bt_50, *bt_1500, *bx, *bxx, *bt;
Evas_Object *over;
static const char *_gl20_object_names[] = {"None", "Square", "Button", "Check", "Box"};
static char *
-gl20_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+gl20_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
char buf[256];
char op = (uintptr_t)data % 100;
}
static void
-gl20_focus_check_changed(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+gl20_focus_check_changed(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Eina_Bool nextstate = !elm_genlist_focus_on_selection_get(data);
gl20_focus_on_selection_set(data, obj, nextstate);
}
static void
-gl20_focus_animate_check_changed(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+gl20_focus_animate_check_changed(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
elm_win_focus_highlight_animate_set((Evas_Object *)data,
elm_check_state_get(obj));
}
void
-test_genlist20(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_genlist20(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl, *bx, *bxx, *chk;
unsigned lhand, rhand;
}
static void
-_item_style_sel_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info)
+_item_style_sel_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Object *gl = evas_object_data_get(obj, "genlist");
if (gl)
}
void
-test_genlist_item_styles(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_genlist_item_styles(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *box, *gl, *list, *table, *check;
/* Zoom out animation */
static void
-zoom_out_animation_operation(void *_po, Elm_Transit *transit __UNUSED__,
+zoom_out_animation_operation(void *_po, Elm_Transit *transit EINA_UNUSED,
double progress)
{
Photo_Object *po = (Photo_Object *) _po;
}
static void
-zoom_out_animation_end(void *_po, Elm_Transit *transit __UNUSED__)
+zoom_out_animation_end(void *_po, Elm_Transit *transit EINA_UNUSED)
{
Photo_Object *po = (Photo_Object *) _po;
}
static void
-_win_del_req(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_win_del_req(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Photo_Object **photo_array = (Photo_Object **) data;
}
void
-test_gesture_layer(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_gesture_layer(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Coord w, h;
Evas_Object *win, *bg;
}
static void
-my_win_del(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_win_del(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{ /* called when my_win_main is requested to be deleted */
_infra_data_free(data);
}
}
static Evas_Event_Flags
-zoom_abort(void *data , void *event_info __UNUSED__)
+zoom_abort(void *data , void *event_info EINA_UNUSED)
{
printf("zoom abort\n");
_color_and_icon_set(data, ZOOM_NAME, MAX_ZOOM, MAX_ZOOM, ABORT_COLOR);
}
static Evas_Event_Flags
-rotate_abort(void *data , void *event_info __UNUSED__)
+rotate_abort(void *data , void *event_info EINA_UNUSED)
{
_color_and_icon_set(data, ROTATE_NAME, MAX_ROTATE, MAX_ROTATE, ABORT_COLOR);
printf("rotate abort\n");
}
void
-test_gesture_layer2(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_gesture_layer2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *tb, *lb, *bx;
Evas_Object *r; /* Gesture layer transparent object */
/* Zoom momentum animation */
static void
-zoom_momentum_animation_operation(void *_po, Elm_Transit *transit __UNUSED__,
+zoom_momentum_animation_operation(void *_po, Elm_Transit *transit EINA_UNUSED,
double progress)
{
Photo_Object *po = (Photo_Object *) _po;
}
static void
-zoom_momentum_animation_end(void *_po, Elm_Transit *transit __UNUSED__)
+zoom_momentum_animation_end(void *_po, Elm_Transit *transit EINA_UNUSED)
{
Photo_Object *po = (Photo_Object *) _po;
po->base_zoom = po->zoom;
}
static void
-_win_del_req(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_win_del_req(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Photo_Object **photo_array = (Photo_Object **) data;
}
void
-test_gesture_layer3(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_gesture_layer3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Coord w, h;
Evas_Object *win, *bg;
static void
_on_done(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ecore_idler_add(_quit_idler, data);
}
static void
_on_direct(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_glview_mode_set(data, 0
| ELM_GLVIEW_ALPHA
static void
_on_indirect(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_glview_mode_set(data, 0
| ELM_GLVIEW_ALPHA
}
static void
-_del(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_del(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Animator *ani = evas_object_data_get(obj, "ani");
ecore_animator_del(ani);
}
static void
-_key_down(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info)
+_key_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Event_Key_Down *ev;
ev = (Evas_Event_Key_Down *)event_info;
}
static void
-_mouse_down(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_mouse_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
GLData *gld = evas_object_data_get(obj, "gld");
gld->mouse_down = 1;
}
static void
-_mouse_move(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_mouse_move(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Event_Mouse_Move *ev;
ev = (Evas_Event_Mouse_Move *)event_info;
}
static void
-_mouse_up(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_mouse_up(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
GLData *gld = evas_object_data_get(obj, "gld");
gld->mouse_down = 0;
}
void
-test_glview(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_glview(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx0, *bx, *bt, *gl;
Ecore_Animator *ani;
}
static void
-_on_done(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_on_done(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_del((Evas_Object*)data);
}
static void
-_del(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_del(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Animator *ani = evas_object_data_get(obj, "ani");
ecore_animator_del(ani);
void
-test_glview_simple(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_glview_simple(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bt, *gl;
Ecore_Animator *ani;
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
}
static void
-_ch_grid(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_ch_grid(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
int x, y, w, h;
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
void
-test_grid(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_grid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gd, *bt, *rc, *en;
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
-my_hover_bt(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_hover_bt(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *hv = data;
}
static void
-_top_bt_clicked(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_top_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *hv = (Evas_Object *)data;
elm_hover_dismiss(hv);
}
void
-test_hover(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_hover(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *bx, *bt, *hv, *ic;
char buf[PATH_MAX];
}
void
-test_hover2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_hover2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *bx, *bt, *hv, *ic;
char buf[PATH_MAX];
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
static void
-_hoversel_clicked_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_hoversel_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("Hover button is clicked and 'clicked' callback is called.\n");
}
static void
-_hoversel_selected_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
+_hoversel_selected_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info)
{
printf("'selected' callback is called. (selected item : %p)\n", event_info);
}
static void
-_hoversel_dismissed_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_hoversel_dismissed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("'dismissed' callback is called.\n");
}
void
-test_hoversel(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_hoversel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bt, *ic, *bxx, *hoversel;
char buf[PATH_MAX];
#ifndef ELM_LIB_QUICKLAUNCH
static void
-aspect_fixed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+aspect_fixed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ic = (Evas_Object *)data;
elm_image_aspect_fixed_set(ic, elm_check_state_get(obj));
}
static void
-fill_outside_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+fill_outside_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ic = (Evas_Object *)data;
elm_image_fill_outside_set(ic, elm_check_state_get(obj));
}
static void
-smooth_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+smooth_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *ic = (Evas_Object *)data;
elm_image_smooth_set(ic, elm_check_state_get(obj));
}
static void
-bt_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+bt_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *ic;
char buf[PATH_MAX];
}
void
-test_icon(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_icon(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *box, *content_box, *hbox, *tg, *bt;
win = elm_win_util_standard_add("icon test", "Icon Test");
}
static void
-icon_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+icon_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("clicked!\n");
}
void
-test_icon_transparent(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_icon_transparent(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *ic;
char buf[PATH_MAX];
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
-icon_clicked(void *data , Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+icon_clicked(void *data , Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *ic;
ic = data;
}
void
-test_icon_animated(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_icon_animated(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *ic;
char buf[PATH_MAX];
static Elm_Genlist_Item_Class *it_desk = NULL;
static char *
-desk_gl_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+desk_gl_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
#ifdef ELM_EFREET
Efreet_Desktop *d = (Efreet_Desktop *)data;
#endif
}
static void
-desk_gl_del(void *data, Evas_Object *obj __UNUSED__)
+desk_gl_del(void *data, Evas_Object *obj EINA_UNUSED)
{
#ifdef ELM_EFREET
Efreet_Desktop *d = (Efreet_Desktop *)data;
#ifdef ELM_EFREET
static void
-desktop_sel(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+desktop_sel(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Efreet_Desktop *d = data;
if (!d) return;
#endif
void
-test_icon_desktops(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_icon_desktops(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl;
#ifdef ELM_EFREET
};
static void
-my_im_ch(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_im_ch(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *im = evas_object_data_get(win, "im");
}
void
-test_image(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_image(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *box, *im, *rd, *rdg = NULL;
int i;
}
void
-test_remote_image(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_remote_image(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *box, *im, *rd, *rdg = NULL;
int i;
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
}
static Elm_Genlist_Item_Class itci;
-char *gli_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+char *gli_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
char buf[256];
int j = (uintptr_t)data;
}
void
-_index_delay_changed_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_index_delay_changed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
// called on a change but delayed in case multiple changes happen in a
// short timespan
}
void
-_index_changed_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_index_changed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
// this is called on every change, no matter how often
// elm_genlist_item_bring_in(event_info);
}
void
-_index_selected_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_index_selected_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
// called on final select
elm_genlist_item_bring_in(elm_object_item_data_get(event_info),
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
static void
-id_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+id_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("Current Index : %s\n", elm_index_item_letter_get((const Elm_Object_Item *)event_info));
}
static void
_omit_check_changed_cb(void *data, Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Object *id = data;
Eina_Bool omit = elm_check_state_get(obj);
}
void
-test_index(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_index(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bxx, *gl, *id, *bt, *tb, *ck;
Elm_Object_Item *glit;
} Test_Index2_Elements;
void
-test_index2_del(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_index2_del(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
/* FIXME it won't be called if elm_test main window is closed */
free(data);
}
void
-test_index2_it_add(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_index2_it_add(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Test_Index2_Elements *gui = data;
Elm_Object_Item *list_it;
}
void
-test_index2_it_del(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+test_index2_it_del(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Test_Index2_Elements *gui = data;
const char *label, *label_next;
}
void
-test_index2_id_changed(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+test_index2_id_changed(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
elm_list_item_show(elm_object_item_data_get(event_info));
}
void
-test_index2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_index2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *box, *bt;
Test_Index2_Elements *gui;
/***** Index Horizontal Mode ******/
void
-_index_list_changed_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
+_index_list_changed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info)
{
elm_list_item_bring_in(elm_object_item_data_get(event_info));
}
void
-test_index_horizontal(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_index_horizontal(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *list, *id, *tb;
Elm_Object_Item *lit;
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
void
-test_inwin(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_inwin(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *inwin, *lb, *bxx, *bt;
api_data *api = calloc(1, sizeof(api_data));
}
void
-test_inwin2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_inwin2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *inwin, *lb;
};
void
-test_label(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_label(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *lb;
}
static void
-_cb_size_radio_changed(void *data, Evas_Object *obj, void *event __UNUSED__)
+_cb_size_radio_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)
{
Evas_Object *lb = (Evas_Object *)data;
int style = elm_radio_value_get((Evas_Object *)obj);
}
static void
-_change_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_change_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *lb = (Evas_Object *)data;
double val = elm_slider_value_get(obj);
}
void
-test_label2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_label2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gd, *rect, *lb, *rd, *rdg, *sl;
#ifndef ELM_LIB_QUICKLAUNCH
static void
-mode_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+mode_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *mb;
}
static void
-full_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+full_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
elm_win_fullscreen_set(win, !elm_win_fullscreen_get(win));
}
static void
-alpha_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+alpha_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *mb;
}
static void
-smooth_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+smooth_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *mb;
}
static void
-close_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+close_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_del(data);
}
}
static void
-ic_del_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+ic_del_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Timer *tim;
}
static void
-ic_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info)
+ic_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
Ecore_Timer *tim;
}
static void
-ic_up_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info)
+ic_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
Ecore_Timer *tim;
}
static void
-ic_move_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info)
+ic_move_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Event_Mouse_Move *ev = event_info;
if (evas_object_data_get(obj, "dragging"))
}
void
-test_launcher(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_launcher(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *sc, *tb, *pad, *bt, *ic, *lb, *tb2, *mb, *ck, *bx, *bx2;
int i, j, k, n, m;
}
void
-test_launcher2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_launcher2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *sc, *bt, *tb2, *mb, *ck, *bx, *ly;
int k;
}
static void
-l3_mode_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+l3_mode_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *mb;
}
static void
-l3_full_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+l3_full_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
elm_win_fullscreen_set(win, !elm_win_fullscreen_get(win));
}
static void
-l3_alpha_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+l3_alpha_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *mb;
}
static void
-l3_smooth_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+l3_smooth_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *mb;
}
static void
-l3_hidden_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+l3_hidden_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *mb;
}
static void
-l3_close_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+l3_close_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_del(data);
}
}
static void
-l3_ic_del_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+l3_ic_del_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Timer *tim;
}
static void
-l3_ic_down_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info)
+l3_ic_down_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
Ecore_Timer *tim;
}
static void
-l3_ic_up_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info)
+l3_ic_up_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
Ecore_Timer *tim;
}
static void
-l3_ic_move_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info)
+l3_ic_move_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Event_Mouse_Move *ev = event_info;
Evas_Object *ly2;
}
void
-test_launcher3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_launcher3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *sc, *tb, *pad, *bt, *ic, *tb2, *mb, *ck, *bx, *bx2, *ly, *ly2;
int i, j, k, n, m;
typedef enum _api_state api_state;
static void
-_clicked_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
elm_object_part_text_set(data, "text", elm_object_text_get(obj));
}
void
-test_layout(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_layout(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *box, *ly, *bt;
char buf[PATH_MAX];
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
void
-test_layout2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_layout2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *box, *bt, *ly, *lb;
api_data *api = calloc(1, sizeof(api_data));
}
static void
-_api_bt_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_api_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
static void
my_show_it(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_list_item_show(data);
}
static void
-scroll_top(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+scroll_top(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("Top edge!\n");
}
static void
-scroll_bottom(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+scroll_bottom(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("Bottom edge!\n");
}
static void
-scroll_left(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+scroll_left(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("Left edge!\n");
}
static void
-scroll_right(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+scroll_right(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("Right edge!\n");
}
static void
-_cleanup_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
void
-test_list(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_list(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *li, *ic, *ic2, *bx, *tb2, *bt, *bxx;
char buf[PATH_MAX];
}
void
-test_list_horizontal(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_list_horizontal(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *li, *ic, *ic2, *bx, *tb2, *bt;
char buf[PATH_MAX];
static void
my_li2_clear(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_list_clear(data);
}
static void
-my_li2_sel(void *data __UNUSED__,
+my_li2_sel(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Object_Item *list_it = elm_list_selected_item_get(obj);
elm_list_item_selected_set(list_it, 0);
}
void
-test_list2(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_list2(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *li, *ic, *ic2, *bx, *bx2, *bt;
char buf[PATH_MAX];
/***********/
static void
-_bt_clicked(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_bt_clicked(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("button was clicked\n");
}
static void
-_it_clicked(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_it_clicked(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("item was clicked\n");
if (!data) return;
}
void
-test_list3(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_list3(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *li, *ic, *ic2, *bx;
char buf[PATH_MAX];
static void
test_list4_back_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
struct Pginfo *info = data;
if (!info) return;
static void
test_list4_swipe(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Object *box, *entry, *button;
}
void
-test_list4(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_list4(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *li, *ic, *ic2, *naviframe;
static struct Pginfo info = {NULL, NULL};
static void
test_list5_item_del(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_object_item_del(data);
}
static void
-test_list5_swipe(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+test_list5_swipe(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Object *button;
}
void
-test_list5(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_list5(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *li;
static struct list5_data_cb info;
}
static void
-_first_bt_clicked(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_first_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
char str[128];
Evas_Object *li = data, *lb;
}
static void
-_prev_bt_clicked(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_prev_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
char str[128];
Evas_Object *li = data, *lb;
}
static void
-_next_bt_clicked(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_next_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
char str[128];
Evas_Object *li = data, *lb;
}
static void
-_last_bt_clicked(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_last_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
char str[128];
Evas_Object *li = data, *lb;
}
void
-test_list6(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_list6(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *gd, *bt, *li, *lb;
}
static void
-_it_clicked_cb(void *data __UNUSED__, Evas_Object *li,
- void *event_info __UNUSED__)
+_it_clicked_cb(void *data EINA_UNUSED, Evas_Object *li,
+ void *event_info EINA_UNUSED)
{
Elm_Object_Item *lit = elm_list_selected_item_get(li);
printf("Item clicked. %s is selected\n", elm_object_item_text_get(lit));
}
void
-test_list7(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_list7(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *li;
char buf[PATH_MAX];
}
static void
-test_list8_focus_check_changed(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+test_list8_focus_check_changed(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Eina_Bool nextstate = !elm_list_focus_on_selection_get(data);
test_list8_focus_on_selection_set(data, obj, nextstate);
}
static void
-test_list8_focus_animate_check_changed(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+test_list8_focus_animate_check_changed(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
elm_win_focus_highlight_animate_set((Evas_Object *)data,
elm_check_state_get(obj));
}
void
-test_list8(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_list8(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
test_list_focus("list-focus", "List Focus", EINA_FALSE);
}
void
-test_list9(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_list9(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
test_list_focus("list-focus-horizontal", "List Focus Horizontal", EINA_TRUE);
}
void
-test_list_separator(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_list_separator(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *li, *ic, *ic2, *bx, *bxx;
char buf[PATH_MAX];
#ifndef ELM_LIB_QUICKLAUNCH
static void
-_click_me(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_click_me(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
fputs(":-)\n", stderr);
}
void
-test_main_menu(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_main_menu(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *menu, *label, *bx;
Elm_Object_Item *menu_it, *menu_it1;
static void
#ifdef ELM_EMAP
-my_map_gpx_fileselector_done(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+my_map_gpx_fileselector_done(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
#else
-my_map_gpx_fileselector_done(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+my_map_gpx_fileselector_done(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
#endif
{
const char *selected = event_info;
}
static void
-_overlay_hide(void *data, Evas_Object *obj __UNUSED__, void *ev __UNUSED__)
+_overlay_hide(void *data, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
{
elm_map_overlay_hide_set(data, EINA_TRUE);
}
static void
-_overlay_pause(void *data, Evas_Object *obj __UNUSED__, void *ev __UNUSED__)
+_overlay_pause(void *data, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
{
elm_map_overlay_paused_set(data, EINA_TRUE);
}
static void
-_overlay_unpause(void *data, Evas_Object *obj __UNUSED__, void *ev __UNUSED__)
+_overlay_unpause(void *data, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
{
elm_map_overlay_paused_set(data, EINA_FALSE);
}
static void
-_overlay_show(void *data, Evas_Object *obj __UNUSED__, void *ev __UNUSED__)
+_overlay_show(void *data, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
{
elm_map_overlay_show(data);
}
}
static void
-_map_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("clicked\n");
}
static void
-_map_clicked_double(void *data __UNUSED__, Evas_Object *obj, void *event_info)
+_map_clicked_double(void *data EINA_UNUSED, Evas_Object *obj, void *event_info)
{
printf("clicked,double\n");
double lon, lat;
}
static void
-_map_press(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_press(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("press\n");
}
static void
-_map_longpressed(void *data __UNUSED__, Evas_Object *obj, void *event_info)
+_map_longpressed(void *data EINA_UNUSED, Evas_Object *obj, void *event_info)
{
if (!event_info) return;
double lon, lat;
}
static void
-_map_scroll(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_map_scroll(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
double lon, lat;
elm_map_region_get(obj, &lon, &lat);
}
static void
-_map_drag_start(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_drag_start(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("scroll,drag,start\n");
evas_object_smart_callback_del(data, "longpressed", _map_longpressed);
}
static void
-_map_drag_stop(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_drag_stop(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("scroll,drag,stop\n");
evas_object_smart_callback_add(data, "longpressed", _map_longpressed, data);
}
static void
-_map_anim_start(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_anim_start(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("scroll,anim,start\n");
}
static void
-_map_anim_stop(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_anim_stop(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("scroll,anim,stop\n");
}
static void
-_map_zoom_start(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_zoom_start(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("zoom,start\n");
}
static void
-_map_zoom_stop(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_zoom_stop(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("zoom,stop\n");
_overlays_num_check(obj);
}
static void
-_map_zoom_change(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_zoom_change(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("zoom,change\n");
_bubble_parking_follow(obj);
}
static void
-_map_loaded(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_loaded(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("loaded\n");
}
static void
-_map_tile_load(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_tile_load(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("tile,load\n");
}
static void
-_map_tile_loaded(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_tile_loaded(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
int try_num, finish_num;
elm_map_tile_load_status_get(data, &try_num, &finish_num);
}
static void
-_map_tile_loaded_fail(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_tile_loaded_fail(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
int try_num, finish_num;
elm_map_tile_load_status_get(data, &try_num, &finish_num);
}
static void
-_map_route_load(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_route_load(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("route,load\n");
}
static void
-_map_route_loaded(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_map_route_loaded(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
printf("route,loaded\n");
double d;
}
static void
-_map_route_loaded_fail(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_route_loaded_fail(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("route,loaded,fail\n");
}
static void
-_map_name_load(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_name_load(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("name,load\n");
}
static void
-_map_name_loaded(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_name_loaded(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("name,loaded\n");
if (!name) return;
}
static void
-_map_name_loaded_fail(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_map_name_loaded_fail(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("name,loaded,fail\n");
}
static void
-_src_set(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_src_set(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Map_Source *s = data;
}
static void
-_show_urmatt(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_show_urmatt(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_map_zoom_mode_set(data, ELM_MAP_ZOOM_MODE_MANUAL);
if (elm_map_zoom_get(data) < 12) elm_map_zoom_set(data, 12);
}
static void
-_bring_seoul(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bring_seoul(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_map_zoom_mode_set(data, ELM_MAP_ZOOM_MODE_MANUAL);
if (elm_map_zoom_get(data) < 12) elm_map_zoom_set(data, 12);
}
static void
-_paused_set(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_paused_set(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_map_paused_set(data, EINA_TRUE);
}
static void
-_paused_unset(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_paused_unset(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_map_paused_set(data, EINA_FALSE);
}
static void
-_zoom_in(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_zoom_in(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
int zoom;
}
static void
-_zoom_out(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_zoom_out(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
int zoom;
}
static void
-_zoom_fit(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_zoom_fit(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_map_zoom_mode_set(data, ELM_MAP_ZOOM_MODE_AUTO_FIT);
}
static void
-_zoom_fill(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_zoom_fill(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_map_zoom_mode_set(data, ELM_MAP_ZOOM_MODE_AUTO_FILL);
}
static void
-_zoom_manual(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_zoom_manual(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_map_zoom_mode_set(data, ELM_MAP_ZOOM_MODE_MANUAL);
}
static void
-_track_add(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_track_add(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *fs, *vbox, *hbox, *sep;
char *path = NULL;
static void
-_track_remove(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_track_remove(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_map_track_remove(data, track);
}
static void
-_rotate_cw(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_rotate_cw(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
double d;
Evas_Coord x, y, w, h;
}
static void
-_rotate_ccw(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_rotate_ccw(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
double d;
Evas_Coord x, y, w, h;
}
static void
-_rotate_reset(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_rotate_reset(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Coord x, y, w, h;
float half_w, half_h;
}
static void
-_wheel_disable(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_wheel_disable(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_map_wheel_disabled_set(data, EINA_TRUE);
}
static void
-_wheel_enable(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_wheel_enable(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_map_wheel_disabled_set(data, EINA_FALSE);
}
static void
-_zoom_min_set(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_zoom_min_set(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_map_zoom_min_set(data, 1);
}
static void
-_zoom_max_set(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_zoom_max_set(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_map_zoom_max_set(data, 10);
}
static void
-_line_add(void *data, Evas_Object *obj __UNUSED__, void *ei __UNUSED__)
+_line_add(void *data, Evas_Object *obj EINA_UNUSED, void *ei EINA_UNUSED)
{
double lon, lat;
}
static void
-_poly_add(void *data, Evas_Object *obj __UNUSED__, void *ei __UNUSED__)
+_poly_add(void *data, Evas_Object *obj EINA_UNUSED, void *ei EINA_UNUSED)
{
double lon, lat;
}
static void
-_poly_clear(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *ei __UNUSED__)
+_poly_clear(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ei EINA_UNUSED)
{
Elm_Map_Overlay *ovl;
if (poly) elm_map_overlay_del(poly);
}
static void
-_circle_add(void *data, Evas_Object *obj __UNUSED__, void *ei __UNUSED__)
+_circle_add(void *data, Evas_Object *obj EINA_UNUSED, void *ei EINA_UNUSED)
{
double radius = 100;
double lon, lat;
}
static void
-_scale_add(void *data, Evas_Object *obj __UNUSED__, void *ei __UNUSED__)
+_scale_add(void *data, Evas_Object *obj EINA_UNUSED, void *ei EINA_UNUSED)
{
if (scale) elm_map_overlay_del(scale);
scale = elm_map_overlay_scale_add(data, down_x, down_y);
}
static void
-_map_mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info)
+_map_mouse_down(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Event_Mouse_Down *down = event_info;
Elm_Object_Item *menu_it;
}
static void
-_map_mouse_move(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_map_mouse_move(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Evas_Event_Mouse_Move *move = event_info;
Evas_Coord x, y, w, h;
}
static void
-_map_mouse_up(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_map_mouse_up(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Evas_Event_Mouse_Up *up = event_info;
if (!up) return;
}
static void
-_overlay_cb(void *data __UNUSED__, Evas_Object *map, void *ev)
+_overlay_cb(void *data EINA_UNUSED, Evas_Object *map, void *ev)
{
printf("Overlay clicked: ");
Elm_Map_Overlay *overlay = ev;
}
static void
-_parking_cb(void *data __UNUSED__, Evas_Object *map, Elm_Map_Overlay *ovl)
+_parking_cb(void *data EINA_UNUSED, Evas_Object *map, Elm_Map_Overlay *ovl)
{
double lon, lat;
Evas_Coord x, y;
}
static void
-_del_map(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *ei __UNUSED__)
+_del_map(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ei EINA_UNUSED)
{
if (route_start) elm_map_overlay_del(route_start);
if (route_end) elm_map_overlay_del(route_end);
}
void
-test_map(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_map(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *map;
int idx = 0;
static Evas_Object *menu;
static void
-_resize(void *data, Evas *evas __UNUSED__, Evas_Object *obj, void *event __UNUSED__)
+_resize(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED)
{
Evas_Coord w, h;
Evas_Object *rect = data;
}
static void
-_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_show(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
elm_menu_move(data, ev->canvas.x, ev->canvas.y);
}
void
-test_menu(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_menu(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *rect;
Elm_Object_Item *menu_it;
}
static void
-_parent_set_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_parent_set_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *mn = data;
if (!mn) return;
}
static void
-_icon_set_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_icon_set_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Object_Item *menu_it = data;
const char *icon_name = NULL;
}
static void
-_item_select_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_item_select_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Object_Item *menu_it = data;
if (!menu_it) return;
}
static void
-_separators_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_separators_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
const Eina_List *sis = NULL;
const Eina_List *l = NULL;
}
static void
-_open_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_open_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *mn = data;
if (!mn) return;
}
static void
-_close_bt_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_close_bt_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *mn = data;
if (!mn) return;
}
void
-test_menu2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_menu2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *o_bg, *rect, *rect2, *mn, *bt, *vbx;
Elm_Object_Item *menu_it, *menu_it2;
static Evas_Object *indicator[IND_NUM];
static void
-_mouse_down(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event_info)
+_mouse_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
}
static void
-_mouse_up(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event_info)
+_mouse_up(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
if (ev->button != 1) return;
}
static void
-_mouse_move(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event_info)
+_mouse_move(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info)
{
Evas_Event_Mouse_Move *ev = event_info;
printf("MOUSE: move @ %4i %4i\n", ev->cur.canvas.x, ev->cur.canvas.y);
}
static void
-_multi_down(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event_info)
+_multi_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info)
{
Evas_Event_Multi_Down *ev = event_info;
printf("MULTI: down @ %4i %4i | dev: %i\n", ev->canvas.x, ev->canvas.y, ev->device);
}
static void
-_multi_up(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event_info)
+_multi_up(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info)
{
Evas_Event_Multi_Up *ev = event_info;
printf("MULTI: up @ %4i %4i | dev: %i\n", ev->canvas.x, ev->canvas.y, ev->device);
}
static void
-_multi_move(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event_info)
+_multi_move(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info)
{
Evas_Event_Multi_Move *ev = event_info;
printf("MULTI: move @ %4i %4i | dev: %i\n", ev->cur.canvas.x,
}
void
-my_bt_rot(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_rot(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
elm_win_rotation_set(win, elm_win_rotation_get(win) + 90);
}
void
-test_multi(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_multi(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *r, *bx, *bt;
int i;
#ifndef ELM_LIB_QUICKLAUNCH
static void
-_item_selected_cb(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_item_selected_cb(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Object_Item *mbe_it = event_info;
// "item,added" smart callback of multibuttonentry.
static void
-_item_added_cb(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_item_added_cb(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Object_Item *mbe_it = event_info;
// "item,deleted" smart callback
static void
-_item_deleted_cb(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_item_deleted_cb(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("deleted item\n");
}
// "item,clicked" smart callback
static void
-_item_clicked_cb(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_item_clicked_cb(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info )
{
Elm_Object_Item *mbe_it = event_info;
}
static void
-_mbe_clicked_cb(void *data __UNUSED__,
+_mbe_clicked_cb(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__ )
+ void *event_info EINA_UNUSED )
{
//Unset the multibuttonentry to contracted mode of single line
elm_multibuttonentry_expanded_set(obj, EINA_TRUE);
}
static void
-_mbe_unfocused_cb(void *data __UNUSED__,
+_mbe_unfocused_cb(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__ )
+ void *event_info EINA_UNUSED )
{
//Set the multibuttonentry to contracted mode of single line
elm_multibuttonentry_expanded_set(obj, EINA_FALSE);
}
static void
-_mbe_focused_cb(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__ )
+_mbe_focused_cb(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED )
{
printf("multibuttonentry focused!\n");
}
// "expanded" smart callback
static void
-_expanded_cb(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_expanded_cb(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("expanded!\n");
}
// "contracted" smart callback
static void
-_contracted_cb(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_contracted_cb(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("contracted!\n");
}
// "contracted,state,changed" smart callback
static void
-_shrink_state_changed_cb(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_shrink_state_changed_cb(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("contracted state changed! \n");
}
// "item verified" confirm callback
static Eina_Bool
-_item_filter_cb(Evas_Object *obj __UNUSED__,
+_item_filter_cb(Evas_Object *obj EINA_UNUSED,
const char* item_label,
- void *item_data __UNUSED__,
- void *data __UNUSED__)
+ void *item_data EINA_UNUSED,
+ void *data EINA_UNUSED)
{
printf("%s, label: %s\n", __func__, item_label);
}
static void
-_button_clicked_cb(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_button_clicked_cb(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("%s button is clicked\n", __func__);
}
}
void
-test_multibuttonentry(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_multibuttonentry(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *sc, *bx;
Evas_Object *ly;
}
void
-_navi_pop(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_navi_pop(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_naviframe_item_pop(data);
}
void
-_navi_it_del(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_navi_it_del(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_object_item_del(data);
}
void
-_title_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_title_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("Title Clicked!\n");
}
void
-_title_visible(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_title_visible(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_naviframe_item_title_visible_set(data,
!elm_naviframe_item_title_visible_get(data));
}
void
-_promote(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_promote(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_naviframe_item_promote(data);
}
void
-_page7(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_page7(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt, *bt2, *content, *nf = data;
Elm_Object_Item *it;
}
void
-_page6(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_page6(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt, *bt2, *content, *nf = data;
Elm_Object_Item *it;
}
void
-_page5(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_page5(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt, *bt2, *content, *nf = data;
Elm_Object_Item *it;
}
void
-_page4(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_page4(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt, *ic, *content, *nf = data;
char buf[PATH_MAX];
}
void
-_page3(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_page3(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt2, *content, *nf = data;
}
void
-_page2(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_page2(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt, *content, *ic, *nf = data;
Elm_Object_Item *it;
}
void
-test_naviframe(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_naviframe(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *nf, *btn, *content;
Elm_Object_Item *it;
}
void
-test_naviframe2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_naviframe2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *nf, *sc, *btn, *ico, *content;
Elm_Object_Item *it;
static const char *img7 = PACKAGE_DATA_DIR "/images/sky_03.jpg";
static char *
-gl_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__)
+gl_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
char buf[256];
snprintf(buf, sizeof(buf), "Item # %i", (int)(uintptr_t)data);
}
static Evas_Object *
-gl_content_get(void *data __UNUSED__, Evas_Object *obj, const char *part)
+gl_content_get(void *data EINA_UNUSED, Evas_Object *obj, const char *part)
{
char buf[PATH_MAX];
Evas_Object *ic = elm_icon_add(obj);
}
static void
-_gl_selected(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_gl_selected(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("selected: %p\n", event_info);
}
static void
-_gl_double_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_gl_double_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("double clicked: %p\n", event_info);
}
static void
-_gl_longpress(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_gl_longpress(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("longpress %p\n", event_info);
}
}
static void
-_navi_pop(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_navi_pop(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_naviframe_item_pop(data);
}
static void
-_navi_it_del(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_navi_it_del(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_object_item_del(data);
}
static void
-_title_visible(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_title_visible(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_naviframe_item_title_visible_set(data,
!elm_naviframe_item_title_visible_get(data));
}
static void
-_promote(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_promote(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_naviframe_item_promote(data);
}
static void
-_page7(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_page7(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt, *bt2, *content, *nf = data;
Elm_Object_Item *it;
}
static void
-_page6(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_page6(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt, *bt2, *content, *nf = data;
Elm_Object_Item *it;
}
static void
-_page5(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_page5(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt, *bt2, *content, *nf = data;
Elm_Object_Item *it;
}
static void
-_page4(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_page4(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt, *ic, *content, *nf = data;
char buf[PATH_MAX];
}
static void
-_page3(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_page3(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt, *bt2, *ic, *content, *nf = data;
char buf[PATH_MAX];
}
static void
-_page2(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_page2(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *bt, *content, *ic, *nf = data;
char buf[PATH_MAX];
}
void
-test_naviframe_complex(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_naviframe_complex(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *nf, *btn, *box, *content, *tb, *o;
Elm_Object_Item *it;
#ifndef ELM_LIB_QUICKLAUNCH
static void
-_bt(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *notify = data;
evas_object_show(notify);
}
static void
-_bt_close(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_close(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *notify = data;
evas_object_hide(notify);
}
static void
-_bt_timer_close(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_timer_close(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *notify = data;
elm_notify_timeout_set(notify, 2.0);
}
static void
-_notify_timeout(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_notify_timeout(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("Notify timed out!\n");
}
static void
-_notify_block(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_notify_block(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("Notify block area clicked!!\n");
}
void
-test_notify(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_notify(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *tb, *notify, *bt, *lb;
static Eina_List *dirs = NULL;
static void
-_tstatus(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_tstatus(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Object_Item *tb_it;
const char *status;
}
static void
-_bstatus(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_bstatus(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Object_Item *tb_it;
const char *status;
}
static char *
-_text_get(void *data, Evas_Object *obj __UNUSED__, const char *source __UNUSED__)
+_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *source EINA_UNUSED)
{
return strdup(ecore_file_file_get(data));
}
}
static Eina_Bool
-_state_get(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *source __UNUSED__)
+_state_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *source EINA_UNUSED)
{
return EINA_FALSE;
}
static void
-_item_del(void *data, Evas_Object *obj __UNUSED__)
+_item_del(void *data, Evas_Object *obj EINA_UNUSED)
{
eina_stringshare_del(data);
}
}
void
-test_panel(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_panel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *panel, *bx, *vbx, *toolbar;
Evas_Object *list;
#ifndef ELM_LIB_QUICKLAUNCH
static void
-_press(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_press(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("press\n");
}
static void
-_unpress(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_unpress(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
printf("unpress, size : %f\n", elm_panes_content_left_size_get(obj));
}
static void
-_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("clicked\n");
}
static void
-_clicked_double(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_clicked_double(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
double *size = data;
double tmp_size = 0.0;
}
void
-test_panes(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_panes(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *panes, *panes_h, *bt;
static double vbar_size = 0.0;
static void drag_start_cb(void *mydata, Evas_Object *obj, void *evdata);
static void
-_clicked_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("photo clicked\n");
}
void
-test_photo(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_photo(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *sc, *tb, *ph;
int i, j, n;
/* Never called, elm_photo never call "drop" smart cb */
static void
-drop_cb(void *mydata __UNUSED__, Evas_Object *obj, void *evdata __UNUSED__)
+drop_cb(void *mydata EINA_UNUSED, Evas_Object *obj, void *evdata EINA_UNUSED)
{
printf("Drop on obj %p\n", obj);
}
static void
-drag_start_cb(void *mydata __UNUSED__, Evas_Object *obj __UNUSED__, void *evdata __UNUSED__)
+drag_start_cb(void *mydata EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *evdata EINA_UNUSED)
{
}
static void
-drag_stop_cb(void *mydata __UNUSED__, Evas_Object *obj __UNUSED__, void *evdata __UNUSED__)
+drag_stop_cb(void *mydata EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *evdata EINA_UNUSED)
{
}
static Evas_Object *rect;
static void
-my_ph_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("clicked\n");
}
static void
-my_ph_press(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_press(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("press\n");
}
static void
-my_ph_longpressed(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_longpressed(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("longpressed\n");
}
static void
-my_ph_clicked_double(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_clicked_double(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("clicked,double\n");
}
static void
-my_ph_load(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_load(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("load\n");
}
static void
-my_ph_loaded(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_loaded(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("loaded\n");
}
static void
-my_ph_load_details(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_load_details(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("load,details\n");
}
static void
-my_ph_loaded_details(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_loaded_details(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("loaded,details\n");
}
static void
-my_ph_zoom_start(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_zoom_start(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("zoom,start\n");
}
static void
-my_ph_zoom_stop(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_zoom_stop(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("zoom,stop\n");
}
static void
-my_ph_zoom_change(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_zoom_change(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("zoom,change\n");
}
static void
-my_ph_anim_start(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_anim_start(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("anim,start\n");
}
static void
-my_ph_anim_stop(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_anim_stop(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("anim,stop\n");
}
static void
-my_ph_drag_start(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_drag_start(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("drag,start\n");
}
static void
-my_ph_drag_stop(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_ph_drag_stop(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("drag_stop\n");
}
static void
-my_ph_scroll(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+my_ph_scroll(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
int x, y, w, h;
elm_photocam_image_region_get(obj, &x, &y, &w, &h);
}
static void
-my_bt_open(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+my_bt_open(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Evas_Object *ph = data;
const char *file = event_info;
}
static void
-my_bt_show_reg(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_show_reg(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_photocam_image_region_show(data, 30, 50, 500, 300);
}
static void
-my_bt_bring_reg(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_bring_reg(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_photocam_image_region_bring_in(data, 800, 300, 500, 300);
}
static void
-my_bt_zoom_in(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_zoom_in(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
double zoom;
}
static void
-my_bt_zoom_out(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_zoom_out(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
double zoom;
}
static void
-my_bt_pause(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_pause(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_photocam_paused_set(data, !elm_photocam_paused_get(data));
}
static void
-my_bt_zoom_fit_in(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_zoom_fit_in(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_photocam_zoom_mode_set(data, ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN);
}
static void
-my_bt_zoom_fit(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_zoom_fit(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_photocam_zoom_mode_set(data, ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT);
}
static void
-my_bt_zoom_fill(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_zoom_fill(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_photocam_zoom_mode_set(data, ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL);
}
static void
-my_bt_gesture(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_gesture(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_photocam_gesture_enabled_set(data, !elm_photocam_gesture_enabled_get(data));
}
static void
-my_ph_download_progress(void *data __UNUSED__, Evas_Object *obj, void *event_info)
+my_ph_download_progress(void *data EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Elm_Photocam_Progress *info = (Elm_Photocam_Progress *) event_info;
Evas_Object *pb = evas_object_data_get(obj, "progressbar");
}
static void
-my_ph_download_done(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+my_ph_download_done(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *pb = evas_object_data_get(obj, "progressbar");
}
static void
-_photocam_mouse_wheel_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_photocam_mouse_wheel_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Evas_Object *photocam = data;
Evas_Event_Mouse_Wheel *ev = (Evas_Event_Mouse_Wheel*) event_info;
}
static void
-_photocam_move_resize_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_photocam_move_resize_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
int x,y,w,h;
}
void
-test_photocam(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_photocam(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *ph, *tb2, *bt, *box;
// these were just testing - use the "select photo" browser to select one
}
void
-test_photocam_remote(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_photocam_remote(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *ph, *tb2, *bt, *box, *pb;
// these were just testing - use the "select photo" browser to select one
static int times = 0;
static void
-_response_cb(void *data __UNUSED__, Evas_Object *obj,
- void *event_info __UNUSED__)
+_response_cb(void *data EINA_UNUSED, Evas_Object *obj,
+ void *event_info EINA_UNUSED)
{
evas_object_del(obj);
}
static void
-_popup_close_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_popup_close_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
evas_object_del(data);
}
static void
-_g_popup_response_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_g_popup_response_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
evas_object_hide(data);
}
static void
-_restack_block_clicked_cb(void *data __UNUSED__, Evas_Object *obj,
- void *event_info __UNUSED__)
+_restack_block_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj,
+ void *event_info EINA_UNUSED)
{
// remove restacked image if there is any
Evas_Object *popup_data = evas_object_data_get(obj, "im");
}
static void
-_restack_popup_close_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_restack_popup_close_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *popup_data = evas_object_data_get(data, "im");
if (popup_data) evas_object_del(popup_data);
}
static void
-_block_clicked_cb(void *data __UNUSED__, Evas_Object *obj,
- void *event_info __UNUSED__)
+_block_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj,
+ void *event_info EINA_UNUSED)
{
evas_object_del(obj);
}
static void
-_item_selected_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
+_item_selected_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info)
{
printf("popup item selected: %s\n", elm_object_item_text_get(event_info));
}
static void
-_list_click(void *data __UNUSED__, Evas_Object *obj,
- void *event_info __UNUSED__)
+_list_click(void *data EINA_UNUSED, Evas_Object *obj,
+ void *event_info EINA_UNUSED)
{
Elm_Object_Item *it = elm_list_selected_item_get(obj);
if (!it) return;
}
static void
-_popup_center_text_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_popup_center_text_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *popup;
}
static void
-_popup_center_text_1button_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_popup_center_text_1button_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *popup;
Evas_Object *btn;
}
static void
-_popup_center_title_text_1button_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_popup_center_title_text_1button_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *popup;
Evas_Object *btn;
static void
_popup_center_title_text_block_clicked_event_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *popup;
}
static void
-_popup_bottom_title_text_3button_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_popup_bottom_title_text_3button_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *popup;
Evas_Object *icon, *btn1, *btn2, *btn3;
}
static void
-_popup_center_title_content_3button_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_popup_center_title_content_3button_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *popup;
Evas_Object *icon, *btn, *btn1, *btn2, *btn3;
}
static void
-_popup_center_title_item_3button_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_popup_center_title_item_3button_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
char buf[256];
unsigned int i;
}
static void
-_restack_btn_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_restack_btn_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *im;
char buf[PATH_MAX];
}
static void
-_popup_center_title_text_2button_restack_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_popup_center_title_text_2button_restack_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *popup;
Evas_Object *btn, *btn2;
}
static void
-_popup_center_text_1button_hide_show_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_popup_center_text_1button_hide_show_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *btn;
char str[128];
}
static void
-_popup_transparent_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_popup_transparent_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *popup;
Evas_Object *btn;
}
static void
-_list_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_list_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_del(data);
}
static void
-_popup_center_title_list_content_1button_cb(void *data, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_popup_center_title_list_content_1button_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *popup, *list;
Evas_Object *btn;
}
void
-test_popup(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_popup(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *list;
}
static void
-_page_loaded_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_page_loaded_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *layout = data;
}
void
-test_prefs(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_prefs(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *prefs, *layout;
Elm_Prefs_Data *prefs_data;
static Progressbar _test_progressbar;
static Eina_Bool
-_my_progressbar_value_set (void *data __UNUSED__)
+_my_progressbar_value_set (void *data EINA_UNUSED)
{
double progress;
}
static void
-my_progressbar_test_start(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_progressbar_test_start(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
fprintf(stderr, "s1\n");
elm_progressbar_pulse(_test_progressbar.pb2, EINA_TRUE);
}
static void
-my_progressbar_test_stop(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_progressbar_test_stop(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_progressbar_pulse(_test_progressbar.pb2, EINA_FALSE);
elm_progressbar_pulse(_test_progressbar.pb5, EINA_FALSE);
}
static void
-my_progressbar_destroy(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+my_progressbar_destroy(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
my_progressbar_test_stop(NULL, NULL, NULL);
evas_object_del(obj);
}
void
-test_progressbar(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_progressbar(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *pb, *bx, *hbx, *bt, *bt_bx, *ic1, *ic2;
char buf[PATH_MAX];
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
-test_scaling(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_scaling(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bt;
}
void
-test_scaling2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_scaling2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *bx, *fr, *lb;
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
-my_bt_go_300_300(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_go_300_300(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_scroller_region_bring_in((Evas_Object *)data, 300, 300, 318, 318);
}
void
-my_bt_go_900_300(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_go_900_300(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_scroller_region_bring_in((Evas_Object *)data, 900, 300, 318, 318);
}
void
-my_bt_go_300_900(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_go_300_900(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_scroller_region_bring_in((Evas_Object *)data, 300, 900, 318, 318);
}
void
-my_bt_go_900_900(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_go_900_900(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_scroller_region_bring_in((Evas_Object *)data, 900, 900, 318, 318);
}
void
-my_bt_freeze_toggle(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+my_bt_freeze_toggle(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
if (elm_check_state_get(obj))
elm_object_scroll_freeze_push((Evas_Object *)data);
}
void
-my_bt_hold_toggle(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+my_bt_hold_toggle(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
if (elm_check_state_get(obj))
elm_object_scroll_hold_push((Evas_Object *)data);
void
my_bt_block_movements_x_axis(void *data, Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Scroller_Movement_Block block;
void
my_bt_snap_to_pages(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
if (elm_check_state_get(obj))
{
void
my_bt_block_movements_y_axis(void *data, Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Scroller_Movement_Block block;
}
void
-page_change_cb(void *data __UNUSED__,
+page_change_cb(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
int page_x = 0, page_y = 0;
}
void
-_sc_move_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_sc_move_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Coord x = 0, y = 0;
evas_object_geometry_get(obj, &x, &y, NULL, NULL);
}
void
-_sc_resize_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_sc_resize_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Coord w = 0, h = 0;
evas_object_geometry_get(obj, NULL, NULL, &w, &h);
}
void
-test_scroller(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_scroller(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg2, *tb, *tb2, *sc, *bt, *ck1, *ck2, *bx, *bx2, *fr,
*ck3, *ck4, *ck5;
}
void
-click_through(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+click_through(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
printf("click went through on %p\n", obj);
}
void
-test_scroller2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_scroller2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bt, *bx, *bx2, *sc, *tb, *tb2, *rc;
int i, j;
#ifndef ELM_LIB_QUICKLAUNCH
static void
-changed_cb(void *data __UNUSED__, Evas_Object *o __UNUSED__, void *event)
+changed_cb(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event)
{
Elm_Object_Item *it = event;
printf("Segment Item (%p) %s\n", it, elm_object_item_text_get(it));
}
void
-test_segment_control(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_segment_control(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *sc, *ic;
Elm_Object_Item *seg_it;
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
-test_separator(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_separator(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx0, *bx, *bt, *sp;
#ifndef ELM_LIB_QUICKLAUNCH
void
-_delay_change_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_delay_change_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
printf("delay,changed! slider value : %d\n", (int)round(elm_slider_value_get(obj)));
}
void
-_change_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_change_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
elm_slider_value_set(data, val);
}
void
-_change_print_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_change_print_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
double val = elm_slider_value_get(obj);
printf("change to %3.3f\n", val);
}
void
-_bt_0(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_0(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_slider_value_set(data, 0.0);
}
void
-_bt_1(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_1(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_slider_value_set(data, 1.0);
}
void
-_bt_p1(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_p1(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_slider_value_set(data, elm_slider_value_get(data) + 0.1);
}
void
-_bt_m1(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bt_m1(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_slider_value_set(data, elm_slider_value_get(data) - 0.1);
}
void
-test_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *fr, *bx, *sl, *ic, *sl1, *bx2, *bt;
char buf[PATH_MAX];
static const char *img9 = PACKAGE_DATA_DIR"/images/mystrale_2.jpg";
static void
-_notify_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_notify_show(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_show(data);
}
static void
-_next(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_next(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_slideshow_next(data);
}
static void
-_previous(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_previous(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_slideshow_previous(data);
}
static void
-_mouse_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_notify_timeout_set(data, 0.0);
evas_object_show(data);
static void
-_mouse_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_mouse_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_notify_timeout_set(data, 3.0);
}
}
static void
-_layout_select(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_layout_select(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
elm_slideshow_layout_set(slideshow, data);
elm_object_text_set(obj, data);
}
static void
-_start(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_start(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_slideshow_timeout_set(slideshow, elm_spinner_value_get(data));
}
static void
-_stop(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_stop(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_slideshow_timeout_set(slideshow, 0.0);
elm_object_disabled_set(bt_start, EINA_FALSE);
}
static void
-_spin(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_spin(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
if (elm_slideshow_timeout_get(slideshow) > 0)
elm_slideshow_timeout_set(slideshow, elm_spinner_value_get(data));
}
static void
-_slide_transition(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_slide_transition(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Object_Item *slide_it = (Elm_Object_Item *) event_info;
if (data == slide_it)
}
void
-test_slideshow(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_slideshow(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *notify, *bx, *bt, *hv, *spin;
const Eina_List *l;
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
-test_spinner(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_spinner(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *sp;
// callbacks just to see user interacting with genlist
static void
-_st_selected(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_st_selected(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("selected: %p\n", event_info);
}
static void
-_st_double_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_st_double_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("double clicked: %p\n", event_info);
}
static void
-_st_longpress(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_st_longpress(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
printf("longpress %p\n", event_info);
}
//// * This function runs inside a thread outside efl mainloop. Be careful! *
// ************************************************************************
static Eina_Bool
-_st_store_list(void *data __UNUSED__, Elm_Store_Item_Info *item_info)
+_st_store_list(void *data EINA_UNUSED, Elm_Store_Item_Info *item_info)
{
Elm_Store_Item_Info_Filesystem *info = (Elm_Store_Item_Info_Filesystem *)item_info;
int id;
//// * This function runs inside a thread outside efl mainloop. Be careful! *
// ************************************************************************
static void
-_st_store_fetch(void *data __UNUSED__, Elm_Store_Item *sti)
+_st_store_fetch(void *data EINA_UNUSED, Elm_Store_Item *sti)
{
const char *path = elm_store_item_filesystem_path_get(sti);
My_Item *myit;
////// ************************************************************************
static void
-_st_store_unfetch(void *data __UNUSED__, Elm_Store_Item *sti)
+_st_store_unfetch(void *data EINA_UNUSED, Elm_Store_Item *sti)
{
My_Item *myit = elm_store_item_data_get(sti);
if (!myit) return;
}
void
-test_store(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_store(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *gl, *bx;
Elm_Store *st;
static Evas_Object *n = NULL;
static Eina_Bool
-_ev_handler(void *data __UNUSED__,
+_ev_handler(void *data EINA_UNUSED,
int type,
void *event)
{
}
static void
-_bt_clicked(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_bt_clicked(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_sys_notify_simple_send
("", elm_entry_entry_get(s), elm_entry_entry_get(b));
}
void
-test_sys_notify(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_sys_notify(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *it;
static Eo *item = NULL;
static Eina_Bool
-_ev_handler(void *data __UNUSED__,
- int type __UNUSED__,
- void *event __UNUSED__)
+_ev_handler(void *data EINA_UNUSED,
+ int type EINA_UNUSED,
+ void *event EINA_UNUSED)
{
Eina_Bool ret;
}
static void
-_bt_clicked(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_bt_clicked(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
eo_do(item, elm_obj_systray_icon_name_set(elm_entry_entry_get(i)));
eo_do(item, elm_obj_systray_att_icon_name_set(elm_entry_entry_get(ai)));
}
static void
- _r_clicked(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ _r_clicked(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
eo_do(item, elm_obj_systray_status_set(elm_radio_value_get(r)));
}
static void
_menu_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
printf("Menu Item Clicked: %s\n", (const char *) data);
}
void
-test_systray(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_systray(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *it;
Elm_Object_Item *it2;
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
-test_table(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_table(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *tb, *bt;
}
void
-test_table2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_table2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *tb, *bt;
}
static void
-my_tb_ch(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_tb_ch(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *tb = evas_object_data_get(win, "tb");
}
void
-test_table3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_table3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *tb, *bt;
}
void
-test_table4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_table4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *tb, *bt;
}
void
-test_table5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_table5(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *tb, *bt;
}
void
-test_table6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_table6(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *tb, *bt;
}
void
-test_table7(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_table7(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *tb, *bt;
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
-test_thumb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_thumb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *sc, *tb, *th;
int i, j;
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
-_tb_sel1_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_tb_sel1_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
char buf[PATH_MAX];
snprintf(buf, sizeof(buf), "%s/images/panel_01.jpg", elm_app_data_dir_get());
}
static void
-_tb_sel2_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_tb_sel2_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
char buf[PATH_MAX];
snprintf(buf, sizeof(buf), "%s/images/rock_01.jpg", elm_app_data_dir_get());
}
static void
-_tb_sel3_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_tb_sel3_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
char buf[PATH_MAX];
snprintf(buf, sizeof(buf), "%s/images/wood_01.jpg", elm_app_data_dir_get());
}
static void
-_tb_sel3a_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_tb_sel3a_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
_tb_sel3_cb(data, obj, event_info);
elm_toolbar_item_state_set(event_info, elm_toolbar_item_state_next(event_info));
}
static void
-_tb_sel3b_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_tb_sel3b_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
_tb_sel3_cb(data, obj, event_info);
elm_toolbar_item_state_unset(event_info);
}
static void
-_tb_sel4_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_tb_sel4_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
char buf[PATH_MAX];
snprintf(buf, sizeof(buf), "%s/images/sky_03.jpg", elm_app_data_dir_get());
}
static void
-_tb_sel4a_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_tb_sel4a_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_toolbar_item_state_set(event_info, elm_toolbar_item_state_prev(event_info));
}
static void
-_tb_sel5_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_tb_sel5_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_photo_file_set(data, NULL);
}
static void
-toolbar_clicked_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+toolbar_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Object_Item *it = elm_toolbar_more_item_get(obj);
}
void
-test_toolbar(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_toolbar(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *tb, *ph, *menu;
Evas_Object *ph1, *ph2, *ph3, *ph4;
}
void
-test_toolbar2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_toolbar2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *tb, *ph, *menu;
Evas_Object *ph1, *ph2, *ph3, *ph4;
}
void
-test_toolbar3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_toolbar3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *tb, *ph, *menu;
Evas_Object *ph1, *ph2, *ph3, *ph4;
/* The same test of toolbar, but using hide shrink mode instead of menu */
void
-test_toolbar4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_toolbar4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *tb, *ph, *menu;
Evas_Object *ph1, *ph2, *ph3, *ph4;
/* Toolbar with multiple state buttons */
void
-test_toolbar5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_toolbar5(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *tb, *ph, *menu;
Evas_Object *ph1, *ph2, *ph3, *ph4;
}
void
-test_toolbar6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_toolbar6(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *tb, *ph, *menu;
Evas_Object *ph1, *ph2, *ph3, *ph4;
}
void
-test_toolbar7(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_toolbar7(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *tb, *ph, *menu;
Evas_Object *ph1, *ph2, *ph3, *ph4;
}
void
-test_toolbar8(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_toolbar8(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *tb, *ph, *sl;
Evas_Object *ph1, *ph2, *ph3, *ph4;
}
void
-test_toolbar9(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_toolbar9(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *tb, *ph;
Evas_Object *ph1, *ph2, *ph3, *ph4;
char *
grdt_lbl_get(void *data,
- Evas_Object *obj __UNUSED__,
- const char *part __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *part EINA_UNUSED)
{
const Testitem *ti = data;
char buf[256];
static Elm_Genlist_Item_Class itct;
static void
-gltt_exp(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+gltt_exp(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Object_Item *glit = event_info;
}
static void
-gltt_con(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+gltt_con(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Object_Item *glit = event_info;
}
static void
-gltt_exp_req(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+gltt_exp_req(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Object_Item *glit = event_info;
}
static void
-gltt_con_req(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+gltt_con_req(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Object_Item *glit = event_info;
char *
gltt_text_get(void *data,
- Evas_Object *obj __UNUSED__,
- const char *part __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *part EINA_UNUSED)
{
char buf[256];
snprintf(buf, sizeof(buf), "Item mode %i", (int)(uintptr_t)data);
}
static Evas_Object *
-_tt_item_icon(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_tt_item_icon(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
Evas_Object *tt,
- void *item __UNUSED__)
+ void *item EINA_UNUSED)
{
Evas_Object *ic = elm_icon_add(tt);
char buf[PATH_MAX];
}
static Evas_Object *
-_tt_item_icon2(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_tt_item_icon2(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
Evas_Object *tt,
- void *item __UNUSED__)
+ void *item EINA_UNUSED)
{
Evas_Object *ic = elm_icon_add(tt);
char buf[PATH_MAX];
}
static Evas_Object *
-_tt_item_icon3(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_tt_item_icon3(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
Evas_Object *tt,
- void *item __UNUSED__)
+ void *item EINA_UNUSED)
{
int w, h, sw, sh;
Evas_Object *ic = elm_icon_add(tt);
}
static Evas_Object *
-_tt_item_label(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_tt_item_label(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
Evas_Object *tt,
- void *item __UNUSED__)
+ void *item EINA_UNUSED)
{
Evas_Object *l = elm_label_add(tt);
elm_object_text_set(l, "Something useful here?<ps/>"
static void
_tt_item_icon_del(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
// test to check for del_cb behavior!
}
static void
-_tt_text_replace(void *data __UNUSED__,
+_tt_text_replace(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
static int count = 0;
char buf[64];
}
static void
-_tt_timer_del(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_tt_timer_del(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Ecore_Timer *timer = evas_object_data_del(obj, "test-timer");
if (!timer) return;
}
static void
-_tt_text_replace_timed(void *data __UNUSED__,
+_tt_text_replace_timed(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Ecore_Timer *timer = evas_object_data_get(obj, "test-timer");
if (timer)
}
static Evas_Object *
-_tt_icon(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_tt_icon(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
Evas_Object *tt)
{
Evas_Object *ic = elm_icon_add(tt);
}
static Evas_Object *
-_tt_icon2(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_tt_icon2(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
Evas_Object *tt)
{
Evas_Object *ic = elm_icon_add(tt);
static void
_tt_icon_del(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
// test to check for del_cb behavior!
}
static void
-_tt_icon_replace_timed(void *data __UNUSED__,
+_tt_icon_replace_timed(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Ecore_Timer *timer = evas_object_data_get(obj, "test-timer");
if (timer)
}
static void
-_tt_style_replace_timed(void *data __UNUSED__,
+_tt_style_replace_timed(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Ecore_Timer *timer = evas_object_data_get(obj, "test-timer");
if (timer)
}
static void
-_tt_visible_lock_toggle(void *data __UNUSED__,
+_tt_visible_lock_toggle(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
static int locked = 0;
}
void
-test_tooltip(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_tooltip(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *tb, *bt, *se, *lst;
Elm_Object_Item *tb_it;
}
void
-test_tooltip2(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+test_tooltip2(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *grid, *gl;
Elm_Object_Item *glit1, *glit2, *glit3;
}
static void
-_custom_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit __UNUSED__)
+_custom_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit EINA_UNUSED)
{
Custom_Effect *custom_effect = effect;
free(custom_effect);
}
static void
-_transit_rotation_translation_color(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_transit_rotation_translation_color(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Transit *trans;
}
static void
-_transit_wipe(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_transit_wipe(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Transit *trans;
}
static void
-_transit_del_cb(void *data, Elm_Transit *transit __UNUSED__)
+_transit_del_cb(void *data, Elm_Transit *transit EINA_UNUSED)
{
evas_object_freeze_events_set(data, EINA_FALSE);
}
static void
-_transit_image_animation(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_transit_image_animation(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Eina_List *images = NULL;
char buf[PATH_MAX];
}
static void
-_transit_resizing(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_transit_resizing(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Transit *trans;
}
static void
-_transit_flip(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_transit_flip(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Transit *trans;
Evas_Object *obj2 = data;
}
static void
-_transit_zoom(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_transit_zoom(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Transit *trans;
}
static void
-_transit_blend(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_transit_blend(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Transit *trans;
Evas_Object *obj2 = data;
}
static void
-_transit_fade(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_transit_fade(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Transit *trans;
Evas_Object *obj2 = data;
}
static void
-_transit_resizable_flip(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_transit_resizable_flip(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Transit *trans;
Evas_Object *obj2 = data;
/* Translation, Rotation, Color, Wipe, ImagemAnimation Effect */
void
-test_transit(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_transit(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *bt, *ic;
char buf[PATH_MAX];
/* Resizing Effect */
void
-test_transit2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_transit2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bt;
/* Flip Effect */
void
-test_transit3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_transit3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bt, *bt2;
/* Zoom Effect */
void
-test_transit4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_transit4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bt;
/* Blend Effect */
void
-test_transit5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_transit5(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bt, *bt2, *ic;
char buf[PATH_MAX];
/* Fade Effect */
void
-test_transit6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_transit6(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bt, *bt2, *ic;
char buf[PATH_MAX];
/* Resizable Flip Effect */
void
-test_transit7(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_transit7(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bt, *bt2;
/* Custom Effect */
void
-test_transit8(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_transit8(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bt;
Elm_Transit *trans;
/* Chain Transit Effect */
void
-test_transit9(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_transit9(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bt, *bt2, *bt3, *bt4;
Elm_Transit *trans, *trans2, *trans3, *trans4;
#ifndef ELM_LIB_QUICKLAUNCH
static void
-my_bt_open(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+my_bt_open(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Evas_Object *video = data;
const char *file = event_info;
}
void
-test_video(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_video(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *video, *bt, *tb, *player;
static Eina_Module *module[2];
static void
-_first_city_cb(void *data __UNUSED__, Evas_Object *o __UNUSED__, void *event_info __UNUSED__)
+_first_city_cb(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info EINA_UNUSED)
{
if (!current) return;
current = 0;
}
static void
-_second_city_cb(void *dat __UNUSED__, Evas_Object *o __UNUSED__, void *event_info __UNUSED__)
+_second_city_cb(void *dat EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info EINA_UNUSED)
{
if (current) return;
current = 1;
elm_flip_go(fl, ELM_FLIP_ROTATE_XZ_CENTER_AXIS);
}
-static void _apply_cb(void *data __UNUSED__, Evas_Object *o __UNUSED__, void *event_info __UNUSED__)
+static void _apply_cb(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info EINA_UNUSED)
{
EWeather *eweather = eweather_object_eweather_get(weather[current]);
}
static void
-_hover_select_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_hover_select_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
EWeather *eweather = eweather_object_eweather_get(weather[0]);
module[0] = eweather_plugin_search(eweather, elm_object_item_text_get(event_info));
#endif
void
-test_weather(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_weather(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win;
#ifdef HAVE_ELEMENTARY_EWEATHER
} Web_Test;
static void
-_btn_back_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_btn_back_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *web = data;
}
static void
-_btn_fwd_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_btn_fwd_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *web = data;
}
static void
-_btn_reload_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_btn_reload_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *web = data;
}
static void
-_url_entry_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_url_entry_changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *web = data;
const char *url = elm_object_text_get(obj);
}
static void
-_toggle_inwin_mode_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_toggle_inwin_mode_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_web_inwin_mode_set(data, !elm_web_inwin_mode_get(data));
}
static void
-_title_changed_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+_title_changed_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
char buf[512];
snprintf(buf, sizeof(buf), "Web - %s", (const char *)event_info);
}
static void
-_url_changed_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+_url_changed_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Web_Test *wt = data;
}
static void
-_new_win_del_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_new_win_del_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Web_Test *wt = data;
wt->sub_wins = eina_list_remove(wt->sub_wins, obj);
}
static void
-_web_win_close_request_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_web_win_close_request_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_del(data);
}
static Evas_Object *
-_new_window_hook(void *data, Evas_Object *obj __UNUSED__, Eina_Bool js __UNUSED__, const Elm_Web_Window_Features *wf __UNUSED__)
+_new_window_hook(void *data, Evas_Object *obj EINA_UNUSED, Eina_Bool js EINA_UNUSED, const Elm_Web_Window_Features *wf EINA_UNUSED)
{
Web_Test *wt = data;
Evas_Object *new_win, *new_web;
}
static void
-_alert_del(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_alert_del(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
evas_object_del(obj);
}
static Evas_Object *
-_alert_hook(void *data __UNUSED__, Evas_Object *obj, const char *message)
+_alert_hook(void *data EINA_UNUSED, Evas_Object *obj, const char *message)
{
Evas_Object *popup, *label;
}
static void
-_confirm_ok_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_confirm_ok_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Eina_Bool *response = data;
*response = EINA_TRUE;
}
static void
-_confirm_cancel_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_confirm_cancel_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Eina_Bool *response = data;
*response = EINA_FALSE;
}
static void
-_confirm_dismiss_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_confirm_dismiss_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_del(data);
}
static Evas_Object *
-_confirm_hook(void *data __UNUSED__, Evas_Object *obj, const char *message, Eina_Bool *response)
+_confirm_hook(void *data EINA_UNUSED, Evas_Object *obj, const char *message, Eina_Bool *response)
{
Evas_Object *popup, *box, *box2, *label, *btn_ok, *btn_cancel;
}
static Evas_Object *
-_prompt_hook(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *message __UNUSED__, const char *default_value, const char **value, Eina_Bool *response)
+_prompt_hook(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *message EINA_UNUSED, const char *default_value, const char **value, Eina_Bool *response)
{
*response = EINA_TRUE;
*value = default_value ? strdup(default_value) : "No default!";
}
static Evas_Object *
-_file_selector_hook(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Eina_Bool allow_multiple __UNUSED__, Eina_List *accept_types __UNUSED__, Eina_List **selected_files, Eina_Bool *response)
+_file_selector_hook(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Eina_Bool allow_multiple EINA_UNUSED, Eina_List *accept_types EINA_UNUSED, Eina_List **selected_files, Eina_Bool *response)
{
*selected_files = eina_list_append(NULL,
strdup("/path/to/non_existing_file"));
}
static void
-_console_message_hook(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *message, unsigned int line_number, const char *source_id)
+_console_message_hook(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *message, unsigned int line_number, const char *source_id)
{
printf("CONSOLE: %s:%u:%s\n", source_id, line_number, message);
}
static void
-_js_popup_hooks_set(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_js_popup_hooks_set(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Web_Test *wt = data;
}
static void
-_zoom_out_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_zoom_out_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Web_Test *wt = data;
double zoom;
}
static void
-_zoom_in_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_zoom_in_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Web_Test *wt = data;
double zoom;
}
static void
-_zoom_mode_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+_zoom_mode_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Web_Test *wt = data;
Elm_Object_Item *hoversel_it = event_info;
}
static void
-_show_region_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_show_region_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Web_Test *wt = data;
elm_web_region_show(wt->web, 300, 300, 1, 1);
}
static void
-_bring_in_region_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bring_in_region_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Web_Test *wt = data;
elm_web_region_bring_in(wt->web, 50, 0, 1, 1);
}
static void
-_main_web_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_main_web_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Web_Test *wt = data;
Evas_Object *sub_win;
}
void
-test_web(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__, Eina_Bool mobile)
+test_web(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED, Eina_Bool mobile)
{
const char user_agent_firefox[] = "Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1";
const char user_agent_mobile[] = "Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3";
}
void
-test_web_normal(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_web_normal(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
test_web(data, obj, event_info, EINA_FALSE);
}
void
-test_web_mobile(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_web_mobile(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
test_web(data, obj, event_info, EINA_TRUE);
}
}
static void
-cb_mouse_down(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info)
+cb_mouse_down(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
}
static void
-cb_mouse_move(void *data, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info)
+cb_mouse_move(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Event_Mouse_Move *ev = event_info;
Evas_Object *orig = data;
}
void
-test_win_inline(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_win_inline(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *win2, *win3;
char buf[PATH_MAX];
static int try_num = 0;
static void
-_timer_del(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_timer_del(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Ecore_Timer *timer = evas_object_data_del(obj, "test-timer");
if (!timer) return;
}
static void
-cb_plug_disconnected(void *data __UNUSED__,
+cb_plug_disconnected(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Ecore_Timer *timer = evas_object_data_get(obj, "test-timer");
if (timer)
}
static void
-cb_plug_resized(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+cb_plug_resized(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Coord_Size *size = event_info;
}
static void
-cb_mouse_down(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info)
+cb_mouse_down(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
}
static void
-cb_mouse_move(void *data, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info)
+cb_mouse_move(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Evas_Event_Mouse_Move *ev = event_info;
Evas_Object *orig = data;
}
void
-test_win_plug(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_win_plug(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *plug;
char buf[PATH_MAX];
#ifndef ELM_LIB_QUICKLAUNCH
static void
-_win_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_win_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *socket_win = data;
evas_object_del(socket_win);
}
void
-test_win_socket(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_win_socket(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bx, *lb;
Evas_Object *win_socket;
static Eina_Bool fullscreen = EINA_FALSE;
static void
-my_bt_38_alpha_on(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_38_alpha_on(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *bg = evas_object_data_get(win, "bg");
}
static void
-my_bt_38_alpha_off(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_38_alpha_off(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Evas_Object *bg = evas_object_data_get(win, "bg");
}
static void
-my_bt_38_iconify(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_38_iconify(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
printf("iconify, current %i\n", elm_win_iconified_get(win));
}
static void
-my_bt_38_withdraw(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_38_withdraw(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
printf("withdraw, current %i\n", elm_win_withdrawn_get(win));
}
static void
-my_ck_38_resize(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+my_ck_38_resize(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
// Evas_Object *win = data;
rotate_with_resize = elm_check_state_get(obj);
}
static void
-my_bt_38_rot_0(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_38_rot_0(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
if (rotate_with_resize)
}
static void
-my_bt_38_rot_90(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_38_rot_90(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
if (rotate_with_resize)
}
static void
-my_bt_38_rot_180(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_38_rot_180(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
if (rotate_with_resize)
}
static void
-my_bt_38_rot_270(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+my_bt_38_rot_270(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
if (rotate_with_resize)
}
static void
-my_ck_38_fullscreen(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+my_ck_38_fullscreen(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
fullscreen = elm_check_state_get(obj);
}
static void
-my_ck_38_borderless(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+my_ck_38_borderless(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *win = data;
Eina_Bool borderless = elm_check_state_get(obj);
}
static void
-my_win_move(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+my_win_move(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Coord x, y;
elm_win_screen_position_get(obj, &x, &y);
}
static void
-_win_resize(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_win_resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Coord w, h;
evas_object_geometry_get(obj, NULL, NULL, &w, &h);
}
static void
-_win_foc_in(void *data __UNUSED__, Evas *e __UNUSED__, void *event_info __UNUSED__)
+_win_foc_in(void *data EINA_UNUSED, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("FOC IN\n");
}
static void
-_win_foc_out(void *data __UNUSED__, Evas *e __UNUSED__, void *event_info __UNUSED__)
+_win_foc_out(void *data EINA_UNUSED, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED)
{
printf("FOC OUT\n");
}
static void
-_close_win(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_close_win(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_del(data);
}
void
-test_win_state(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_win_state(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *sl, *bx, *bx2, *bt, *ck;
}
void
-test_win_state2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_win_state2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *bg, *sl, *bx, *bx2, *bt, *ck;
char buf[PATH_MAX];