More framework

SVN revision: 14538
This commit is contained in:
sebastid 2005-05-01 20:37:48 +00:00 committed by sebastid
parent 8eff9fbe82
commit 60942f6a68
1 changed files with 10 additions and 1 deletions

View File

@ -1372,6 +1372,7 @@ _ibar_bar_cb_drop(void *data, const char *type, void *event)
{
E_Drop_Event *ev;
IBar_Bar *ibb;
IBar_Icon *ic;
Evas_Coord x, y, w, h;
double iw;
int pos;
@ -1395,7 +1396,15 @@ _ibar_bar_cb_drop(void *data, const char *type, void *event)
iw = h / (double) evas_list_count(ibb->icons);
pos = round(y / iw);
}
ic = evas_list_nth(ibb->icons, pos);
if (ic)
{
/* Add new eapp before this icon */
}
else
{
/* Add at the end */
}
}
static void