summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_embryo.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-05-31 15:28:57 +0100
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-05-31 15:28:57 +0100
commit4ea0e29c6f3e27c12aedd10ac3823bb56f2c05cf (patch)
tree89a77073b044709347853c89b8a5e43eaa94227f /src/lib/edje/edje_embryo.c
parent11b43dad4b0565ac93e2f5d79c1d22e68c41f95d (diff)
add embryo params for proxy src visible/clip
hermet please look at these, they don't seem to work right for some reason
Diffstat (limited to 'src/lib/edje/edje_embryo.c')
-rw-r--r--src/lib/edje/edje_embryo.c48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/lib/edje/edje_embryo.c b/src/lib/edje/edje_embryo.c
index 120d4d45d6..5a7b6e2371 100644
--- a/src/lib/edje/edje_embryo.c
+++ b/src/lib/edje/edje_embryo.c
@@ -2290,6 +2290,30 @@ _edje_embryo_fn_set_state_val(Embryo_Program *ep, Embryo_Cell *params)
2290 GETINT(rp->custom->description->persp.focal, params[3]); 2290 GETINT(rp->custom->description->persp.focal, params[3]);
2291 2291
2292 break; 2292 break;
2293 case EDJE_STATE_PARAM_PROXY_SRC_CLIP:
2294 {
2295 Edje_Part_Description_Proxy *proxy;
2296
2297 if ((rp->part->type != EDJE_PART_TYPE_PROXY)) return 0;
2298 CHKPARAM(3);
2299
2300 proxy = (Edje_Part_Description_Proxy*) rp->custom->description;
2301 GETINT(proxy->proxy.source_clip, params[3]);
2302
2303 break;
2304 }
2305 case EDJE_STATE_PARAM_PROXY_SRC_VISIBLE:
2306 {
2307 Edje_Part_Description_Proxy *proxy;
2308
2309 if ((rp->part->type != EDJE_PART_TYPE_PROXY)) return 0;
2310 CHKPARAM(3);
2311
2312 proxy = (Edje_Part_Description_Proxy*) rp->custom->description;
2313 GETINT(proxy->proxy.source_visible, params[3]);
2314
2315 break;
2316 }
2293#ifdef HAVE_EPHYSICS 2317#ifdef HAVE_EPHYSICS
2294 case EDJE_STATE_PARAM_PHYSICS_MASS: 2318 case EDJE_STATE_PARAM_PHYSICS_MASS:
2295 CHKPARAM(3); 2319 CHKPARAM(3);
@@ -2864,6 +2888,30 @@ _edje_embryo_fn_get_state_val(Embryo_Program *ep, Embryo_Cell *params)
2864 SETINT(rp->custom->description->persp.focal, params[3]); 2888 SETINT(rp->custom->description->persp.focal, params[3]);
2865 2889
2866 break; 2890 break;
2891 case EDJE_STATE_PARAM_PROXY_SRC_CLIP:
2892 {
2893 Edje_Part_Description_Proxy *proxy;
2894
2895 if ((rp->part->type != EDJE_PART_TYPE_PROXY)) return 0;
2896 CHKPARAM(3);
2897
2898 proxy = (Edje_Part_Description_Proxy*) rp->custom->description;
2899 SETINT(proxy->proxy.source_clip, params[3]);
2900
2901 break;
2902 }
2903 case EDJE_STATE_PARAM_PROXY_SRC_VISIBLE:
2904 {
2905 Edje_Part_Description_Proxy *proxy;
2906
2907 if ((rp->part->type != EDJE_PART_TYPE_PROXY)) return 0;
2908 CHKPARAM(3);
2909
2910 proxy = (Edje_Part_Description_Proxy*) rp->custom->description;
2911 SETINT(proxy->proxy.source_visible, params[3]);
2912
2913 break;
2914 }
2867#ifdef HAVE_EPHYSICS 2915#ifdef HAVE_EPHYSICS
2868 case EDJE_STATE_PARAM_PHYSICS_MASS: 2916 case EDJE_STATE_PARAM_PHYSICS_MASS:
2869 CHKPARAM(3); 2917 CHKPARAM(3);