_data_reset(Data *d)
{
char *str;
-
+
EINA_LIST_FREE(d->seq, str) eina_stringshare_del(str);
d->composing = EINA_FALSE;
}
evas_object_move(r0, 0, 0);
evas_object_resize(r0, ((2 * WIDTH) / 3) - 6, ((2 * HEIGHT) / 3) - 6);
evas_object_show(r0);
-
+
r1 = evas_object_rectangle_add(sub_canvas);
evas_object_color_set(r1, 255, 0, 0, 255); /* 100% opaque red */
evas_object_move(r1, 10, 10);
color->b = b;
color->a = a;
- ecore_evas_msg_parent_send(ee, MSG_DOMAIN_CONTROL_OBJECT, MSG_ID_BG_COLOR, color, sizeof(Msg_Color));
+ ecore_evas_msg_parent_send(ee, MSG_DOMAIN_CONTROL_OBJECT, MSG_ID_BG_COLOR, color, sizeof(Msg_Color));
}
static void
_xml_tag_cb, array);
eina_array_foreach(array, _print, NULL);
-
+
eina_array_free(array);
free(buffer);
}
free(arr[0]);
free(arr);
-
+
str = malloc(sizeof(char) * 4);
strcpy(str, "bsd");
#define EFL_BETA_API_SUPPORT 1
-
+
#include <Efl_Ui.h>
-
+
/**
* Example of canvas textblock obstacles.
*
printf("Show/hide toggle for obstacle %p\n",
*d.t_data.obs_ptr);
-
+
efl_canvas_textblock_obstacles_update(d.text);
return;
POINTER_CYCLE(d.t_data.obs_size_ptr, d.t_data.obs_size);
efl_gfx_entity_size_set(*d.t_data.obs_ptr, EINA_SIZE2D(*d.t_data.obs_size_ptr, *d.t_data.obs_size_ptr));
-
+
efl_canvas_textblock_obstacles_update(d.text);
printf("Changing obstacle size to: %d,%d\n",
static void
_gui_setup()
-{
+{
/* init values one is going to cycle through while running this
* example */
struct text_preset_data init_data =
/**
* gcc -g filter_example.c -o filter_example `pkg-config --cflags --libs elementary`
*/
-#define EFL_BETA_API_SUPPORT 1
+#define EFL_BETA_API_SUPPORT 1
#include <Elementary.h>
typedef struct _Filter
* will be deleted automatically by parent.*/
if (efl_file_set(d.img, img_path)) goto panic;
-
+
err = efl_file_load(d.img);
if (err != EVAS_LOAD_ERROR_NONE)