e-modules/engage: add option for mouse-over animation. without zoom it has the same effect as ibar now (but no clipping :)

SVN revision: 58570
master
Hannes Janetzek 12 years ago
parent bb373b8daf
commit 1f2813e8ee
  1. 1462
      data/themes/engage.edc
  2. 5
      src/ng_config.c
  3. 6
      src/ng_item.c

File diff suppressed because it is too large Load Diff

@ -5,7 +5,7 @@ struct _E_Config_Dialog_Data
int show_label;
int show_background;
int orient;
int size;
int size;
double zoomfactor;
int autohide;
int autohide_show_urgent;
@ -198,6 +198,9 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
ob = e_widget_check_add(evas, D_("Show Background Box"), &(cfdata->show_background));
e_widget_framelist_object_append(of, ob);
ob = e_widget_check_add(evas, D_("Show Mouse-Over Animation"), &(cfdata->mouse_over_anim));
e_widget_framelist_object_append(of, ob);
e_widget_list_object_append(ol, of, 1, 0, 0.0);
of = e_widget_framelist_add(evas, D_("Orientation"), 0);

@ -174,6 +174,9 @@ ngi_item_mouse_in(Ngi_Item *it)
ngi_item_signal_emit(it,"e,state,mouse,in");
if (it->box->ng->cfg->mouse_over_anim)
ngi_item_signal_emit(it,"e,state,animate,in");
if (it->cb_mouse_in)
it->cb_mouse_in(it);
}
@ -185,6 +188,9 @@ ngi_item_mouse_out(Ngi_Item *it)
ngi_item_signal_emit(it,"e,state,mouse,out");
if (it->box->ng->cfg->mouse_over_anim)
ngi_item_signal_emit(it,"e,state,animate,out");
if (it->cb_mouse_out)
it->cb_mouse_out(it);
}

Loading…
Cancel
Save