Evas: EO-ify Evas_Event_Render_Post
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 8 Jun 2016 04:45:38 +0000 (13:45 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 8 Jun 2016 04:59:08 +0000 (13:59 +0900)
As Efl.Gfx.Event.Render_Post.
To be implemented by Efl.Ui.Window

src/lib/efl/interfaces/efl_gfx_types.eot
src/lib/evas/Evas_Common.h

index 0e4dd1e..86b860b 100644 (file)
@@ -168,3 +168,9 @@ enum Efl.Gfx.Change.Flag
    all     = -1   [[all property got changed]]
 }
 
+struct Efl.Gfx.Event.Render_Post
+{
+   [[Data sent along a "render,post" event, after a frame has been rendered.]]
+   updated_area: list <Eina.Rectangle>; [[A list of rectangles that were
+                                          updated in the canvas.]]
+}
index fbd6554..f793264 100644 (file)
@@ -244,7 +244,6 @@ typedef struct _Evas_Event_Multi_Move    Evas_Event_Multi_Move; /**< Event struc
 typedef struct _Evas_Event_Key_Down      Evas_Event_Key_Down; /**< Event structure for #EVAS_CALLBACK_KEY_DOWN event callbacks */
 typedef struct _Evas_Event_Key_Up        Evas_Event_Key_Up; /**< Event structure for #EVAS_CALLBACK_KEY_UP event callbacks */
 typedef struct _Evas_Event_Hold          Evas_Event_Hold; /**< Event structure for #EVAS_CALLBACK_HOLD event callbacks */
-typedef struct _Evas_Event_Render_Post   Evas_Event_Render_Post; /**< Event structure that may come with #EVAS_CALLBACK_RENDER_POST event callbacks @since 1.8 */
 typedef struct _Evas_Event_Axis_Update   Evas_Event_Axis_Update; /**< Event structure for #EVAS_CALLBACK_AXIS_UPDATE event callbacks @since 1.13 */
 
 /* Opaque types */
@@ -317,6 +316,8 @@ typedef enum _Evas_Engine_Render_Mode
    EVAS_RENDER_MODE_NONBLOCKING = 1, /**< The rendering is non blocking mode*/
 } Evas_Engine_Render_Mode; /**< behaviour of the renderer*/
 
+typedef Efl_Gfx_Event_Render_Post          Evas_Event_Render_Post; /**< Event info sent after a frame was rendered. @since 1.18 */
+
 typedef Efl_Input_Device_Class             Evas_Device_Class;
 
 #define EVAS_DEVICE_CLASS_NONE             EFL_INPUT_DEVICE_CLASS_NONE /**< Not a device @since 1.8 */
@@ -547,11 +548,6 @@ struct _Evas_Event_Key_Up /** Key release event */
    unsigned int     keycode; /**< Key scan code numeric value @since 1.10 */
 };
 
-struct _Evas_Event_Render_Post /** Send when the frame rendering is done @since 1.8 */
-{
-   Eina_List *updated_area; /**< A list of rectangle that were updated in the canvas */
-};
-
 struct _Evas_Event_Hold /** Hold change event */
 {
    int              hold; /**< The hold flag */