struct WeescimKeyboard
{
Ecore_Evas *ee;
- Ecore_Wl_Window *win;
+ Ecore_Wl_Window *wl_win;
Evas_Object *obj;
const char *ee_engine;
wskb->obj = evas_object_rectangle_add(ecore_evas_get(wskb->ee));
/* Check which theme we should use according to the screen width */
- w = 720;
- h = 444;
+ w = IME_WIDTH;
+ h = IME_HEIGHT;
ecore_evas_move_resize(wskb->ee, 0, 0, w, h);
evas_object_move(wskb->obj, 0, 0);
/* Set input panel surface */
fprintf(stderr,"Setting up input panel");
- wskb->win = ecore_evas_wayland_window_get(wskb->ee);
- ecore_wl_window_type_set(wskb->win, ECORE_WL_WINDOW_TYPE_NONE);
- wskb->surface = ecore_wl_window_surface_create(wskb->win);
+ wskb->wl_win = ecore_evas_wayland_window_get(wskb->ee);
+ ecore_wl_window_type_set(wskb->wl_win, ECORE_WL_WINDOW_TYPE_NONE);
+ wskb->surface = ecore_wl_window_surface_create(wskb->wl_win);
ips = wl_input_panel_get_input_panel_surface(wskb->ip, wskb->surface);
wl_input_panel_surface_set_toplevel(ips, wskb->output, WL_INPUT_PANEL_SURFACE_POSITION_CENTER_BOTTOM);
}
elm_win_title_set(m_main_window, "Tizen Keyboard");
#ifdef WAYLAND
- evas_object_resize(m_main_window, 720, 444);
+ evas_object_resize(m_main_window, IME_WIDTH, IME_HEIGHT);
evas_object_move(elm_win_inlined_image_object_get(m_main_window),
0, 0);
evas_object_resize(elm_win_inlined_image_object_get(m_main_window),
- 720, 444);
+ IME_WIDTH, IME_HEIGHT);
#else
unsigned int set = 1;
ecore_x_window_prop_card32_set(elm_win_xwindow_get(m_main_window),
Evas_Coord win_w = 0, win_h = 0;
#ifdef WAYLAND
- win_w = 720;
- win_h = 444;
+ win_w = IME_WIDTH;
+ win_h = IME_HEIGHT;
elm_win_autodel_set(window, EINA_TRUE);
{
#ifdef WAYLAND
elm_theme_overlay_add(NULL, OPTION_GENLIST_OBJ_DIR);
- Evas_Coord win_w = 720, win_h = 444;
+ Evas_Coord win_w = IME_WIDTH, win_h = IME_HEIGHT;
#endif
memset(&ad, 0x0, sizeof(OPTION_ELEMENTS));