From 39040ba07ace48b3489d1b8fd20e035b38ecc191 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Iv=C3=A1n=20Briano?= Date: Tue, 17 Jul 2012 14:24:08 +0000 Subject: [PATCH] Set load options in the SETOPTS message SVN revision: 73990 --- legacy/evas/src/lib/cserve2/evas_cs2_client.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/legacy/evas/src/lib/cserve2/evas_cs2_client.c b/legacy/evas/src/lib/cserve2/evas_cs2_client.c index 3e891a4..425092c 100644 --- a/legacy/evas/src/lib/cserve2/evas_cs2_client.c +++ b/legacy/evas/src/lib/cserve2/evas_cs2_client.c @@ -550,6 +550,16 @@ _image_setopts_server_send(Image_Entry *ie) msg.file_id = fentry->file_id; msg.image_id = dentry->image_id; + msg.opts.scale_down = ie->load_opts.scale_down_by; + msg.opts.dpi = ie->load_opts.dpi; + msg.opts.w = ie->load_opts.w; + msg.opts.h = ie->load_opts.h; + msg.opts.rx = ie->load_opts.region.x; + msg.opts.ry = ie->load_opts.region.y; + msg.opts.rw = ie->load_opts.region.w; + msg.opts.rh = ie->load_opts.region.h; + msg.opts.orientation = ie->load_opts.orientation; + if (!_server_send(&msg, sizeof(msg), 0, NULL)) return 0; -- 2.7.4