parent
1dd8436cd4
commit
e6891b228c
|
@ -577,7 +577,7 @@ _ecore_evas_win32_rotation_set(Ecore_Evas *ee, int rotation)
|
||||||
if (!einfo) return;
|
if (!einfo) return;
|
||||||
einfo->info.rotation = rotation;
|
einfo->info.rotation = rotation;
|
||||||
evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo);
|
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 */
|
#endif /* BUILD_ECORE_EVAS_SOFTWARE_GDI */
|
||||||
|
|
||||||
|
@ -590,7 +590,7 @@ _ecore_evas_win32_rotation_set(Ecore_Evas *ee, int rotation)
|
||||||
if (!einfo) return;
|
if (!einfo) return;
|
||||||
einfo->info.rotation = rotation;
|
einfo->info.rotation = rotation;
|
||||||
evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo);
|
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 */
|
#endif /* BUILD_ECORE_EVAS_SOFTWARE_DDRAW */
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,16 +90,16 @@ ecore_win32_init()
|
||||||
|
|
||||||
if (_ecore_win32_log_dom < 0)
|
if (_ecore_win32_log_dom < 0)
|
||||||
{
|
{
|
||||||
EINA_LOG_ERR("Could not register log domain: ecore_win32");
|
EINA_LOG_ERR("Could not register log domain: ecore_win32");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
MESSAGE_INFO("initializing ecore_win32 (current count: %d)\n", _ecore_win32_init_count);
|
MESSAGE_INFO("initializing ecore_win32 (current count: %d)\n", _ecore_win32_init_count);
|
||||||
|
|
||||||
if (_ecore_win32_init_count > 0)
|
if (_ecore_win32_init_count > 0)
|
||||||
{
|
{
|
||||||
_ecore_win32_init_count++;
|
_ecore_win32_init_count++;
|
||||||
return _ecore_win32_init_count;
|
return _ecore_win32_init_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
_ecore_win32_instance = GetModuleHandle(NULL);
|
_ecore_win32_instance = GetModuleHandle(NULL);
|
||||||
|
@ -323,7 +323,7 @@ _ecore_win32_window_procedure(HWND window,
|
||||||
{
|
{
|
||||||
POINT pt;
|
POINT pt;
|
||||||
|
|
||||||
MESSAGE_INFO("mouse in window\n");
|
MESSAGE_INFO("mouse in window\n");
|
||||||
|
|
||||||
pt.x = GET_X_LPARAM(data_param);
|
pt.x = GET_X_LPARAM(data_param);
|
||||||
pt.y = GET_Y_LPARAM(data_param);
|
pt.y = GET_Y_LPARAM(data_param);
|
||||||
|
|
|
@ -170,11 +170,11 @@ _ecore_win32_event_handle_button_press(Ecore_Win32_Callback_Data *msg,
|
||||||
if (!e) return;
|
if (!e) return;
|
||||||
|
|
||||||
e->window = (Ecore_Window)window;
|
e->window = (Ecore_Window)window;
|
||||||
e->direction = 0;
|
e->direction = 0;
|
||||||
/* wheel delta is positive or negative, never 0 */
|
/* wheel delta is positive or negative, never 0 */
|
||||||
e->z = GET_WHEEL_DELTA_WPARAM(msg->window_param) > 0 ? -1 : 1;
|
e->z = GET_WHEEL_DELTA_WPARAM(msg->window_param) > 0 ? -1 : 1;
|
||||||
e->x = GET_X_LPARAM(msg->data_param);
|
e->x = GET_X_LPARAM(msg->data_param);
|
||||||
e->y = GET_Y_LPARAM(msg->data_param);
|
e->y = GET_Y_LPARAM(msg->data_param);
|
||||||
e->timestamp = (double)msg->time / 1000.0;
|
e->timestamp = (double)msg->time / 1000.0;
|
||||||
|
|
||||||
_ecore_win32_event_last_time = e->timestamp;
|
_ecore_win32_event_last_time = e->timestamp;
|
||||||
|
|
|
@ -82,8 +82,8 @@ ecore_wince_init()
|
||||||
|
|
||||||
if (_ecore_wince_init_count > 0)
|
if (_ecore_wince_init_count > 0)
|
||||||
{
|
{
|
||||||
_ecore_wince_init_count++;
|
_ecore_wince_init_count++;
|
||||||
return _ecore_wince_init_count;
|
return _ecore_wince_init_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
_ecore_wince_instance = GetModuleHandle(NULL);
|
_ecore_wince_instance = GetModuleHandle(NULL);
|
||||||
|
|
Loading…
Reference in New Issue