From e3160da0f7bc1f48cc7e7264aa830a6db3c8bdc1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Wed, 8 Jun 2016 13:45:38 +0900 Subject: [PATCH] Evas: EO-ify Evas_Event_Render_Post As Efl.Gfx.Event.Render_Post. To be implemented by Efl.Ui.Window --- src/lib/efl/interfaces/efl_gfx_types.eot | 6 ++++++ src/lib/evas/Evas_Common.h | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/lib/efl/interfaces/efl_gfx_types.eot b/src/lib/efl/interfaces/efl_gfx_types.eot index 0e4dd1e916..86b860b3cd 100644 --- a/src/lib/efl/interfaces/efl_gfx_types.eot +++ b/src/lib/efl/interfaces/efl_gfx_types.eot @@ -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 ; [[A list of rectangles that were + updated in the canvas.]] +} diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h index fbd6554f97..f793264a50 100644 --- a/src/lib/evas/Evas_Common.h +++ b/src/lib/evas/Evas_Common.h @@ -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 */