add tdm_hwc_window_set_cursor_image
[platform/core/uifw/libtdm.git] / include / tdm_backend.h
index 1b73ba9..b131ced 100644 (file)
@@ -1056,6 +1056,18 @@ typedef struct _tdm_func_hwc_window {
         */
        tdm_error (*hwc_window_set_name)(tdm_hwc_window *hwc_window,
                                                                                                const char *name);
+
+       /**
+        * @brief Get buffer flags of cursor hwc_window
+        * @param[in] hwc_window A hwc window object
+        * @param[in] width of the cursor image
+        * @param[in] height of the cursor image
+        * @param[in] stride of the cursor image
+        * @param[in] virtual address of the cursor image
+        * @return #TDM_ERROR_NONE if success. Otherwise, error value.
+        */
+       tdm_error (*hwc_window_set_cursor_image)(tdm_hwc_window *hwc_window,
+                                                               int width, int height, int stride, void *ptr);
 } tdm_func_hwc_window;
 
 /**