}
static int
-_ecore_evas_sdl_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_sdl_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
{
Ecore_Evas *ee;
}
static int
-_ecore_evas_sdl_event_lost_focus(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_sdl_event_lost_focus(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
{
Ecore_Evas *ee;
}
static int
-_ecore_evas_sdl_event(void *data)
+_ecore_evas_sdl_event(void *data __UNUSED__)
{
ecore_sdl_feed_events();
}
static int
-_ecore_evas_sdl_init(int w, int h)
+_ecore_evas_sdl_init(int w __UNUSED__, int h __UNUSED__)
{
_ecore_evas_init_count++;
if (_ecore_evas_init_count > 1) return _ecore_evas_init_count;
}
static void
-_ecore_evas_object_cursor_del(void *data, Evas *e, Evas_Object *obj, void *event_info)
+_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Ecore_Evas *ee;
}
#endif
+#ifdef BUILD_ECORE_EVAS_SOFTWARE_SDL
EAPI Ecore_Evas*
ecore_evas_sdl_new(const char* name, int w, int h, int fullscreen, int hwsurface, int noframe, int alpha)
{
-#ifdef BUILD_ECORE_EVAS_SOFTWARE_SDL
Ecore_Evas *ee;
int rmethod;
ee = _ecore_evas_internal_sdl_new(rmethod, name, w, h, fullscreen, hwsurface, noframe, alpha);
ee->driver = "sdl";
return ee;
+}
#else
+EAPI Ecore_Evas*
+ecore_evas_sdl_new(const char* name __UNUSED__, int w __UNUSED__, int h __UNUSED__, int fullscreen __UNUSED__, int hwsurface __UNUSED__, int noframe __UNUSED__, int alpha __UNUSED__)
+{
fprintf(stderr, "OUTCH !\n");
return NULL;
-#endif
}
+#endif
+#ifdef BUILD_ECORE_EVAS_SOFTWARE_SDL
EAPI Ecore_Evas*
ecore_evas_sdl16_new(const char* name, int w, int h, int fullscreen, int hwsurface, int noframe, int alpha)
{
-#ifdef BUILD_ECORE_EVAS_SOFTWARE_SDL
Ecore_Evas *ee;
int rmethod;
ee = _ecore_evas_internal_sdl_new(rmethod, name, w, h, fullscreen, hwsurface, noframe, alpha);
ee->driver = "software_16_sdl";
return ee;
+}
#else
+EAPI Ecore_Evas*
+ecore_evas_sdl16_new(const char* name __UNUSED__, int w __UNUSED__, int h __UNUSED__, int fullscreen __UNUSED__, int hwsurface __UNUSED__, int noframe __UNUSED__, int alpha __UNUSED__)
+{
fprintf(stderr, "OUTCH !\n");
return NULL;
-#endif
}
+#endif
/* Interceptors Callbacks */
static void
-_ecore_evas_obj_intercept_move(void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y)
+_ecore_evas_obj_intercept_move(void *data, Evas_Object *obj __UNUSED__, Evas_Coord x, Evas_Coord y)
{
Ecore_Evas *ee = data;
// FIXME: account for frame
}
static void
-_ecore_evas_obj_intercept_raise(void *data, Evas_Object *obj)
+_ecore_evas_obj_intercept_raise(void *data, Evas_Object *obj __UNUSED__)
{
Ecore_Evas *ee = data;
ecore_evas_raise(ee);
}
static void
-_ecore_evas_obj_intercept_lower(void *data, Evas_Object *obj)
+_ecore_evas_obj_intercept_lower(void *data, Evas_Object *obj __UNUSED__)
{
Ecore_Evas *ee = data;
ecore_evas_lower(ee);
}
static void
-_ecore_evas_obj_intercept_stack_above(void *data, Evas_Object *obj, Evas_Object *above)
+_ecore_evas_obj_intercept_stack_above(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *above __UNUSED__)
{
fprintf(stderr, "TODO: %s\n", __FUNCTION__);
}
static void
-_ecore_evas_obj_intercept_stack_below(void *data, Evas_Object *obj, Evas_Object *below)
+_ecore_evas_obj_intercept_stack_below(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *below __UNUSED__)
{
fprintf(stderr, "TODO: %s\n", __FUNCTION__);
}
static void
-_ecore_evas_obj_intercept_layer_set(void *data, Evas_Object *obj, int l)
+_ecore_evas_obj_intercept_layer_set(void *data, Evas_Object *obj __UNUSED__, int l)
{
Ecore_Evas *ee = data;
ecore_evas_layer_set(ee, l);
/* Event Callbacks */
static void
-_ecore_evas_obj_callback_show(void *data, Evas *e, Evas_Object *obj, void *event_info)
+_ecore_evas_obj_callback_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Ecore_Evas *ee = data;
ecore_evas_show(ee);
}
static void
-_ecore_evas_obj_callback_hide(void *data, Evas *e, Evas_Object *obj, void *event_info)
+_ecore_evas_obj_callback_hide(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Ecore_Evas *ee = data;
ecore_evas_hide(ee);
}
static void
-_ecore_evas_obj_callback_resize(void *data, Evas *e, Evas_Object *obj, void *event_info)
+_ecore_evas_obj_callback_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
{
Ecore_Evas *ee = data;
Evas_Coord ow, oh, w, h;
}
static void
-_ecore_evas_obj_callback_changed_size_hints(void *data, Evas *e, Evas_Object *obj, void *event_info)
+_ecore_evas_obj_callback_changed_size_hints(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
{
Ecore_Evas *ee = data;
Evas_Coord w, h;
}
static void
-_ecore_evas_obj_callback_del(void *data, Evas *e, Evas_Object *obj, void *event_info)
+_ecore_evas_obj_callback_del(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
{
Ecore_Evas *ee = data;
_ecore_evas_object_dissociate(ee, obj);
}
static void
-_ecore_evas_obj_callback_del_dissociate(void *data, Evas *e, Evas_Object *obj, void *event_info)
+_ecore_evas_obj_callback_del_dissociate(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
{
Ecore_Evas *ee = data;
_ecore_evas_object_dissociate(ee, obj);
* when this option is executed.
*/
unsigned char
-ecore_getopt_callback_ecore_evas_list_engines(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, const char *str, void *data, Ecore_Getopt_Value *storage)
+ecore_getopt_callback_ecore_evas_list_engines(const Ecore_Getopt *parser __UNUSED__, const Ecore_Getopt_Desc *desc __UNUSED__, const char *str __UNUSED__, void *data, Ecore_Getopt_Value *storage)
{
Eina_List *lst, *n;
const char *engine;
}
static void
-_ecore_evas_object_cursor_del(void *data, Evas *e, Evas_Object *obj, void *event_info)
+_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Ecore_Evas *ee;
*
* FIXME: To be fixed.
*/
+#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_XCB)
EAPI Ecore_Evas *
ecore_evas_software_x11_new(const char *disp_name, Ecore_X_Window parent,
int x, int y, int w, int h)
{
-#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_XCB)
Evas_Engine_Info_Software_X11 *einfo;
Ecore_Evas *ee;
int argb = 0;
ecore_evases = _ecore_list2_prepend(ecore_evases, ee);
ecore_event_window_register(ee->prop.window, ee, ee->evas, (Ecore_Event_Mouse_Move_Cb) _ecore_evas_mouse_move_process);
return ee;
+}
#else
+EAPI Ecore_Evas *
+ecore_evas_software_x11_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
+ int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
+{
return NULL;
-#endif
}
+#endif
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_XCB)
EAPI Ecore_X_Window
ecore_evas_software_x11_window_get(const Ecore_Evas *ee)
{
-#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_XCB)
return (Ecore_X_Window) ecore_evas_window_get(ee);
+}
#else
+EAPI Ecore_X_Window
+ecore_evas_software_x11_window_get(const Ecore_Evas *ee __UNUSED__)
+{
return 0;
-#endif
}
+#endif
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_XCB)
EAPI Ecore_X_Window
ecore_evas_software_x11_subwindow_get(const Ecore_Evas *ee)
{
-#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_XCB)
return (Ecore_X_Window) ecore_evas_window_get(ee);
+}
#else
+EAPI Ecore_X_Window
+ecore_evas_software_x11_subwindow_get(const Ecore_Evas *ee __UNUSED__)
+{
return 0;
-#endif
}
+#endif
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_XCB)
EAPI void
ecore_evas_software_x11_direct_resize_set(Ecore_Evas *ee, int on)
{
-#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_XCB)
ee->engine.x.direct_resize = on;
if (ee->prop.avoid_damage)
{
*/
}
}
+}
#else
- return;
-#endif
+EAPI void
+ecore_evas_software_x11_direct_resize_set(Ecore_Evas *ee __UNUSED__, int on __UNUSED__)
+{
}
+#endif
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_XCB)
EAPI int
ecore_evas_software_x11_direct_resize_get(const Ecore_Evas *ee)
{
-#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_XCB)
return ee->engine.x.direct_resize;
+}
#else
+EAPI int
+ecore_evas_software_x11_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
+{
return 0;
-#endif
}
+#endif
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_XCB)
EAPI void
ecore_evas_software_x11_extra_event_window_add(Ecore_Evas *ee, Ecore_X_Window win)
{
-#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_XCB)
Ecore_X_Window *winp;
winp = malloc(sizeof(Ecore_X_Window));
ee->engine.x.win_extra = eina_list_append(ee->engine.x.win_extra, winp);
ecore_event_window_register(win, ee, ee->evas, (Ecore_Event_Mouse_Move_Cb) _ecore_evas_mouse_move_process);
}
+}
#else
-#endif
+EAPI void
+ecore_evas_software_x11_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
+{
}
+#endif
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#ifdef BUILD_ECORE_EVAS_OPENGL_X11
EAPI Ecore_Evas *
ecore_evas_gl_x11_new(const char *disp_name, Ecore_X_Window parent,
int x, int y, int w, int h)
{
-#ifdef BUILD_ECORE_EVAS_OPENGL_X11
# ifdef HAVE_ECORE_X_XCB
Ecore_Evas *ee = NULL;
# else
# endif /* HAVE_ECORE_X_XCB */
return ee;
+}
#else
- disp_name = NULL;
- parent = 0;
- x = y = w = h = 0;
+EAPI Ecore_Evas *
+ecore_evas_gl_x11_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
+ int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
+{
return NULL;
-#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
}
+#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#ifdef BUILD_ECORE_EVAS_OPENGL_X11
EAPI Ecore_X_Window
ecore_evas_gl_x11_window_get(const Ecore_Evas *ee)
{
-#ifdef BUILD_ECORE_EVAS_OPENGL_X11
return (Ecore_X_Window) ecore_evas_window_get(ee);
+}
#else
+EAPI Ecore_X_Window
+ecore_evas_gl_x11_window_get(const Ecore_Evas *ee __UNUSED__)
+{
return 0;
-#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
}
+#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#ifdef BUILD_ECORE_EVAS_OPENGL_X11
EAPI Ecore_X_Window
ecore_evas_gl_x11_subwindow_get(const Ecore_Evas *ee)
{
-#ifdef BUILD_ECORE_EVAS_OPENGL_X11
return (Ecore_X_Window) ecore_evas_window_get(ee);
+}
#else
+EAPI Ecore_X_Window
+ecore_evas_gl_x11_subwindow_get(const Ecore_Evas *ee __UNUSED__)
+{
return 0;
-#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
}
+#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#ifdef BUILD_ECORE_EVAS_OPENGL_X11
EAPI void
ecore_evas_gl_x11_direct_resize_set(Ecore_Evas *ee, int on)
{
-#ifdef BUILD_ECORE_EVAS_OPENGL_X11
ee->engine.x.direct_resize = on;
+}
#else
- return;
-#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
+EAPI void
+ecore_evas_gl_x11_direct_resize_set(Ecore_Evas *ee __UNUSED__, int on __UNUSED__)
+{
}
+#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#ifdef BUILD_ECORE_EVAS_OPENGL_X11
EAPI int
ecore_evas_gl_x11_direct_resize_get(const Ecore_Evas *ee)
{
-#ifdef BUILD_ECORE_EVAS_OPENGL_X11
return ee->engine.x.direct_resize;
+}
#else
+EAPI int
+ecore_evas_gl_x11_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
+{
return 0;
-#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
}
+#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#ifdef BUILD_ECORE_EVAS_OPENGL_X11
EAPI void
ecore_evas_gl_x11_extra_event_window_add(Ecore_Evas *ee, Ecore_X_Window win)
{
-#ifdef BUILD_ECORE_EVAS_OPENGL_X11
ecore_evas_software_x11_extra_event_window_add(ee, win);
-#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
}
+#else
+EAPI void
+ecore_evas_gl_x11_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
+{
+}
+#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB)
EAPI Ecore_Evas *
ecore_evas_xrender_x11_new(const char *disp_name, Ecore_X_Window parent,
int x, int y, int w, int h)
{
-#if defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB)
Evas_Engine_Info_XRender_X11 *einfo;
Ecore_Evas *ee;
int rmethod;
ecore_evases = _ecore_list2_prepend(ecore_evases, ee);
ecore_event_window_register(ee->prop.window, ee, ee->evas, (Ecore_Event_Mouse_Move_Cb) _ecore_evas_mouse_move_process);
return ee;
+}
#else
+EAPI Ecore_Evas *
+ecore_evas_xrender_x11_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
+ int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
+{
return NULL;
-#endif /* ! BUILD_ECORE_EVAS_XRENDER_X11 && ! BUILD_ECORE_EVAS_XRENDER_XCB */
}
+#endif /* ! BUILD_ECORE_EVAS_XRENDER_X11 && ! BUILD_ECORE_EVAS_XRENDER_XCB */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB)
EAPI Ecore_X_Window
ecore_evas_xrender_x11_window_get(const Ecore_Evas *ee)
{
-#if defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB)
return (Ecore_X_Window) ecore_evas_window_get(ee);
+}
#else
+EAPI Ecore_X_Window
+ecore_evas_xrender_x11_window_get(const Ecore_Evas *ee __UNUSED__)
+{
return 0;
-#endif /* ! BUILD_ECORE_EVAS_XRENDER_X11 && ! BUILD_ECORE_EVAS_XRENDER_XCB */
}
+#endif /* ! BUILD_ECORE_EVAS_XRENDER_X11 && ! BUILD_ECORE_EVAS_XRENDER_XCB */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB)
EAPI Ecore_X_Window
ecore_evas_xrender_x11_subwindow_get(const Ecore_Evas *ee)
{
-#if defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB)
return (Ecore_X_Window) ecore_evas_window_get(ee);
+}
#else
+EAPI Ecore_X_Window
+ecore_evas_xrender_x11_subwindow_get(const Ecore_Evas *ee __UNUSED__)
+{
return 0;
-#endif /* ! BUILD_ECORE_EVAS_XRENDER_X11 && ! BUILD_ECORE_EVAS_XRENDER_XCB */
}
+#endif /* ! BUILD_ECORE_EVAS_XRENDER_X11 && ! BUILD_ECORE_EVAS_XRENDER_XCB */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB)
EAPI void
ecore_evas_xrender_x11_direct_resize_set(Ecore_Evas *ee, int on)
{
-#if defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB)
ee->engine.x.direct_resize = on;
+}
#else
- return;
-#endif /* ! BUILD_ECORE_EVAS_XRENDER_X11 && ! BUILD_ECORE_EVAS_XRENDER_XCB */
+EAPI void
+ecore_evas_xrender_x11_direct_resize_set(Ecore_Evas *ee __UNUSED__, int on __UNUSED__)
+{
}
+#endif /* ! BUILD_ECORE_EVAS_XRENDER_X11 && ! BUILD_ECORE_EVAS_XRENDER_XCB */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB)
EAPI int
ecore_evas_xrender_x11_direct_resize_get(const Ecore_Evas *ee)
{
-#if defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB)
return ee->engine.x.direct_resize;
+}
#else
+EAPI int
+ecore_evas_xrender_x11_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
+{
return 0;
-#endif /* ! BUILD_ECORE_EVAS_XRENDER_X11 && ! BUILD_ECORE_EVAS_XRENDER_XCB */
}
+#endif /* ! BUILD_ECORE_EVAS_XRENDER_X11 && ! BUILD_ECORE_EVAS_XRENDER_XCB */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB)
EAPI void
ecore_evas_xrender_x11_extra_event_window_add(Ecore_Evas *ee, Ecore_X_Window win)
{
-#if defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB)
ecore_evas_software_x11_extra_event_window_add(ee, win);
+}
#else
- return;
-#endif /* ! BUILD_ECORE_EVAS_XRENDER_X11 && ! BUILD_ECORE_EVAS_XRENDER_XCB */
+EAPI void
+ecore_evas_xrender_x11_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
+{
}
+#endif /* ! BUILD_ECORE_EVAS_XRENDER_X11 && ! BUILD_ECORE_EVAS_XRENDER_XCB */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if BUILD_ECORE_EVAS_SOFTWARE_16_X11
EAPI Ecore_Evas *
ecore_evas_software_x11_16_new(const char *disp_name, Ecore_X_Window parent,
int x, int y, int w, int h)
{
-#if BUILD_ECORE_EVAS_SOFTWARE_16_X11
Evas_Engine_Info_Software_16_X11 *einfo;
Ecore_Evas *ee;
int argb = 0;
ecore_evases = _ecore_list2_prepend(ecore_evases, ee);
ecore_event_window_register(ee->prop.window, ee, ee->evas, (Ecore_Event_Mouse_Move_Cb) _ecore_evas_mouse_move_process);
return ee;
+}
#else
+EAPI Ecore_Evas *
+ecore_evas_software_x11_16_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
+ int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
+{
return NULL;
-#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_X11 */
}
+#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_X11 */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if BUILD_ECORE_EVAS_SOFTWARE_16_X11
EAPI Ecore_X_Window
ecore_evas_software_x11_16_window_get(const Ecore_Evas *ee)
{
-#if BUILD_ECORE_EVAS_SOFTWARE_16_X11
return (Ecore_X_Window) ecore_evas_window_get(ee);
+}
#else
+EAPI Ecore_X_Window
+ecore_evas_software_x11_16_window_get(const Ecore_Evas *ee __UNUSED__)
+{
return 0;
-#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_X11 */
}
+#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_X11 */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if BUILD_ECORE_EVAS_SOFTWARE_16_X11
EAPI Ecore_X_Window
ecore_evas_software_x11_16_subwindow_get(const Ecore_Evas *ee)
{
-#if BUILD_ECORE_EVAS_SOFTWARE_16_X11
return (Ecore_X_Window) ecore_evas_window_get(ee);
+}
#else
+EAPI Ecore_X_Window
+ecore_evas_software_x11_16_subwindow_get(const Ecore_Evas *ee __UNUSED__)
+{
return 0;
-#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_X11 */
}
+#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_X11 */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if BUILD_ECORE_EVAS_SOFTWARE_16_X11
EAPI void
ecore_evas_software_x11_16_direct_resize_set(Ecore_Evas *ee, int on)
{
-#if BUILD_ECORE_EVAS_SOFTWARE_16_X11
ee->engine.x.direct_resize = on;
if (ee->prop.avoid_damage)
{
*/
}
}
+}
#else
- return;
-#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_X11 */
+EAPI void
+ecore_evas_software_x11_16_direct_resize_set(Ecore_Evas *ee __UNUSED__, int on __UNUSED__)
+{
}
+#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_X11 */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if BUILD_ECORE_EVAS_SOFTWARE_16_X11
EAPI int
ecore_evas_software_x11_16_direct_resize_get(const Ecore_Evas *ee)
{
-#if BUILD_ECORE_EVAS_SOFTWARE_16_X11
return ee->engine.x.direct_resize;
+}
#else
+EAPI int
+ecore_evas_software_x11_16_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
+{
return 0;
-#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_X11 */
}
+#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_X11 */
/**
* To be documented.
*
* FIXME: To be fixed.
*/
+#if BUILD_ECORE_EVAS_SOFTWARE_16_X11
EAPI void
ecore_evas_software_x11_16_extra_event_window_add(Ecore_Evas *ee, Ecore_X_Window win)
{
-#if BUILD_ECORE_EVAS_SOFTWARE_16_X11
Ecore_X_Window *winp;
winp = malloc(sizeof(Ecore_X_Window));
ee->engine.x.win_extra = eina_list_append(ee->engine.x.win_extra, winp);
ecore_event_window_register(win, ee, ee->evas, (Ecore_Event_Mouse_Move_Cb) _ecore_evas_mouse_move_process);
}
+}
#else
-#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_X11 */
+EAPI void
+ecore_evas_software_x11_16_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
+{
}
+#endif /* ! BUILD_ECORE_EVAS_SOFTWARE_16_X11 */