formatting

SVN revision: 42275
This commit is contained in:
Vincent Torri 2009-09-05 08:52:41 +00:00
parent 1dd8436cd4
commit e6891b228c
4 changed files with 13 additions and 13 deletions

View File

@ -577,7 +577,7 @@ _ecore_evas_win32_rotation_set(Ecore_Evas *ee, int rotation)
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 */
@ -590,7 +590,7 @@ _ecore_evas_win32_rotation_set(Ecore_Evas *ee, int rotation)
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 */
}

View File

@ -90,16 +90,16 @@ ecore_win32_init()
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);
@ -323,7 +323,7 @@ _ecore_win32_window_procedure(HWND window,
{
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);

View File

@ -170,11 +170,11 @@ _ecore_win32_event_handle_button_press(Ecore_Win32_Callback_Data *msg,
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;

View File

@ -82,8 +82,8 @@ ecore_wince_init()
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);