e_client: add a E_EVENT_CLIENT_ROTATION_GEOMETRY_SET event type 69/216169/1 accepted/tizen_4.0_unified tizen_4.0 accepted/tizen/4.0/unified/20191025.002205 submit/tizen_4.0/20191023.012226
authorDoyoun Kang <doyoun.kang@samsung.com>
Thu, 17 Oct 2019 05:27:53 +0000 (14:27 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 21 Oct 2019 01:44:55 +0000 (10:44 +0900)
Change-Id: I517850466d5ee48bf74cd105a3566788ce0496df

src/bin/e_client.c
src/bin/e_client.h

index d6a02784373d3e5deeb08244108a41604b743016..df4384c03ba92a61c02f57d511bb9acac4b18bdb 100644 (file)
@@ -26,6 +26,7 @@ E_API int E_EVENT_CLIENT_UNFULLSCREEN = -1;
 E_API int E_EVENT_CLIENT_ROTATION_CHANGE_BEGIN = -1;
 E_API int E_EVENT_CLIENT_ROTATION_CHANGE_CANCEL = -1;
 E_API int E_EVENT_CLIENT_ROTATION_CHANGE_END = -1;
+E_API int E_EVENT_CLIENT_ROTATION_GEOMETRY_SET = -1;
 #endif
 E_API int E_EVENT_CLIENT_VISIBILITY_CHANGE = -1;
 E_API int E_EVENT_CLIENT_BUFFER_CHANGE = -1;
@@ -3739,6 +3740,7 @@ e_client_init(void)
    E_EVENT_CLIENT_ROTATION_CHANGE_BEGIN = ecore_event_type_new();
    E_EVENT_CLIENT_ROTATION_CHANGE_CANCEL = ecore_event_type_new();
    E_EVENT_CLIENT_ROTATION_CHANGE_END = ecore_event_type_new();
+   E_EVENT_CLIENT_ROTATION_GEOMETRY_SET = ecore_event_type_new();
 #endif
    E_EVENT_CLIENT_VISIBILITY_CHANGE = ecore_event_type_new();
    E_EVENT_CLIENT_BUFFER_CHANGE = ecore_event_type_new();
index 764ddfd6ab3497e501bdb1aef50f3d0913084cd3..d5ef201556082c1f8345e8f244ba537533da1cf2 100644 (file)
@@ -212,6 +212,7 @@ typedef struct _E_Client_Intercept_Hook E_Client_Intercept_Hook;
 typedef struct E_Event_Client E_Event_Client_Rotation_Change_Begin;
 typedef struct E_Event_Client E_Event_Client_Rotation_Change_Cancel;
 typedef struct E_Event_Client E_Event_Client_Rotation_Change_End;
+typedef struct _E_Event_Client_Rotation_Geometry_Set E_Event_Client_Rotation_Geometry_Set;
 #endif
 
 typedef enum _E_Client_Hook_Point
@@ -313,6 +314,13 @@ struct _E_Client_Pending_Resize
    unsigned int  serial;
 };
 
+struct _E_Event_Client_Rotation_Geometry_Set
+{
+   E_Client *ec;
+   unsigned int angle; /* 0, 90, 180, 270 */
+   int x, y, w, h;
+};
+
 struct E_Client
 {
    E_Object e_obj_inherit;
@@ -988,6 +996,7 @@ E_API extern int E_EVENT_CLIENT_UNFULLSCREEN;
 E_API extern int E_EVENT_CLIENT_ROTATION_CHANGE_BEGIN;
 E_API extern int E_EVENT_CLIENT_ROTATION_CHANGE_CANCEL;
 E_API extern int E_EVENT_CLIENT_ROTATION_CHANGE_END;
+E_API extern int E_EVENT_CLIENT_ROTATION_GEOMETRY_SET;
 #endif
 E_API extern int E_EVENT_CLIENT_VISIBILITY_CHANGE;
 E_API extern int E_EVENT_CLIENT_BUFFER_CHANGE;