add a method that returns the HWND window of an Ecore_Win32_Window

SVN revision: 34946
This commit is contained in:
doursse 2008-06-29 14:12:16 +00:00 committed by doursse
parent 448faf03a5
commit 0b2c6cdd5c
2 changed files with 10 additions and 0 deletions

View File

@ -324,6 +324,8 @@ EAPI Ecore_Win32_Window *ecore_win32_window_override_new(Ecore_Win32_Window *par
EAPI void ecore_win32_window_del(Ecore_Win32_Window *window);
EAPI void *ecore_win32_window_hwnd_get(Ecore_Win32_Window *window);
EAPI void ecore_win32_window_move(Ecore_Win32_Window *window,
int x,
int y);

View File

@ -76,6 +76,14 @@ ecore_win32_window_del(Ecore_Win32_Window *window)
printf ("ecore_win32_window_del\n");
}
void *
ecore_win32_window_hwnd_get(Ecore_Win32_Window *window)
{
if (!window) return NULL;
return ((struct _Ecore_Win32_Window *)window)->window;
}
/*
void
ecore_win32_window_configure(Ecore_Win32_Window *window,