raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3f389c6e1e102610d3c8a539f711f9e842540d3c

commit 3f389c6e1e102610d3c8a539f711f9e842540d3c
Author: Vincent Torri <vincent.to...@gmail.com>
Date:   Wed Apr 26 07:17:04 2017 +0200

    Ecore_Win32: add Property event API
    
    @feature
---
 src/lib/ecore_win32/Ecore_Win32.h | 19 +++++++++++++++++++
 src/lib/ecore_win32/ecore_win32.c |  3 +++
 2 files changed, 22 insertions(+)

diff --git a/src/lib/ecore_win32/Ecore_Win32.h 
b/src/lib/ecore_win32/Ecore_Win32.h
index 77f6922..19a8b2c 100644
--- a/src/lib/ecore_win32/Ecore_Win32.h
+++ b/src/lib/ecore_win32/Ecore_Win32.h
@@ -308,6 +308,13 @@ typedef struct _Ecore_Win32_Event_Window_Configure      
Ecore_Win32_Event_Window
 typedef struct _Ecore_Win32_Event_Window_Resize         
Ecore_Win32_Event_Window_Resize;
 
 /**
+ * @typedef Ecore_Win32_Event_Window_Property
+ * Event sent when the window properties are changed.
+ * @since 1.20
+ */
+typedef struct _Ecore_Win32_Event_Window_Property         
Ecore_Win32_Event_Window_Property;
+
+/**
  * @typedef Ecore_Win32_Event_Window_Delete_Request
  * Event sent when the window is deleted.
  */
@@ -457,6 +464,17 @@ struct _Ecore_Win32_Event_Window_Resize
 };
 
 /**
+ * @struct _Ecore_Win32_Event_Window_Property
+ * Event sent when the window properties are changed.
+ * @since 1.20
+ */
+struct _Ecore_Win32_Event_Window_Property
+{
+   Ecore_Win32_Window *window; /**< The window that received the event */
+   unsigned long       timestamp; /**< The time the event occurred */
+};
+
+/**
  * @struct _Ecore_Win32_Event_Window_Delete_Request
  * Event sent when the window is deleted.
  */
@@ -510,6 +528,7 @@ EAPI extern int ECORE_WIN32_EVENT_WINDOW_HIDE; /**< 
Ecore_Event for the Ecore_Wi
 EAPI extern int ECORE_WIN32_EVENT_WINDOW_SHOW; /**< Ecore_Event for the 
Ecore_Win32_Event_Show event */
 EAPI extern int ECORE_WIN32_EVENT_WINDOW_CONFIGURE; /**< Ecore_Event for the 
Ecore_Win32_Event_Configure event */
 EAPI extern int ECORE_WIN32_EVENT_WINDOW_RESIZE; /**< Ecore_Event for the 
Ecore_Win32_Event_Resize event */
+EAPI extern int ECORE_WIN32_EVENT_WINDOW_PROPERTY; /**< Ecore_Event for the 
Ecore_Win32_Event_Property event @since 1.20 */
 EAPI extern int ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST; /**< Ecore_Event for 
the #Ecore_Win32_Event_Window_Delete_Request event */
 EAPI extern int ECORE_WIN32_EVENT_SELECTION_CLEAR; /**< Ecore_Event for the 
#Ecore_Win32_Event_Selection_Clear event @since 1.16 */
 EAPI extern int ECORE_WIN32_EVENT_SELECTION_NOTIFY; /**< Ecore_Event for the 
#Ecore_Win32_Event_Selection_Notify event @since 1.16 */
diff --git a/src/lib/ecore_win32/ecore_win32.c 
b/src/lib/ecore_win32/ecore_win32.c
index 243647e..d7e4961 100644
--- a/src/lib/ecore_win32/ecore_win32.c
+++ b/src/lib/ecore_win32/ecore_win32.c
@@ -418,6 +418,7 @@ int ECORE_WIN32_EVENT_WINDOW_SHOW           = 0;
 int ECORE_WIN32_EVENT_WINDOW_HIDE           = 0;
 int ECORE_WIN32_EVENT_WINDOW_CONFIGURE      = 0;
 int ECORE_WIN32_EVENT_WINDOW_RESIZE         = 0;
+int ECORE_WIN32_EVENT_WINDOW_PROPERTY       = 0;
 int ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST = 0;
 int ECORE_WIN32_EVENT_SELECTION_CLEAR       = 0;
 int ECORE_WIN32_EVENT_SELECTION_NOTIFY      = 0;
@@ -567,6 +568,7 @@ ecore_win32_init()
         ECORE_WIN32_EVENT_WINDOW_HIDE           = ecore_event_type_new();
         ECORE_WIN32_EVENT_WINDOW_CONFIGURE      = ecore_event_type_new();
         ECORE_WIN32_EVENT_WINDOW_RESIZE         = ecore_event_type_new();
+        ECORE_WIN32_EVENT_WINDOW_PROPERTY       = ecore_event_type_new();
         ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST = ecore_event_type_new();
         ECORE_WIN32_EVENT_SELECTION_CLEAR       = ecore_event_type_new();
         ECORE_WIN32_EVENT_SELECTION_NOTIFY      = ecore_event_type_new();
@@ -625,6 +627,7 @@ ecore_win32_shutdown()
                           ECORE_WIN32_EVENT_WINDOW_HIDE,
                           ECORE_WIN32_EVENT_WINDOW_CONFIGURE,
                           ECORE_WIN32_EVENT_WINDOW_RESIZE,
+                          ECORE_WIN32_EVENT_WINDOW_PROPERTY,
                           ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST,
                           ECORE_WIN32_EVENT_SELECTION_CLEAR,
                           ECORE_WIN32_EVENT_SELECTION_NOTIFY);

-- 


Reply via email to