2 * Copyright 2013 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.tizenopensource.org/license
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
23 extern int script_signal_emit(Evas *e, const char *part, const char *signal, double x, double y, double ex, double ey);
26 * Implement below functions
28 extern int script_update_color(void *h, Evas *e, const char *id, const char *part, const char *rgba);
29 extern int script_update_text(void *h, Evas *e, const char *id, const char *part, const char *text);
30 extern int script_update_image(void *h, Evas *e, const char *id, const char *part, const char *path, const char *option);
31 extern int script_update_access(void *h, Evas *e, const char *id, const char *part, const char *text, const char *option);
32 extern int script_update_script(void *h, Evas *e, const char *src_id, const char *target_id, const char *part, const char *path, const char *group);
33 extern int script_update_signal(void *h, Evas *e, const char *id, const char *part, const char *signal);
34 extern int script_update_drag(void *h, Evas *e, const char *id, const char *part, double x, double y);
35 extern int script_update_size(void *handle, Evas *e, const char *id, int w, int h);
36 extern int script_update_category(void *h, Evas *e, const char *id, const char *category);
38 extern void *script_create(const char *file, const char *group);
39 extern int script_destroy(void *handle);
41 extern int script_load(void *handle, Evas *e, int w, int h);
42 extern int script_unload(void *handle, Evas *e);
46 LB_ACCESS_HIGHLIGHT_NEXT 1
47 LB_ACCESS_HIGHLIGHT_PREV 2
49 LB_ACCESS_VALUE_CHANGE 4
52 extern int script_feed_event(void *h, Evas *e, int event_type, int x, int y, double timestamp);
54 extern int script_init(void);
55 extern int script_fini(void);
57 extern const char *script_magic_id(void);