evas_object_del(obj);
obj = NULL;
- if (_guide_popup_window != NULL)
- {
+ if (_guide_popup_window != NULL) {
evas_object_del(_guide_popup_window);
_guide_popup_window = NULL;
}
if (g_ui)
g_ui->get_screen_resolution(&scr_w, &scr_h);
- if (keyEvent == MVK_space)
- {
+ if (keyEvent == MVK_space) {
g_ui->get_button_geometry("SPACE_KEY", &rectangle);
} else {
g_ui->get_button_geometry("CM_KEY", &rectangle);
break;
}
case KEY_TYPE_MODECHANGE:
- if (!g_config_values.first_guideset){
+ if (!g_config_values.first_guideset) {
ise_show_help_popup(event_desc.key_event);
break;
}
static Eina_Bool popup_guideline_timer_cb(void *data)
{
- if ((!g_config_values.first_guidechange)&&(_language_manager.get_enabled_languages_num() > 1))
- {
+ if ((!g_config_values.first_guidechange)&&(_language_manager.get_enabled_languages_num() > 1)) {
ise_show_help_popup(MVK_space);
g_config_values.first_guidechange = TRUE;
write_ise_config_values();
if (key.get_key_string().compare("XF86Back") == 0) {
back_key_pressed = EINA_TRUE;
- }
- else if (key.get_key_string().compare("KeyRelease+XF86Back") == 0) {
+ } else if (key.get_key_string().compare("KeyRelease+XF86Back") == 0) {
back_key_released = EINA_TRUE;
}
default:
;
}
- }
- else if (direction == IME_INPUT_DEVICE_ROTARY_DIRECTION_COUNTER_CLOCKWISE) {
+ } else if (direction == IME_INPUT_DEVICE_ROTARY_DIRECTION_COUNTER_CLOCKWISE) {
LOGD("COUNTER_CLOCKWISE\n");
switch (g_keyboard_state.layout) {
case ISE_LAYOUT_STYLE_NORMAL: