From 81283b584a7f7c38b697c438858a8b70294dd276 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 10 May 2014 14:14:08 +1000 Subject: Add physics to the windows. Sure, it's just an annoying gimmick right now, but there's plans for this to be actually useful. --- src/libraries/winFang.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libraries/winFang.h') diff --git a/src/libraries/winFang.h b/src/libraries/winFang.h index 05c3036..a84c8de 100644 --- a/src/libraries/winFang.h +++ b/src/libraries/winFang.h @@ -13,6 +13,7 @@ #include #include #include +#include typedef struct _winFang @@ -20,6 +21,7 @@ typedef struct _winFang Evas_Object *win; Evas_Object *bg; Evas_Object *box; + EPhysics_Body *body; Eina_Clist widgets; Eina_Clist winFangs; int x, y, w, h; @@ -48,7 +50,7 @@ typedef struct _Widget Evas_Smart_Cb on_del; } Widget; -winFang *winFangAdd(winFang *parent, int x, int y, int w, int h, char *title, char *name); +winFang *winFangAdd(winFang *parent, int x, int y, int w, int h, char *title, char *name, EPhysics_World *world); void winFangHide(winFang *win); void winFangShow(winFang *win); void winFangDel(winFang *win); -- cgit v1.1