Update the ABI for resizing buffer.
authorSung-jae Park <nicesj.park@samsung.com>
Sat, 19 May 2012 16:49:06 +0000 (01:49 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Sat, 19 May 2012 16:49:06 +0000 (01:49 +0900)
Change-Id: I708f46370963acbbdb889bb30fcb21dda5a944c0

debian/changelog
include/script_port.h
packaging/livebox-edje.spec
src/script_port.c

index 68f86fa..236d523 100644 (file)
@@ -1,3 +1,10 @@
+livebox-edje (0.1.2) unstable; urgency=low
+
+  * Git: 165.213.180.234:/slp/pkgs/l/livebox-edje
+  * Tag: livebox-edje_0.1.2
+
+ -- Sung-jae Park <nicesj.park@samsung.com>  Sun, 20 May 2012 01:48:48 +0900
+
 livebox-edje (0.1.1) unstable; urgency=low
 
   * Git: 165.213.180.234:/slp/pkgs/l/livebox-edje
index 13f2893..48b5204 100644 (file)
@@ -17,10 +17,10 @@ extern int script_update_drag(void *h, Evas *e, const char *id, const char *part
 extern int script_update_size(void *handle, Evas *e, const char *id, int w, int h);
 extern int script_update_category(void *h, Evas *e, const char *id, const char *category);
 
-extern void *script_create(const char *file, const char *group, int w, int h);
+extern void *script_create(const char *file, const char *group);
 extern int script_destroy(void *handle);
 
-extern int script_load(void *handle, Evas *e);
+extern int script_load(void *handle, Evas *e, int w, int h);
 extern int script_unload(void *handle, Evas *e);
 
 extern int script_init(void);
index 023aea8..3a05e33 100644 (file)
@@ -1,6 +1,6 @@
 Name: livebox-edje
 Summary: EDJE Script loader for the data provider master
-Version: 0.1.1
+Version: 0.1.2
 Release: 1
 Group: main/app
 License: Samsung Proprietary License
index 435ed6e..9f281bb 100644 (file)
@@ -234,7 +234,7 @@ int script_update_category(void *h, Evas *e, const char *id, const char *categor
        return 0;
 }
 
-void *script_create(const char *file, const char *group, int w, int h)
+void *script_create(const char *file, const char *group)
 {
        struct info *handle;
 
@@ -259,8 +259,6 @@ void *script_create(const char *file, const char *group, int w, int h)
                return NULL;
        }
 
-       handle->w = w;
-       handle->h = h;
        return handle;
 }
 
@@ -315,7 +313,7 @@ static void script_signal_cb(void *data, Evas_Object *obj, const char *emission,
        script_signal_emit(handle->e, source, emission, sx, sy, ex, ey);
 }
 
-int script_load(void *_handle, Evas *e)
+int script_load(void *_handle, Evas *e, int w, int h)
 {
        struct info *handle;
        Evas_Object *edje;
@@ -340,6 +338,8 @@ int script_load(void *_handle, Evas *e)
        }
 
        handle->e = e;
+       handle->w = w;
+       handle->h = h;
 
        edje_object_signal_callback_add(edje, "*", "*", script_signal_cb, handle);
        evas_object_event_callback_add(edje, EVAS_CALLBACK_DEL, edje_del_cb, handle);