2 * Copyright 2013 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (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://floralicense.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.
19 * Abstracted Data Type of Virtual Window
21 typedef struct virtual_window_info {
23 VWIN_INFO_CREATED = 0x00beef00,
24 VWIN_INFO_DESTROYED = 0x00dead00
26 char *id; /**< Identification */
27 widget_buffer_h handle; /**< Livebox buffer handle */
29 VWIN_SW_BUF = 0x00, /**< S/W buffer */
30 VWIN_GEM = 0x01, /**< GEM buffer */
31 VWIN_PIXMAP = 0x02, /**< PIXMAP */
32 VWIN_ERROR = 0x03 /**< Unknown */
40 unsigned int *resource_array;
47 Ecore_Timer *pended_events_consumer;
48 Eina_List *pended_events_list;
51 extern int binder_widget_send_updated(const char *pkgname, const char *id, widget_buffer_h handle, int idx, int x, int y, int w, int h, int gbar, const char *descfile);
52 extern int binder_widget_update_extra_info(const char *id, const char *content, const char *title, const char *icon, const char *name);
53 extern const char *binder_widget_find_pkgname(const char *uri);
54 extern Ecore_Evas *binder_ecore_evas_new(vwin_info_t info);
55 extern int binder_widget_auto_align(void);
57 #define GL_ENGINE "opengl_x11"