forked from enlightenment/efl
parent
82bc9fb21d
commit
7311be0ec4
|
@ -1269,8 +1269,11 @@ _ecore_evas_win32_new_internal(int (*_ecore_evas_engine_init)(Ecore_Evas *ee),
|
||||||
|
|
||||||
return ee;
|
return ee;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* BUILD_ECORE_EVAS_WIN32 */
|
#endif /* BUILD_ECORE_EVAS_WIN32 */
|
||||||
|
|
||||||
|
#ifdef BUILD_ECORE_EVAS_SOFTWARE_DDRAW
|
||||||
|
|
||||||
EAPI Ecore_Evas *
|
EAPI Ecore_Evas *
|
||||||
ecore_evas_software_ddraw_new(Ecore_Win32_Window *parent,
|
ecore_evas_software_ddraw_new(Ecore_Win32_Window *parent,
|
||||||
int x,
|
int x,
|
||||||
|
@ -1278,23 +1281,31 @@ ecore_evas_software_ddraw_new(Ecore_Win32_Window *parent,
|
||||||
int width,
|
int width,
|
||||||
int height)
|
int height)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_ECORE_EVAS_SOFTWARE_DDRAW
|
|
||||||
return _ecore_evas_win32_new_internal(_ecore_evas_engine_software_ddraw_init,
|
return _ecore_evas_win32_new_internal(_ecore_evas_engine_software_ddraw_init,
|
||||||
parent,
|
parent,
|
||||||
x,
|
x,
|
||||||
y,
|
y,
|
||||||
width,
|
width,
|
||||||
height);
|
height);
|
||||||
#else
|
|
||||||
return NULL;
|
|
||||||
parent = NULL;
|
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
width = 0;
|
|
||||||
height = 0;
|
|
||||||
#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_DDRAW */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
EAPI Ecore_Evas *
|
||||||
|
ecore_evas_software_ddraw_new(Ecore_Win32_Window *parent __UNUSED__,
|
||||||
|
int x __UNUSED__,
|
||||||
|
int y __UNUSED__,
|
||||||
|
int width __UNUSED__,
|
||||||
|
int height __UNUSED__)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_DDRAW */
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_DIRECTDRAW
|
||||||
|
|
||||||
EAPI Ecore_Evas *
|
EAPI Ecore_Evas *
|
||||||
ecore_evas_software_16_ddraw_new(Ecore_Win32_Window *parent,
|
ecore_evas_software_16_ddraw_new(Ecore_Win32_Window *parent,
|
||||||
int x,
|
int x,
|
||||||
|
@ -1302,23 +1313,31 @@ ecore_evas_software_16_ddraw_new(Ecore_Win32_Window *parent,
|
||||||
int width,
|
int width,
|
||||||
int height)
|
int height)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_DIRECTDRAW
|
|
||||||
return _ecore_evas_win32_new_internal(_ecore_evas_engine_software_16_ddraw_init,
|
return _ecore_evas_win32_new_internal(_ecore_evas_engine_software_16_ddraw_init,
|
||||||
parent,
|
parent,
|
||||||
x,
|
x,
|
||||||
y,
|
y,
|
||||||
width,
|
width,
|
||||||
height);
|
height);
|
||||||
#else
|
|
||||||
return NULL;
|
|
||||||
parent = NULL;
|
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
width = 0;
|
|
||||||
height = 0;
|
|
||||||
#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_DIRECTDRAW */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
EAPI Ecore_Evas *
|
||||||
|
ecore_evas_software_16_ddraw_new(Ecore_Win32_Window *parent __UNUSED__,
|
||||||
|
int x __UNUSED__,
|
||||||
|
int y __UNUSED__,
|
||||||
|
int width __UNUSED__,
|
||||||
|
int height __UNUSED__)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_DIRECTDRAW */
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef BUILD_ECORE_EVAS_DIRECT3D
|
||||||
|
|
||||||
EAPI Ecore_Evas *
|
EAPI Ecore_Evas *
|
||||||
ecore_evas_direct3d_new(Ecore_Win32_Window *parent,
|
ecore_evas_direct3d_new(Ecore_Win32_Window *parent,
|
||||||
int x,
|
int x,
|
||||||
|
@ -1326,23 +1345,31 @@ ecore_evas_direct3d_new(Ecore_Win32_Window *parent,
|
||||||
int width,
|
int width,
|
||||||
int height)
|
int height)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_ECORE_EVAS_DIRECT3D
|
|
||||||
return _ecore_evas_win32_new_internal(_ecore_evas_engine_direct3d_init,
|
return _ecore_evas_win32_new_internal(_ecore_evas_engine_direct3d_init,
|
||||||
parent,
|
parent,
|
||||||
x,
|
x,
|
||||||
y,
|
y,
|
||||||
width,
|
width,
|
||||||
height);
|
height);
|
||||||
#else
|
|
||||||
return NULL;
|
|
||||||
parent = NULL;
|
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
width = 0;
|
|
||||||
height = 0;
|
|
||||||
#endif /* ! BUILD_ECORE_EVAS_DIRECT3D */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
EAPI Ecore_Evas *
|
||||||
|
ecore_evas_direct3d_new(Ecore_Win32_Window *parent __UNUSED__,
|
||||||
|
int x __UNUSED__,
|
||||||
|
int y __UNUSED__,
|
||||||
|
int width __UNUSED__,
|
||||||
|
int height __UNUSED__)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* ! BUILD_ECORE_EVAS_DIRECT3D */
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef BUILD_ECORE_EVAS_OPENGL_GLEW
|
||||||
|
|
||||||
EAPI Ecore_Evas *
|
EAPI Ecore_Evas *
|
||||||
ecore_evas_gl_glew_new(Ecore_Win32_Window *parent,
|
ecore_evas_gl_glew_new(Ecore_Win32_Window *parent,
|
||||||
int x,
|
int x,
|
||||||
|
@ -1350,30 +1377,43 @@ ecore_evas_gl_glew_new(Ecore_Win32_Window *parent,
|
||||||
int width,
|
int width,
|
||||||
int height)
|
int height)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_ECORE_EVAS_OPENGL_GLEW
|
|
||||||
return _ecore_evas_win32_new_internal(_ecore_evas_engine_opengl_glew_init,
|
return _ecore_evas_win32_new_internal(_ecore_evas_engine_opengl_glew_init,
|
||||||
parent,
|
parent,
|
||||||
x,
|
x,
|
||||||
y,
|
y,
|
||||||
width,
|
width,
|
||||||
height);
|
height);
|
||||||
#else
|
|
||||||
return NULL;
|
|
||||||
parent = NULL;
|
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
width = 0;
|
|
||||||
height = 0;
|
|
||||||
#endif /* BUILD_ECORE_EVAS_OPENGL_GLEW */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
EAPI Ecore_Evas *
|
||||||
|
ecore_evas_gl_glew_new(Ecore_Win32_Window *parent,
|
||||||
|
int x,
|
||||||
|
int y,
|
||||||
|
int width,
|
||||||
|
int height)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* BUILD_ECORE_EVAS_OPENGL_GLEW */
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef BUILD_ECORE_EVAS_WIN32
|
||||||
|
|
||||||
EAPI Ecore_Win32_Window *
|
EAPI Ecore_Win32_Window *
|
||||||
ecore_evas_win32_window_get(const Ecore_Evas *ee)
|
ecore_evas_win32_window_get(const Ecore_Evas *ee)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_ECORE_EVAS_WIN32
|
|
||||||
return (Ecore_Win32_Window *) _ecore_evas_win32_window_get(ee);
|
return (Ecore_Win32_Window *) _ecore_evas_win32_window_get(ee);
|
||||||
#else
|
|
||||||
return NULL;
|
|
||||||
ee = NULL;
|
|
||||||
#endif /* BUILD_ECORE_EVAS_WIN32 */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
EAPI Ecore_Win32_Window *
|
||||||
|
ecore_evas_win32_window_get(const Ecore_Evas *ee)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* BUILD_ECORE_EVAS_WIN32 */
|
||||||
|
|
|
@ -1055,6 +1055,21 @@ ecore_evas_software_wince_new_internal(int backend,
|
||||||
|
|
||||||
return ee;
|
return ee;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
static Ecore_Evas *
|
||||||
|
ecore_evas_software_wince_new_internal(int backend __UNUSED__,
|
||||||
|
Ecore_WinCE_Window *parent __UNUSED__,
|
||||||
|
int x __UNUSED__,
|
||||||
|
int y __UNUSED__,
|
||||||
|
int width __UNUSED__,
|
||||||
|
int height __UNUSED__,
|
||||||
|
int fullscreen __UNUSED__)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* BUILD_ECORE_EVAS_SOFTWARE_16_WINCE */
|
#endif /* BUILD_ECORE_EVAS_SOFTWARE_16_WINCE */
|
||||||
|
|
||||||
|
|
||||||
|
@ -1065,16 +1080,7 @@ ecore_evas_software_wince_new(Ecore_WinCE_Window *parent,
|
||||||
int width,
|
int width,
|
||||||
int height)
|
int height)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_WINCE
|
|
||||||
return ecore_evas_software_wince_new_internal(0, parent, x, y, width, height, 1);
|
return ecore_evas_software_wince_new_internal(0, parent, x, y, width, height, 1);
|
||||||
#else
|
|
||||||
return NULL;
|
|
||||||
parent = NULL;
|
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
width = 0;
|
|
||||||
height = 0;
|
|
||||||
#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_WINCE */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Ecore_Evas *
|
EAPI Ecore_Evas *
|
||||||
|
@ -1084,16 +1090,7 @@ ecore_evas_software_wince_fb_new(Ecore_WinCE_Window *parent,
|
||||||
int width,
|
int width,
|
||||||
int height)
|
int height)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_WINCE
|
|
||||||
return ecore_evas_software_wince_new_internal(1, parent, x, y, width, height, 1);
|
return ecore_evas_software_wince_new_internal(1, parent, x, y, width, height, 1);
|
||||||
#else
|
|
||||||
return NULL;
|
|
||||||
parent = NULL;
|
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
width = 0;
|
|
||||||
height = 0;
|
|
||||||
#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_WINCE */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Ecore_Evas *
|
EAPI Ecore_Evas *
|
||||||
|
@ -1103,16 +1100,7 @@ ecore_evas_software_wince_gapi_new(Ecore_WinCE_Window *parent,
|
||||||
int width,
|
int width,
|
||||||
int height)
|
int height)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_WINCE
|
|
||||||
return ecore_evas_software_wince_new_internal(2, parent, x, y, width, height, 1);
|
return ecore_evas_software_wince_new_internal(2, parent, x, y, width, height, 1);
|
||||||
#else
|
|
||||||
return NULL;
|
|
||||||
parent = NULL;
|
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
width = 0;
|
|
||||||
height = 0;
|
|
||||||
#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_WINCE */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Ecore_Evas *
|
EAPI Ecore_Evas *
|
||||||
|
@ -1122,16 +1110,7 @@ ecore_evas_software_wince_ddraw_new(Ecore_WinCE_Window *parent,
|
||||||
int width,
|
int width,
|
||||||
int height)
|
int height)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_WINCE
|
|
||||||
return ecore_evas_software_wince_new_internal(3, parent, x, y, width, height, 1);
|
return ecore_evas_software_wince_new_internal(3, parent, x, y, width, height, 1);
|
||||||
#else
|
|
||||||
return NULL;
|
|
||||||
parent = NULL;
|
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
width = 0;
|
|
||||||
height = 0;
|
|
||||||
#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_WINCE */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Ecore_Evas *
|
EAPI Ecore_Evas *
|
||||||
|
@ -1141,24 +1120,23 @@ ecore_evas_software_wince_gdi_new(Ecore_WinCE_Window *parent,
|
||||||
int width,
|
int width,
|
||||||
int height)
|
int height)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_WINCE
|
|
||||||
return ecore_evas_software_wince_new_internal(4, parent, x, y, width, height, 0);
|
return ecore_evas_software_wince_new_internal(4, parent, x, y, width, height, 0);
|
||||||
#else
|
|
||||||
return NULL;
|
|
||||||
parent = NULL;
|
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
width = 0;
|
|
||||||
height = 0;
|
|
||||||
#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_WINCE */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_WINCE
|
||||||
|
|
||||||
EAPI Ecore_WinCE_Window *
|
EAPI Ecore_WinCE_Window *
|
||||||
ecore_evas_software_wince_window_get(const Ecore_Evas *ee)
|
ecore_evas_software_wince_window_get(const Ecore_Evas *ee)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_WINCE
|
|
||||||
return (Ecore_WinCE_Window *) _ecore_evas_wince_window_get(ee);
|
return (Ecore_WinCE_Window *) _ecore_evas_wince_window_get(ee);
|
||||||
#else
|
|
||||||
return NULL;
|
|
||||||
#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_WINCE */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
EAPI Ecore_WinCE_Window *
|
||||||
|
ecore_evas_software_wince_window_get(const Ecore_Evas *ee __UNUSED__)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_WINCE */
|
||||||
|
|
Loading…
Reference in New Issue