Commit Graph

29 Commits

Author SHA1 Message Date
Cedric BAIL 0c4880e99d efl: everyone should now rely on Eina MIN/MAX redefinition. 2016-05-09 16:58:53 -07:00
Vincent Torri 232b08cef3 Ecore_Win32: let cursors on the non-client area (the borders) be like the default ones
After the support of the X11 cursors on Windows, the cursors were set for the whole
window (even the borders). Now we let the system use the default cursors for the borders
and we use the cursors set by the API for the client area only
2015-12-14 11:14:51 +09:00
Vincent Torri ba4fbb99bc ecore_win32: add support of X11 shaped cursors
@feature

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-01 12:15:31 -08:00
Vincent Torri abf4364b30 ecore_win32: add clipboard management
@feature

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-01 12:13:12 -08:00
Stefan Schmidt 1aa2ac6ba0 ecore: win32: remove executable bit from source file 2015-09-04 14:54:07 +02:00
ChunEon Park 97b214b033 Revert "Revert "ecore_win: fix the incorrect mouse cursor position.""
This reverts commit 3ce8860dab.

Apply only to mouse wheel case. Button press/release wans't problem actually.
If I correct, this is caused because of different nature of window systems.
Anyway our Ecore_Event_Mouse values should keep consistency among the various systems.
2015-08-25 19:35:45 +09:00
ChunEon Park 3ce8860dab Revert "ecore_win: fix the incorrect mouse cursor position."
This reverts commit 1f1542f824.

coordinate has been corrupted. need to investigate more.
2015-08-25 18:13:14 +09:00
ChunEon Park 1f1542f824 ecore_win: fix the incorrect mouse cursor position.
Ecore_Event_Mouse_* x, y values are relative to the current window position
as well as the root x, y, values are relative to the root window.

previously, x,y is started from the root window and root x, y values are invalid.

fix them

@fix
2015-08-25 15:34:13 +09:00
Vincent Torri 3d531fba1e Ecore_Win32: do not allocate data as it is useless. Fix memory leak.
@fix
2015-07-23 16:51:06 +01:00
Cedric BAIL ce5ccfb5be ecore: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Adrien Nader 7b3332ddf4 ecore_win32: don't fail if OleInitialize() had been called before. 2015-04-18 17:24:53 +02:00
Romain Perier 26253f6de4 ecore_win32: don't allocate Ecore_Event_Key events with NULL keys
If "keyname" and "key" are NULL an Ecore_Event_Key is allocated
throught calloc. strlen() is called on these variables, which crashes
the program. As it is not correct to return a key event for NULL
keys to ecore, it is preferrable to return NULL and exit the function
before the key event is allocated, which fixes the crash in the same
time.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-30 10:49:56 +01:00
Vincent Torri 0e20323a4a Ecore_Win32: Fix string for the BackSpace key on Windows
@fix
2014-10-14 09:02:42 -04:00
Vincent Torri d1cbf6d080 Ecore_Win32: fix resize of windows when step and base sizes are set 2014-07-09 14:26:26 +02:00
Vincent Torri 925c258e6b Ecore_Win32: fix typo in doc 2014-07-09 14:26:26 +02:00
Vincent Torri 08f7baab26 ecore_win32: discard WM_MOUSEMOVE message if it has the same mouse coordinates than the previous one. See link in commit for an explanation 2014-06-29 19:57:34 +02:00
Vincent Torri da06260e79 ecore_win32: activate an Ecore window when raising it 2014-06-29 19:57:26 +02:00
Vincent Torri 3dfc303564 ecore_win32: fix the raise of an Ecore Window overlapped by another window when clicking on the title bar 2014-06-29 19:57:02 +02:00
Vincent Torri 42888dacac ecore_win32: simplify logic
To avoid flickering, we have to manage WM_ERASEBKGND. This message
is sent because CS_HREDRAW and CS_VREDRAW are used when registering
the window class. So just omit CS_HREDRAW and CS_VREDRAW.
2014-06-29 19:56:50 +02:00
Cedric BAIL 45b518c072 ecore_win32: fix typo. 2014-06-29 19:56:12 +02:00
Cedric BAIL 201d9b567d windows: make those warning explicit about what they imply. 2014-06-27 17:00:23 +02:00
Cedric BAIL b2245de3ae ecore_win32: another forgotten read that is unecessary in current setup. 2014-06-27 13:34:02 +02:00
Cedric BAIL a449ca47f1 ecore_win32: silent warning by reading the returned value in a useful way. 2014-06-27 13:27:33 +02:00
Vincent Torri 113d794973 ecore_win32: fix key events on Windows.
@fix

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 10:21:26 +02:00
Cedric BAIL a4ea4423ac ecore: fix some aliasing warning. 2013-03-22 20:25:37 +09:00
Cedric Bail 5969101c57 ecore: another needed virtual destructor. 2013-03-17 10:34:27 +09:00
Cedric Bail e890b24457 ecore: virtual destructors are needed 2013-03-16 23:12:47 +09:00
Jonas M. Gastal e3ae81e65f efl: Created Ecore group and added existing Ecore groups to it.
SVN revision: 81293
2012-12-18 18:38:44 +00:00
Vincent Torri 7d6010b12c merge: add escape ecore, fix several bugs
SVN revision: 79995
2012-12-02 22:35:45 +00:00