ecore_wl2_window: added new aux_hint_generate API 94/257194/10
authorJunseok, Kim <juns.kim@samsung.com>
Wed, 21 Apr 2021 02:25:06 +0000 (11:25 +0900)
committerJunseok, Kim <juns.kim@samsung.com>
Wed, 21 Apr 2021 08:57:08 +0000 (17:57 +0900)
commit899a85bcf567c0d6ff72eaa149acca18826ddd02
tree5beff9c2a2f8e6b99caebecb49607831f4508626
parent868fc8c797684df7591d134f1e1ee2df396261f5
ecore_wl2_window: added new aux_hint_generate API

We added new APIs for handling the aux_hint as below.

API added
 - int ecore_wl2_window_aux_hint_generate(Ecore_Wl2_Window *win, const char *hint, const char *val);
 - int ecore_wl2_window_aux_hint_id_get(Ecore_Wl2_Window *win, const char *hint);
 - const char *ecore_wl2_window_aux_hint_value_get(Ecore_Wl2_Window *win, int id);

The ecore_wl2_window_aux_hint_generate works similar as ecore_wl2_window_aux_hint_add,
however, this API is no need to give an ID.
It is assigned automatically in this function.

The ecore_wl2_window_aux_hint_id_get returns hint ID corresponding to the "hint" parameter.

The ecore_wl2_window_aux_hint_val_get returns hint value corresponding to the "id" parameter.

Change-Id: I3bec6844c6f2ce7d5105c5792961cb8bae144480
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
src/lib/ecore_wl2/Ecore_Wl2.h
src/lib/ecore_wl2/ecore_wl2_window.c