stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7d698bbfc1d305607436b8c164d04eeae250647a

commit 7d698bbfc1d305607436b8c164d04eeae250647a
Author: Stefan Schmidt <[email protected]>
Date:   Tue Oct 25 15:08:33 2016 +0200

    docs: efl interfaces: document enums accross interfaces eo files
---
 src/lib/efl/interfaces/efl_gfx_buffer.eo     |  9 +++++----
 src/lib/efl/interfaces/efl_gfx_types.eot     |  3 +++
 src/lib/efl/interfaces/efl_image_animated.eo |  1 +
 src/lib/efl/interfaces/efl_io_positioner.eo  |  7 ++++---
 src/lib/efl/interfaces/efl_text_types.eot    | 11 ++++++-----
 5 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_gfx_buffer.eo 
b/src/lib/efl/interfaces/efl_gfx_buffer.eo
index daa829b..bde430a 100644
--- a/src/lib/efl/interfaces/efl_gfx_buffer.eo
+++ b/src/lib/efl/interfaces/efl_gfx_buffer.eo
@@ -3,10 +3,11 @@ import eina_types;
 
 /* FIXME: this is very very low level. expose to apps? */
 enum Efl.Gfx.Buffer.Access_Mode {
-   none      = 0x0,
-   read      = 0x1,
-   write     = 0x2,
-   cow       = 0x4,  [[Forces copy-on-write if already mapped as read-only. 
Requires write.]]
+   [[Graphics buffer access mode]]
+   none      = 0x0, [[No buffer access]]
+   read      = 0x1, [[Read access to buffer]]
+   write     = 0x2, [[Write aces to buffer]]
+   cow       = 0x4, [[Forces copy-on-write if already mapped as read-only. 
Requires write.]]
 }
 
 /* FIXME: YUV and other planar formats are not properly handled in this API! */
diff --git a/src/lib/efl/interfaces/efl_gfx_types.eot 
b/src/lib/efl/interfaces/efl_gfx_types.eot
index 00c8f4d..3483a77 100644
--- a/src/lib/efl/interfaces/efl_gfx_types.eot
+++ b/src/lib/efl/interfaces/efl_gfx_types.eot
@@ -1,4 +1,5 @@
 enum Efl.Gfx.Colorspace {
+  [[Graphics colorspace type]]
   argb8888,             [[ARGB 32 bits per pixel, high-byte is Alpha, accessed 
one 32bit word at a time.]]
   ycbcr422p601_pl,      [[YCbCr 4:2:2 Planar, ITU.BT-601 specifications. The 
data pointed to is just an array of row pointer, pointing to the Y rows, then 
the Cb, then Cr rows.]]
   ycbcr422p709_pl,      [[YCbCr 4:2:2 Planar, ITU.BT-709 specifications. The 
data pointed to is just an array of row pointer, pointing to the Y rows, then 
the Cb, then Cr rows.]]
@@ -21,6 +22,7 @@ enum Efl.Gfx.Colorspace {
 }
 
 enum Efl.Gfx.Render_Op {
+  [[Graphics render operation mode]]
   blend = 0, [[Alpha blending onto destination (default); d = d*(1-sa) + s.]]
   copy  = 1, [[Copy source to destination; d = s.]]
   last       [[Sentinel value to indicate last enum field during iteration]]
@@ -180,6 +182,7 @@ enum Efl.Gfx.Size.Hint.Aspect
 
 enum Efl.Image.Load.Error
 {
+   [[Image load error type]]
    none = 0,                       [[No error on load]]
    generic = 1,                    [[A non-specific error occurred]]
    does_not_exist = 2,             [[File (or file path) does not exist]]
diff --git a/src/lib/efl/interfaces/efl_image_animated.eo 
b/src/lib/efl/interfaces/efl_image_animated.eo
index 18e7ad1..7799c90 100644
--- a/src/lib/efl/interfaces/efl_image_animated.eo
+++ b/src/lib/efl/interfaces/efl_image_animated.eo
@@ -2,6 +2,7 @@
 /* type @extern Evas.Animated_Loop_Hint: int; */
 
 enum Efl.Image.Animated.Loop_Hint {
+   [[Image animation loop modes]]
    none = 0,       [[No looping order specified.]]
    loop = 1,       [[Standard loop: 1->2->3->1->2->3->1]]
    pingpong = 2    [[Ping-pong bouncing loop: 1->2->3->2->1->2->3->1]]
diff --git a/src/lib/efl/interfaces/efl_io_positioner.eo 
b/src/lib/efl/interfaces/efl_io_positioner.eo
index 1c25b77..7e4c791 100644
--- a/src/lib/efl/interfaces/efl_io_positioner.eo
+++ b/src/lib/efl/interfaces/efl_io_positioner.eo
@@ -1,9 +1,10 @@
 import eina_types;
 
 enum Efl.Io.Positioner.Whence {
-    start, [[seek from start of the stream/file]]
-    current, [[seek from current position]]
-    end, [[seek from the end of stream/file]]
+    [[Seek position modes]]
+    start, [[Seek from start of the stream/file]]
+    current, [[Seek from current position]]
+    end, [[Seek from the end of stream/file]]
 }
 
 mixin Efl.Io.Positioner {
diff --git a/src/lib/efl/interfaces/efl_text_types.eot 
b/src/lib/efl/interfaces/efl_text_types.eot
index c44f0ec..199fdb0 100644
--- a/src/lib/efl/interfaces/efl_text_types.eot
+++ b/src/lib/efl/interfaces/efl_text_types.eot
@@ -1,7 +1,8 @@
 enum Efl.Text.Bidirectional_Type {
-   natural = 0,
-   neutral = 0,
-   ltr,
-   rtl,
-   inherit
+   [[Bidirectionaltext type]]
+   natural = 0, [[Natural text type, same as neutral]]
+   neutral = 0, [[Neutral text type, same as natural]]
+   ltr, [[Left to right text type]]
+   rtl, [[Right to left text type]]
+   inherit [[Inherit text type]]
 }

-- 


Reply via email to