summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry <larry.olj@gmail.com>2016-02-04 18:08:14 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-02-09 14:14:09 -0200
commit7541ceb0988d8cf94612a90e6d3676bf4e432496 (patch)
tree4168e5a201f1eb96b0cf592130b65869b057486b
parent6a07e2abc3d756be4aee1f10e199a740e7997f61 (diff)
Elm_Image: moved undefined types to eolian file
-rw-r--r--src/lib/elm_image.eo26
-rw-r--r--src/lib/elm_image_common.h31
2 files changed, 24 insertions, 33 deletions
diff --git a/src/lib/elm_image.eo b/src/lib/elm_image.eo
index 6ffffdcef..c16599cc7 100644
--- a/src/lib/elm_image.eo
+++ b/src/lib/elm_image.eo
@@ -1,3 +1,25 @@
1type Elm.Image.Orient: Evas_Image_Orient; [[Using Evas_Image_Orient enums. @since 1.14]]
2
3struct Elm.Image.Progress
4{
5 [[
6 Structure associated with smart callback 'download,progress'.
7 @since 1.8
8 ]]
9 now: double;
10 total: double;
11}
12
13struct Elm.Image.Error
14{
15 [[
16 Structure associated with smart callback 'download,progress'.
17 @since 1.8
18 ]]
19 status: int;
20 open_error: Eina.Bool;
21}
22
1class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface, 23class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
2 Edje.Object, 24 Edje.Object,
3 Elm.Interface_Atspi_Image, Elm.Interface_Atspi_Widget_Action, 25 Elm.Interface_Atspi_Image, Elm.Interface_Atspi_Widget_Action,
@@ -139,7 +161,7 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
139 get { 161 get {
140 } 162 }
141 values { 163 values {
142 orient: Elm_Image_Orient; [[The image orientation Elm_Image_Orient Default is #ELM_IMAGE_ORIENT_NONE.]] 164 orient: Elm.Image.Orient; [[The image orientation Elm.Image.Orient Default is #ELM_IMAGE_ORIENT_NONE.]]
143 } 165 }
144 } 166 }
145 @property fill_outside { 167 @property fill_outside {
@@ -205,7 +227,7 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
205 legacy: null; 227 legacy: null;
206 } 228 }
207 values { 229 values {
208 file: const(Eina_File)*; [[The handler to an Eina_File that will be used as image source]] 230 file: const(Eina.File)*; [[The handler to an Eina_File that will be used as image source]]
209 group: const(char)* @optional; [[The group that the image belongs to, in case it's an EET (including Edje case) file. This can be used as a key inside evas image cache if this is a normal image file not eet file.]] 231 group: const(char)* @optional; [[The group that the image belongs to, in case it's an EET (including Edje case) file. This can be used as a key inside evas image cache if this is a normal image file not eet file.]]
210 } 232 }
211 } 233 }
diff --git a/src/lib/elm_image_common.h b/src/lib/elm_image_common.h
index 497a23184..8e670cbb2 100644
--- a/src/lib/elm_image_common.h
+++ b/src/lib/elm_image_common.h
@@ -8,8 +8,6 @@
8 * Using Evas_Image_Orient enums 8 * Using Evas_Image_Orient enums
9 * @since 1.14 9 * @since 1.14
10 */ 10 */
11typedef Evas_Image_Orient Elm_Image_Orient;
12
13#define ELM_IMAGE_ORIENT_NONE EVAS_IMAGE_ORIENT_NONE 11#define ELM_IMAGE_ORIENT_NONE EVAS_IMAGE_ORIENT_NONE
14#define ELM_IMAGE_ORIENT_0 EVAS_IMAGE_ORIENT_0 12#define ELM_IMAGE_ORIENT_0 EVAS_IMAGE_ORIENT_0
15#define ELM_IMAGE_ROTATE_90 EVAS_IMAGE_ORIENT_90 13#define ELM_IMAGE_ROTATE_90 EVAS_IMAGE_ORIENT_90
@@ -24,34 +22,5 @@ typedef Evas_Image_Orient Elm_Image_Orient;
24#define ELM_IMAGE_FLIP_TRANSVERSE EVAS_IMAGE_FLIP_TRANSVERSE 22#define ELM_IMAGE_FLIP_TRANSVERSE EVAS_IMAGE_FLIP_TRANSVERSE
25 23
26/** 24/**
27 * Structure associated with smart callback 'download,progress'.
28 * @since 1.8
29 */
30typedef struct _Elm_Image_Progress Elm_Image_Progress;
31/**
32 * Structure associated with smart callback 'download,progress'.
33 */
34struct _Elm_Image_Progress
35{
36 double now;
37 double total;
38};
39
40/**
41 * Structre associated with smart callback 'download,error'
42 * @since 1.8
43 */
44typedef struct _Elm_Image_Error Elm_Image_Error;
45/**
46 * Structure associated with smart callback 'download,progress'.
47 */
48struct _Elm_Image_Error
49{
50 int status;
51
52 Eina_Bool open_error;
53};
54
55/**
56 * @} 25 * @}
57 */ 26 */