Change-Id: I9903ceef19d3c01022a4c4b3c845c8c3b01f0475
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
return NULL;
}
+Ecore_Wl2_Window*
+SDL_Tizen_GetNativeWindow(SDL_Window *window)
+{
+ SDL_WindowData *wind = NULL;
+ Ecore_Wl2_Window *ecore_window = NULL;
+
+ if (!window || !window->driverdata) {
+ return NULL;
+ }
+
+ wind = (SDL_WindowData *) window->driverdata;
+ if (wind->window) {
+ ecore_window = wind->window;
+ }
+
+ return ecore_window;
+}
+
unsigned int
SDL_Tizen_AddAuxiliaryHint(SDL_Window *window, const char *hint, const char *value)
{
extern void _tizen_quickpanel_off(SDL_WindowData *wind);
/**
+ * \brief Gets the ecore_wl2_window.
+ *
+ * \param window SDL_Window
+ * \return Ecore_Wl2_Window.
+ */
+extern TIZEN_INTERNAL_API Ecore_Wl2_Window* SDL_Tizen_GetNativeWindow(SDL_Window *window);
+
+/**
* \brief Gets the count of supported auxiliary hints of the window.
*
* \param window SDL_Window