if (!einfo) return;
einfo->info.rotation = rotation;
evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo);
- _ecore_evas_win32_rotation_set_internal(ee, rotation);
+ _ecore_evas_win32_rotation_set_internal(ee, rotation);
}
#endif /* BUILD_ECORE_EVAS_SOFTWARE_GDI */
if (!einfo) return;
einfo->info.rotation = rotation;
evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo);
- _ecore_evas_win32_rotation_set_internal(ee, rotation);
+ _ecore_evas_win32_rotation_set_internal(ee, rotation);
}
#endif /* BUILD_ECORE_EVAS_SOFTWARE_DDRAW */
}
if (_ecore_win32_log_dom < 0)
{
- EINA_LOG_ERR("Could not register log domain: ecore_win32");
- return 0;
+ EINA_LOG_ERR("Could not register log domain: ecore_win32");
+ return 0;
}
MESSAGE_INFO("initializing ecore_win32 (current count: %d)\n", _ecore_win32_init_count);
if (_ecore_win32_init_count > 0)
{
- _ecore_win32_init_count++;
- return _ecore_win32_init_count;
+ _ecore_win32_init_count++;
+ return _ecore_win32_init_count;
}
_ecore_win32_instance = GetModuleHandle(NULL);
{
POINT pt;
- MESSAGE_INFO("mouse in window\n");
+ MESSAGE_INFO("mouse in window\n");
pt.x = GET_X_LPARAM(data_param);
pt.y = GET_Y_LPARAM(data_param);
if (!e) return;
e->window = (Ecore_Window)window;
- e->direction = 0;
+ e->direction = 0;
/* wheel delta is positive or negative, never 0 */
- e->z = GET_WHEEL_DELTA_WPARAM(msg->window_param) > 0 ? -1 : 1;
- e->x = GET_X_LPARAM(msg->data_param);
- e->y = GET_Y_LPARAM(msg->data_param);
+ e->z = GET_WHEEL_DELTA_WPARAM(msg->window_param) > 0 ? -1 : 1;
+ e->x = GET_X_LPARAM(msg->data_param);
+ e->y = GET_Y_LPARAM(msg->data_param);
e->timestamp = (double)msg->time / 1000.0;
_ecore_win32_event_last_time = e->timestamp;
if (_ecore_wince_init_count > 0)
{
- _ecore_wince_init_count++;
- return _ecore_wince_init_count;
+ _ecore_wince_init_count++;
+ return _ecore_wince_init_count;
}
_ecore_wince_instance = GetModuleHandle(NULL);