forked from enlightenment/enlightenment
parent
a427ed3e82
commit
e816b7b432
|
@ -1,13 +1,13 @@
|
|||
#include "e.h"
|
||||
|
||||
EAPI E_Path * path_data = NULL;
|
||||
EAPI E_Path * path_images = NULL;
|
||||
EAPI E_Path * path_fonts = NULL;
|
||||
EAPI E_Path * path_themes = NULL;
|
||||
EAPI E_Path * path_icons = NULL;
|
||||
EAPI E_Path * path_modules = NULL;
|
||||
EAPI E_Path * path_backgrounds = NULL;
|
||||
EAPI E_Path * path_messages = NULL;
|
||||
EAPI E_Path *path_data = NULL;
|
||||
EAPI E_Path *path_images = NULL;
|
||||
EAPI E_Path *path_fonts = NULL;
|
||||
EAPI E_Path *path_themes = NULL;
|
||||
EAPI E_Path *path_icons = NULL;
|
||||
EAPI E_Path *path_modules = NULL;
|
||||
EAPI E_Path *path_backgrounds = NULL;
|
||||
EAPI E_Path *path_messages = NULL;
|
||||
|
||||
typedef struct _E_Util_Fake_Mouse_Up_Info E_Util_Fake_Mouse_Up_Info;
|
||||
typedef struct _E_Util_Image_Import_Settings E_Util_Image_Import_Settings;
|
||||
|
@ -1800,6 +1800,7 @@ static void
|
|||
_e_util_size_debug(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
{
|
||||
int x, y, w, h;
|
||||
|
||||
evas_object_geometry_get(obj, &x, &y, &w, &h);
|
||||
fprintf(stderr, "OBJ[%p]: (%d,%d) - %dx%d\n", obj, x, y, w, h);
|
||||
}
|
||||
|
@ -1809,12 +1810,16 @@ e_util_size_debug_set(Evas_Object *obj, Eina_Bool enable)
|
|||
{
|
||||
if (enable)
|
||||
{
|
||||
evas_object_event_callback_add(obj, EVAS_CALLBACK_MOVE, _e_util_size_debug, NULL);
|
||||
evas_object_event_callback_add(obj, EVAS_CALLBACK_RESIZE, _e_util_size_debug, NULL);
|
||||
evas_object_event_callback_add(obj, EVAS_CALLBACK_MOVE,
|
||||
_e_util_size_debug, NULL);
|
||||
evas_object_event_callback_add(obj, EVAS_CALLBACK_RESIZE,
|
||||
_e_util_size_debug, NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOVE, _e_util_size_debug, NULL);
|
||||
evas_object_event_callback_del_full(obj, EVAS_CALLBACK_RESIZE, _e_util_size_debug, NULL);
|
||||
evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOVE,
|
||||
_e_util_size_debug, NULL);
|
||||
evas_object_event_callback_del_full(obj, EVAS_CALLBACK_RESIZE,
|
||||
_e_util_size_debug, NULL);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue