consistant signal names! :)

SVN revision: 7094
This commit is contained in:
Carsten Haitzler 2003-06-25 23:36:44 +00:00
parent 963e930972
commit 1da3fe4a5b
2 changed files with 3 additions and 4 deletions

View File

@ -12,7 +12,6 @@
/* FIXME:
* add a smooth scale option to fill params
* make signals names etc. consistent (ie "program,start" not "action,start")
* reference count programs since the tmp lists can be screwed if a program is ended by another
* need "random" signals and events for hooking to, and "random" durations
* free stuff - no more leaks

View File

@ -133,7 +133,7 @@ _edje_program_run_iterate(Edje_Running_Program *runp, double tim)
runp->edje->actions = evas_list_remove(runp->edje->actions, runp);
if (!runp->edje->actions)
_edje_animators = evas_list_remove(_edje_animators, runp->edje);
_edje_emit(runp->edje, "anim,stop", runp->program->name);
_edje_emit(runp->edje, "program,stop", runp->program->name);
if (runp->program->after >= 0)
{
Edje_Program *pr;
@ -181,7 +181,7 @@ _edje_program_end(Edje *ed, Edje_Running_Program *runp)
runp->edje->actions = evas_list_remove(runp->edje->actions, runp);
if (!runp->edje->actions)
_edje_animators = evas_list_remove(_edje_animators, runp->edje);
_edje_emit(runp->edje, "anim,stop", runp->program->name);
_edje_emit(runp->edje, "program,stop", runp->program->name);
_edje_thaw(runp->edje);
free(runp);
}
@ -192,7 +192,7 @@ _edje_program_run(Edje *ed, Edje_Program *pr)
Evas_List *l;
_edje_freeze(ed);
_edje_emit(ed, "anim,start", pr->name);
_edje_emit(ed, "program,start", pr->name);
if (pr->action == EDJE_ACTION_TYPE_STATE_SET)
{
if (pr->tween.time > 0.0)