summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-07-03 13:32:39 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-07-04 13:02:48 +0900
commitca5d174568e7ebae829899811d36f48bf0dc9d6e (patch)
tree73f5126b871e693b0a75f0f612c16c955a9866a0 /src/lib/evas/cserve2/evas_cs2.h
parentf825bebcdb5cba5efffb14f05008c2e06a4fbe11 (diff)
evas/cserve2: use Evas_Image_Load_Opts directly
Image_Data contained a similar struct to the standard Evas struct, let's not duplicate it uselessly.
Diffstat (limited to 'src/lib/evas/cserve2/evas_cs2.h')
-rw-r--r--src/lib/evas/cserve2/evas_cs2.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2.h b/src/lib/evas/cserve2/evas_cs2.h
index 9b38c75784..b35af47348 100644
--- a/src/lib/evas/cserve2/evas_cs2.h
+++ b/src/lib/evas/cserve2/evas_cs2.h
@@ -5,6 +5,8 @@
5 5
6#ifdef EVAS_CSERVE2 6#ifdef EVAS_CSERVE2
7 7
8#include <Evas_Loader.h>
9
8typedef enum { 10typedef enum {
9 CSERVE2_OPEN = 1, 11 CSERVE2_OPEN = 1,
10 CSERVE2_OPENED, 12 CSERVE2_OPENED,
@@ -74,17 +76,7 @@ struct _Msg_Setopts {
74 Msg_Base base; 76 Msg_Base base;
75 unsigned int file_id; 77 unsigned int file_id;
76 unsigned int image_id; 78 unsigned int image_id;
77 struct { 79 Evas_Image_Load_Opts opts;
78 double dpi;
79 int w, h;
80 int scale_down;
81 int rx, ry, rw, rh;
82 int scale_src_x, scale_src_y, scale_src_w, scale_src_h;
83 int scale_dst_w, scale_dst_h;
84 int scale_smooth;
85 int scale_hint;
86 Eina_Bool orientation;
87 } opts;
88}; 80};
89 81
90struct _Msg_Setoptsed { 82struct _Msg_Setoptsed {