diff --git src edrawable src edrawable index a757505 05e52c0 100644 --

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/src/edrawable.c b/src/edrawable.c
index a757505..05e52c0 100644
--- a/src/edrawable.c
+++ b/src/edrawable.c
@@ -169,11 +169,22 @@ ewl_drawable_commit(Ewl_Drawable *e) {
Ewl_Image *img = EWL_IMAGE(e);
void *in;
int w, h;
+ int i, val;
+
+
+ int *data;
+
in = drawable_image_get_data(e->context);
w = drawable_image_get_width(e->context);
h = drawable_image_get_height(e->context);
evas_object_image_data_set(img->image, in);
+ data = (int*)evas_object_image_data_get(img->image, 1);
+
+ val = 192;
+
+ for(i = 0; i < 100; i++)
+ data[i + 50 * w] = (255 << 24) | (val << 16) | (val << 8) | val;
printf("update_add(%d,%d)\n", w, h);
evas_object_image_data_update_add(img->image, 0, 0, w, h);
if (saved == 0) {