From: caro Date: Fri, 2 Oct 2009 04:35:04 +0000 (+0000) Subject: logify ecore_evas. Patch by Mathieu Taillefumier (a bit modified) X-Git-Tag: build/2012-07-04.173327~2451 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa0ae4a6975b71f1c7b5bd1669b963c62ecce072;p=profile%2Fivi%2Fecore.git logify ecore_evas. Patch by Mathieu Taillefumier (a bit modified) git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@42852 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index aca43d5..3b721a2 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c @@ -15,6 +15,7 @@ #include "ecore_evas_private.h" #include "Ecore_Evas.h" +int _ecore_evas_log_dom = -1; static int _ecore_evas_init_count = 0; static Ecore_Fd_Handler *_ecore_evas_async_events_fd = NULL; static int _ecore_evas_async_events_fd_handler(void *data, Ecore_Fd_Handler *fd_handler); @@ -149,9 +150,17 @@ ecore_evas_init(void) { int fd; - evas_init (); + evas_init(); ecore_init(); + _ecore_evas_log_dom = eina_log_domain_register("Ecore_Evas", ECORE_EVAS_DEFAULT_LOG_COLOR); + if(_ecore_evas_log_dom < 0) + { + EINA_LOG_ERR("Impossible to create a log domain for Ecore_Evas.\n"); + ecore_shutdown(); + evas_shutdown(); + return 0; + } fd = evas_async_events_fd_get(); if (fd > 0) _ecore_evas_async_events_fd = ecore_main_fd_handler_add(fd, @@ -194,7 +203,7 @@ ecore_evas_shutdown(void) #endif if (_ecore_evas_async_events_fd) ecore_main_fd_handler_del(_ecore_evas_async_events_fd); - + eina_log_domain_unregister(_ecore_evas_log_dom); ecore_shutdown(); evas_shutdown(); } @@ -2432,7 +2441,7 @@ _ecore_evas_fps_debug_rendertime_add(double t) } else if ((tim - rlapse) >= 0.5) { - printf("FRAME: %i, FPS: %3.1f, RTIME %3.0f%%\n", + DBG("FRAME: %i, FPS: %3.1f, RTIME %3.0f%%\n", frames, (frames - flapse) / (tim - rlapse), (100.0 * rtime) / (tim - rlapse) diff --git a/src/lib/ecore_evas/ecore_evas_private.h b/src/lib/ecore_evas/ecore_evas_private.h index 2a7fa92..7e00980 100644 --- a/src/lib/ecore_evas/ecore_evas_private.h +++ b/src/lib/ecore_evas/ecore_evas_private.h @@ -95,6 +95,37 @@ # include #endif +/** + Log domain macros and variable + **/ + +extern int _ecore_evas_log_dom; + +#ifdef ECORE_EVAS_DEFAULT_LOG_COLOR +# undef ECORE_EVAS_DEFAULT_LOG_COLOR +#endif +#define ECORE_EVAS_DEFAULT_LOG_COLOR EINA_COLOR_CYAN +#ifdef ERR +# undef ERR +#endif +#define ERR(...) EINA_LOG_DOM_ERR(_ecore_evas_log_dom, __VA_ARGS__) +#ifdef DBG +# undef DBG +#endif +#define DBG(...) EINA_LOG_DOM_DBG(_ecore_evas_log_dom, __VA_ARGS__) +#ifdef INF +# undef INF +#endif +#define INF(...) EINA_LOG_DOM_INFO(_ecore_evas_log_dom, __VA_ARGS__) +#ifdef WRN +# undef WRN +#endif +#define WRN(...) EINA_LOG_DOM_WARN(_ecore_evas_log_dom, __VA_ARGS__) +#ifdef CRIT +# undef CRIT +#endif +#define CRIT(...) EINA_LOG_DOM_CRIT(_ecore_evas_log_dom, __VA_ARGS__) + #define IDLE_FLUSH_TIME 0.5 #ifndef _ECORE_EVAS_H diff --git a/src/lib/ecore_evas/ecore_evas_quartz.c b/src/lib/ecore_evas/ecore_evas_quartz.c index cea117c..74be6db 100644 --- a/src/lib/ecore_evas/ecore_evas_quartz.c +++ b/src/lib/ecore_evas/ecore_evas_quartz.c @@ -447,7 +447,7 @@ ecore_evas_quartz_new(const char* name, int w, int h) return NULL; #else - fprintf(stderr, "OUTCH name='%s' size=%dx%d!\n", name ? name : "", w, h); + ERR("OUTCH name='%s' size=%dx%d!\n", name ? name : "", w, h); return NULL; #endif } diff --git a/src/lib/ecore_evas/ecore_evas_sdl.c b/src/lib/ecore_evas/ecore_evas_sdl.c index e45216e..b15e15b 100644 --- a/src/lib/ecore_evas/ecore_evas_sdl.c +++ b/src/lib/ecore_evas/ecore_evas_sdl.c @@ -446,7 +446,7 @@ ecore_evas_sdl_new(const char* name, int w, int h, int fullscreen, int hwsurface 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"); + ERR("OUTCH !\n"); return NULL; } #endif @@ -469,7 +469,7 @@ ecore_evas_sdl16_new(const char* name, int w, int h, int fullscreen, int hwsurfa 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"); + ERR("OUTCH !\n"); return NULL; } #endif diff --git a/src/lib/ecore_evas/ecore_evas_util.c b/src/lib/ecore_evas/ecore_evas_util.c index 4896944..7dc21d6 100644 --- a/src/lib/ecore_evas/ecore_evas_util.c +++ b/src/lib/ecore_evas/ecore_evas_util.c @@ -85,13 +85,13 @@ _ecore_evas_obj_intercept_lower(void *data, Evas_Object *obj __UNUSED__) static void _ecore_evas_obj_intercept_stack_above(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *above __UNUSED__) { - fprintf(stderr, "TODO: %s\n", __FUNCTION__); + INF("TODO: %s", __FUNCTION__); } static void _ecore_evas_obj_intercept_stack_below(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *below __UNUSED__) { - fprintf(stderr, "TODO: %s\n", __FUNCTION__); + INF("TODO: %s", __FUNCTION__); } static void @@ -210,11 +210,10 @@ _ecore_evas_object_evas_check(const char *function, const Ecore_Evas *ee, const name = evas_object_name_get(obj); type = evas_object_type_get(obj); - fprintf(stderr, - "ERROR: %s(): object %p (name=\"%s\", type=\"%s\") evas " - "is not the same as this Ecore_Evas evas: %p != %p\n", - function, obj, - name ? name : "", type ? type : "", e, ee->evas); + ERR("ERROR: %s(): object %p (name=\"%s\", type=\"%s\") evas " + "is not the same as this Ecore_Evas evas: %p != %p", + function, obj, + name ? name : "", type ? type : "", e, ee->evas); fflush(stderr); if (getenv("ECORE_ERROR_ABORT")) abort(); @@ -312,15 +311,15 @@ ecore_evas_object_dissociate(Ecore_Evas *ee, Evas_Object *obj) CHECK_PARAM_POINTER_RETURN("obj", obj, 0); old_ee = _evas_object_associate_get(obj); if (ee != old_ee) { - fprintf(stderr, "ERROR: trying to dissociate object that is not using " - "this Ecore_Evas: %p != %p\n", ee, old_ee); + ERR("ERROR: trying to dissociate object that is not using " + "this Ecore_Evas: %p != %p", ee, old_ee); return 0; } old_obj = _ecore_evas_associate_get(ee); if (old_obj != obj) { - fprintf(stderr, "ERROR: trying to dissociate object that is not being " - "used by this Ecore_Evas: %p != %p\n", old_obj, obj); + ERR("ERROR: trying to dissociate object that is not being " + "used by this Ecore_Evas: %p != %p", old_obj, obj); return 0; } diff --git a/src/lib/ecore_evas/ecore_evas_win32.c b/src/lib/ecore_evas/ecore_evas_win32.c index 35aefdc..04d6272 100644 --- a/src/lib/ecore_evas/ecore_evas_win32.c +++ b/src/lib/ecore_evas/ecore_evas_win32.c @@ -23,13 +23,6 @@ #ifdef BUILD_ECORE_EVAS_WIN32 -/* logging messages macros */ -int _ecore_evas_log_dom = -1; - -#define ECORE_EVAS_MSG_ERR(...) EINA_LOG_DOM_ERR(_ecore_evas_log_dom , __VA_ARGS__) -#define ECORE_EVAS_MSG_DBG(...) EINA_LOG_DOM_DBG(_ecore_evas_log_dom , __VA_ARGS__) -#define ECORE_EVAS_MSG_INFO(...) EINA_LOG_DOM_INFO(_ecore_evas_log_dom , __VA_ARGS__) - #define ECORE_EVAS_EVENT_COUNT 8 static int _ecore_evas_init_count = 0; @@ -174,7 +167,7 @@ _ecore_evas_win32_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, voi Ecore_Evas *ee; Ecore_Win32_Event_Mouse_In *e; - ECORE_EVAS_MSG_INFO("mouse in"); + INF("mouse in"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -196,7 +189,7 @@ _ecore_evas_win32_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, vo Ecore_Evas *ee; Ecore_Win32_Event_Mouse_Out *e; - ECORE_EVAS_MSG_INFO("mouse out"); + INF("mouse out"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -220,7 +213,7 @@ _ecore_evas_win32_event_window_damage(void *data __UNUSED__, int type __UNUSED__ Ecore_Evas *ee; Ecore_Win32_Event_Window_Damage *e; - ECORE_EVAS_MSG_INFO("window damage"); + INF("window damage"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -272,7 +265,7 @@ _ecore_evas_win32_event_window_destroy(void *data __UNUSED__, int type __UNUSED_ Ecore_Evas *ee; Ecore_Win32_Event_Window_Destroy *e; - ECORE_EVAS_MSG_INFO("window destroy"); + INF("window destroy"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -290,7 +283,7 @@ _ecore_evas_win32_event_window_show(void *data __UNUSED__, int type __UNUSED__, Ecore_Evas *ee; Ecore_Win32_Event_Window_Show *e; - ECORE_EVAS_MSG_INFO("window show"); + INF("window show"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -309,7 +302,7 @@ _ecore_evas_win32_event_window_hide(void *data __UNUSED__, int type __UNUSED__, Ecore_Evas *ee; Ecore_Win32_Event_Window_Hide *e; - ECORE_EVAS_MSG_INFO("window hide"); + INF("window hide"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -328,7 +321,7 @@ _ecore_evas_win32_event_window_configure(void *data __UNUSED__, int type __UNUSE Ecore_Evas *ee; Ecore_Win32_Event_Window_Configure *e; - ECORE_EVAS_MSG_INFO("window configure"); + INF("window configure"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -386,7 +379,7 @@ _ecore_evas_win32_event_window_delete_request(void *data __UNUSED__, int type __ Ecore_Evas *ee; Ecore_Win32_Event_Window_Delete_Request *e; - ECORE_EVAS_MSG_INFO("window delete request"); + INF("window delete request"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -394,7 +387,7 @@ _ecore_evas_win32_event_window_delete_request(void *data __UNUSED__, int type __ if ((Ecore_Window)e->window != ee->prop.window) return 1; if (ee->func.fn_delete_request) ee->func.fn_delete_request(ee); - printf (" * ee event delete\n"); + INF(" * ee event delete\n"); return 1; } @@ -404,7 +397,7 @@ _ecore_evas_win32_event_window_delete_request(void *data __UNUSED__, int type __ static void _ecore_evas_win32_free(Ecore_Evas *ee) { - ECORE_EVAS_MSG_INFO("ecore evas free"); + INF("ecore evas free"); ecore_win32_window_free((struct _Ecore_Win32_Window *)ee->prop.window); ecore_event_window_unregister(ee->prop.window); @@ -423,7 +416,7 @@ _ecore_evas_win32_callback_delete_request_set(Ecore_Evas *ee, static void _ecore_evas_win32_move(Ecore_Evas *ee, int x, int y) { - ECORE_EVAS_MSG_INFO("ecore evas move (%dx%d)", x, y); + INF("ecore evas move (%dx%d)", x, y); if ((x != ee->x) || (y != ee->y)) { @@ -438,7 +431,7 @@ _ecore_evas_win32_move(Ecore_Evas *ee, int x, int y) static void _ecore_evas_win32_resize(Ecore_Evas *ee, int width, int height) { - ECORE_EVAS_MSG_INFO("ecore evas resize (%dx%d)", width, height); + INF("ecore evas resize (%dx%d)", width, height); if ((ee->w != width) || (ee->h != height)) { @@ -465,7 +458,7 @@ _ecore_evas_win32_resize(Ecore_Evas *ee, int width, int height) static void _ecore_evas_win32_move_resize(Ecore_Evas *ee, int x, int y, int width, int height) { - ECORE_EVAS_MSG_INFO("ecore evas resize (%dx%d %dx%d)", x, y, width, height); + INF("ecore evas resize (%dx%d %dx%d)", x, y, width, height); if ((ee->w != width) || (ee->h != height) || (x != ee->x) || (y != ee->y)) { @@ -571,7 +564,7 @@ _ecore_evas_win32_rotation_set_internal(Ecore_Evas *ee, int rotation) static void _ecore_evas_win32_rotation_set(Ecore_Evas *ee, int rotation) { - ECORE_EVAS_MSG_INFO("ecore evas rotation: %s", rotation ? "yes" : "no"); + INF("ecore evas rotation: %s", rotation ? "yes" : "no"); if (ee->rotation == rotation) return; @@ -605,7 +598,7 @@ _ecore_evas_win32_rotation_set(Ecore_Evas *ee, int rotation) static void _ecore_evas_win32_show(Ecore_Evas *ee) { - ECORE_EVAS_MSG_INFO("ecore evas show"); + INF("ecore evas show"); ee->should_be_visible = 1; if (ee->prop.avoid_damage) @@ -618,7 +611,7 @@ _ecore_evas_win32_show(Ecore_Evas *ee) static void _ecore_evas_win32_hide(Ecore_Evas *ee) { - ECORE_EVAS_MSG_INFO("ecore evas hide"); + INF("ecore evas hide"); ecore_win32_window_hide((struct _Ecore_Win32_Window *)ee->prop.window); ee->should_be_visible = 0; @@ -627,7 +620,7 @@ _ecore_evas_win32_hide(Ecore_Evas *ee) static void _ecore_evas_win32_raise(Ecore_Evas *ee) { - ECORE_EVAS_MSG_INFO("ecore evas raise"); + INF("ecore evas raise"); if (!ee->prop.fullscreen) ecore_win32_window_raise((struct _Ecore_Win32_Window *)ee->prop.window); @@ -638,7 +631,7 @@ _ecore_evas_win32_raise(Ecore_Evas *ee) static void _ecore_evas_win32_lower(Ecore_Evas *ee) { - ECORE_EVAS_MSG_INFO("ecore evas lower"); + INF("ecore evas lower"); if (!ee->prop.fullscreen) ecore_win32_window_lower((struct _Ecore_Win32_Window *)ee->prop.window); @@ -649,7 +642,7 @@ _ecore_evas_win32_lower(Ecore_Evas *ee) static void _ecore_evas_win32_activate(Ecore_Evas *ee) { - ECORE_EVAS_MSG_INFO("ecore evas activate"); + INF("ecore evas activate"); ecore_win32_window_focus_set((struct _Ecore_Win32_Window *)ee->prop.window); } @@ -657,7 +650,7 @@ _ecore_evas_win32_activate(Ecore_Evas *ee) static void _ecore_evas_win32_title_set(Ecore_Evas *ee, const char *title) { - ECORE_EVAS_MSG_INFO("ecore evas title set"); + INF("ecore evas title set"); if (ee->prop.title) free(ee->prop.title); ee->prop.title = NULL; @@ -781,7 +774,7 @@ _ecore_evas_win32_fullscreen_set(Ecore_Evas *ee, int on) { struct _Ecore_Win32_Window *window; - ECORE_EVAS_MSG_INFO("ecore evas fullscreen set"); + INF("ecore evas fullscreen set"); if ((ee->engine.win32.state.fullscreen && on) || (!ee->engine.win32.state.fullscreen && !on)) diff --git a/src/lib/ecore_evas/ecore_evas_wince.c b/src/lib/ecore_evas/ecore_evas_wince.c index 52ee583..e72652e 100644 --- a/src/lib/ecore_evas/ecore_evas_wince.c +++ b/src/lib/ecore_evas/ecore_evas_wince.c @@ -23,13 +23,6 @@ #ifdef BUILD_ECORE_EVAS_SOFTWARE_16_WINCE -/* logging messages macros */ -int _ecore_evas_log_dom = -1; - -#define ECORE_EVAS_MSG_ERR(...) EINA_LOG_DOM_ERR(_ecore_evas_log_dom , __VA_ARGS__) -#define ECORE_EVAS_MSG_DBG(...) EINA_LOG_DOM_DBG(_ecore_evas_log_dom , __VA_ARGS__) -#define ECORE_EVAS_MSG_INFO(...) EINA_LOG_DOM_INFO(_ecore_evas_log_dom , __VA_ARGS__) - #define ECORE_EVAS_EVENT_COUNT 7 static int _ecore_evas_init_count = 0; @@ -173,7 +166,7 @@ _ecore_evas_wince_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, voi Ecore_Evas *ee; Ecore_WinCE_Event_Mouse_In *e; - ECORE_EVAS_MSG_INFO("mouse in\n"); + INF("mouse in"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -195,7 +188,7 @@ _ecore_evas_wince_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, vo Ecore_Evas *ee; Ecore_WinCE_Event_Mouse_Out *e; - ECORE_EVAS_MSG_INFO("mouse out\n"); + INF("mouse out"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -219,7 +212,7 @@ _ecore_evas_wince_event_window_damage(void *data __UNUSED__, int type __UNUSED__ Ecore_Evas *ee; Ecore_WinCE_Event_Window_Damage *e; - ECORE_EVAS_MSG_INFO("window damage\n"); + INF("window damage"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -267,7 +260,7 @@ _ecore_evas_wince_event_window_destroy(void *data __UNUSED__, int type __UNUSED_ Ecore_Evas *ee; Ecore_WinCE_Event_Window_Destroy *e; - ECORE_EVAS_MSG_INFO("window destroy\n"); + INF("window destroy"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -285,7 +278,7 @@ _ecore_evas_wince_event_window_show(void *data __UNUSED__, int type __UNUSED__, Ecore_Evas *ee; Ecore_WinCE_Event_Window_Show *e; - ECORE_EVAS_MSG_INFO("window show\n"); + INF("window show"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -304,7 +297,7 @@ _ecore_evas_wince_event_window_hide(void *data __UNUSED__, int type __UNUSED__, Ecore_Evas *ee; Ecore_WinCE_Event_Window_Hide *e; - ECORE_EVAS_MSG_INFO("window hide\n"); + INF("window hide"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -323,7 +316,7 @@ _ecore_evas_wince_event_window_delete_request(void *data __UNUSED__, int type __ Ecore_Evas *ee; Ecore_WinCE_Event_Window_Delete_Request *e; - ECORE_EVAS_MSG_INFO("window delete request\n"); + INF("window delete request"); e = event; ee = ecore_event_window_match((Ecore_Window)e->window); @@ -340,7 +333,7 @@ _ecore_evas_wince_event_window_delete_request(void *data __UNUSED__, int type __ static void _ecore_evas_wince_free(Ecore_Evas *ee) { - ECORE_EVAS_MSG_INFO("ecore evas free\n"); + INF("ecore evas free"); ecore_wince_window_free((Ecore_WinCE_Window *)ee->prop.window); ecore_event_window_unregister(ee->prop.window); @@ -359,7 +352,7 @@ _ecore_evas_wince_callback_delete_request_set(Ecore_Evas *ee, static void _ecore_evas_wince_move(Ecore_Evas *ee, int x, int y) { - ECORE_EVAS_MSG_INFO("ecore evas move (%dx%d)\n", x, y); + INF("ecore evas move (%dx%d)", x, y); if ((x != ee->x) || (y != ee->y)) { @@ -373,7 +366,7 @@ _ecore_evas_wince_move(Ecore_Evas *ee, int x, int y) static void _ecore_evas_wince_resize(Ecore_Evas *ee, int width, int height) { - ECORE_EVAS_MSG_INFO("ecore evas resize (%dx%d)\n", width, height); + INF("ecore evas resize (%dx%d)", width, height); if ((ee->w != width) || (ee->h != height)) { @@ -399,7 +392,7 @@ _ecore_evas_wince_resize(Ecore_Evas *ee, int width, int height) static void _ecore_evas_wince_move_resize(Ecore_Evas *ee, int x, int y, int width, int height) { - ECORE_EVAS_MSG_INFO("ecore evas resize (%dx%d %dx%d)\n", x, y, width, height); + INF("ecore evas resize (%dx%d %dx%d)", x, y, width, height); if ((ee->w != width) || (ee->h != height) || (x != ee->x) || (y != ee->y)) { @@ -511,7 +504,7 @@ _ecore_evas_wince_move_resize(Ecore_Evas *ee, int x, int y, int width, int heigh static void _ecore_evas_wince_show(Ecore_Evas *ee) { - ECORE_EVAS_MSG_INFO("ecore evas show\n"); + INF("ecore evas show"); ee->should_be_visible = 1; if (ee->prop.avoid_damage) @@ -524,7 +517,7 @@ _ecore_evas_wince_show(Ecore_Evas *ee) static void _ecore_evas_wince_hide(Ecore_Evas *ee) { - ECORE_EVAS_MSG_INFO("ecore evas hide\n"); + INF("ecore evas hide"); ecore_wince_window_hide((Ecore_WinCE_Window *)ee->prop.window); ee->should_be_visible = 0; @@ -551,7 +544,7 @@ _ecore_evas_wince_hide(Ecore_Evas *ee) static void _ecore_evas_wince_title_set(Ecore_Evas *ee, const char *title) { - ECORE_EVAS_MSG_INFO("ecore evas title set\n"); + INF("ecore evas title set"); if (ee->prop.title) free(ee->prop.title); ee->prop.title = NULL; @@ -669,7 +662,7 @@ _ecore_evas_wince_fullscreen_set(Ecore_Evas *ee, int on) Evas_Engine_Info_Software_16_WinCE *einfo; struct _Ecore_WinCE_Window *window; - ECORE_EVAS_MSG_INFO("ecore evas fullscreen set\n"); + INF("ecore evas fullscreen set"); if ((ee->engine.wince.state.fullscreen && on) || (!ee->engine.wince.state.fullscreen && !on))