summaryrefslogtreecommitdiff
path: root/src/examples/evas
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-05-22 14:16:16 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-22 14:16:16 -0400
commit12cab54b9c92baf66c06ea69aa5fa0167d82c2c9 (patch)
treed8fa95cd9d0b068dc22a05fdd2d0d5bdd6c528ac /src/examples/evas
parentd15b37eea14102308ff7b48d069444599a559a77 (diff)
Rename Efl.Gfx.Orientation -> Efl.Gfx.Image_Orientation
Summary: This will help disambiguate later on when we rename Efl.Ui.Direction to Efl.Ui.Layout_Orientation. Relates to T7919 Test Plan: Everything still builds and passes tests. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8934
Diffstat (limited to 'src/examples/evas')
-rw-r--r--src/examples/evas/evas-images5.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/examples/evas/evas-images5.c b/src/examples/evas/evas-images5.c
index 7632b7fde1..ab8bd1f62d 100644
--- a/src/examples/evas/evas-images5.c
+++ b/src/examples/evas/evas-images5.c
@@ -76,7 +76,7 @@ _on_keydown(void *data EINA_UNUSED,
76 void *einfo) 76 void *einfo)
77{ 77{
78 Evas_Event_Key_Down *ev = einfo; 78 Evas_Event_Key_Down *ev = einfo;
79 Efl_Gfx_Orientation orient = efl_gfx_orientation_get(d.img); 79 Efl_Gfx_Image_Orientation orient = efl_gfx_image_orientation_get(d.img);
80 80
81 if (strcmp(ev->key, "h") == 0) /* print help */ 81 if (strcmp(ev->key, "h") == 0) /* print help */
82 { 82 {
@@ -110,25 +110,25 @@ _on_keydown(void *data EINA_UNUSED,
110 switch (key_val) 110 switch (key_val)
111 { 111 {
112 case 0: 112 case 0:
113 efl_gfx_orientation_set(d.img, EFL_GFX_ORIENTATION_UP | (orient & EFL_GFX_ORIENTATION_FLIP_BITMASK)); 113 efl_gfx_image_orientation_set(d.img, EFL_GFX_IMAGE_ORIENTATION_UP | (orient & EFL_GFX_IMAGE_ORIENTATION_FLIP_BITMASK));
114 break; 114 break;
115 case 1: 115 case 1:
116 efl_gfx_orientation_set(d.img, EFL_GFX_ORIENTATION_RIGHT | (orient & EFL_GFX_ORIENTATION_FLIP_BITMASK)); 116 efl_gfx_image_orientation_set(d.img, EFL_GFX_IMAGE_ORIENTATION_RIGHT | (orient & EFL_GFX_IMAGE_ORIENTATION_FLIP_BITMASK));
117 break; 117 break;
118 case 2: 118 case 2:
119 efl_gfx_orientation_set(d.img, EFL_GFX_ORIENTATION_DOWN | (orient & EFL_GFX_ORIENTATION_FLIP_BITMASK)); 119 efl_gfx_image_orientation_set(d.img, EFL_GFX_IMAGE_ORIENTATION_DOWN | (orient & EFL_GFX_IMAGE_ORIENTATION_FLIP_BITMASK));
120 break; 120 break;
121 case 3: 121 case 3:
122 efl_gfx_orientation_set(d.img, EFL_GFX_ORIENTATION_LEFT | (orient & EFL_GFX_ORIENTATION_FLIP_BITMASK)); 122 efl_gfx_image_orientation_set(d.img, EFL_GFX_IMAGE_ORIENTATION_LEFT | (orient & EFL_GFX_IMAGE_ORIENTATION_FLIP_BITMASK));
123 break; 123 break;
124 case 4: 124 case 4:
125 efl_gfx_orientation_set(d.img, (orient & EFL_GFX_ORIENTATION_ROTATION_BITMASK) | EFL_GFX_ORIENTATION_FLIP_HORIZONTAL); 125 efl_gfx_image_orientation_set(d.img, (orient & EFL_GFX_IMAGE_ORIENTATION_ROTATION_BITMASK) | EFL_GFX_IMAGE_ORIENTATION_FLIP_HORIZONTAL);
126 break; 126 break;
127 case 5: 127 case 5:
128 efl_gfx_orientation_set(d.img, (orient & EFL_GFX_ORIENTATION_ROTATION_BITMASK) | EFL_GFX_ORIENTATION_FLIP_VERTICAL); 128 efl_gfx_image_orientation_set(d.img, (orient & EFL_GFX_IMAGE_ORIENTATION_ROTATION_BITMASK) | EFL_GFX_IMAGE_ORIENTATION_FLIP_VERTICAL);
129 break; 129 break;
130 case 6: 130 case 6:
131 efl_gfx_orientation_set(d.img, (orient & EFL_GFX_ORIENTATION_ROTATION_BITMASK)); 131 efl_gfx_image_orientation_set(d.img, (orient & EFL_GFX_IMAGE_ORIENTATION_ROTATION_BITMASK));
132 break; 132 break;
133 } 133 }
134} 134}