diff options
author | David Walter Seikel | 2014-05-02 00:01:39 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-02 00:01:39 +1000 |
commit | 8ff6c4fa9975d0856fac83e47df8c0c45f042b07 (patch) | |
tree | 50a5195dee775a55ce382fe6b3dcb3595ecac71d /src | |
parent | Clean up the 3D code, and update the cube example to cube2, with normals. (diff) | |
download | SledjHamr-8ff6c4fa9975d0856fac83e47df8c0c45f042b07.zip SledjHamr-8ff6c4fa9975d0856fac83e47df8c0c45f042b07.tar.gz SledjHamr-8ff6c4fa9975d0856fac83e47df8c0c45f042b07.tar.bz2 SledjHamr-8ff6c4fa9975d0856fac83e47df8c0c45f042b07.tar.xz |
Clean up the resize function.
Diffstat (limited to 'src')
-rw-r--r-- | src/GuiLua/GuiLua.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c index 7560a77..2877fc4 100644 --- a/src/GuiLua/GuiLua.c +++ b/src/GuiLua/GuiLua.c | |||
@@ -501,13 +501,8 @@ static void _on_canvas_resize(Ecore_Evas *ee) | |||
501 | int w, h; | 501 | int w, h; |
502 | 502 | ||
503 | ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); | 503 | ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); |
504 | 504 | eo_do(ourGlobals.background, evas_obj_size_set(w, h)); | |
505 | printf("RESIZED!!!\n"); | 505 | eo_do(ourGlobals.image, evas_obj_size_set(w, h)); |
506 | eo_do(ourGlobals.background, evas_obj_size_set(w, h)); | ||
507 | eo_do(ourGlobals.image, | ||
508 | evas_obj_size_set(w, h) | ||
509 | // evas_obj_position_set(0, 0) | ||
510 | ); | ||
511 | } | 506 | } |
512 | 507 | ||
513 | static void _on_click(void *data, Evas_Object *obj, void *event_info EINA_UNUSED) | 508 | static void _on_click(void *data, Evas_Object *obj, void *event_info EINA_UNUSED) |