Commit Graph

62 Commits

Author SHA1 Message Date
Ken Thomases
1561fa4126 winemac: Call sync_window_position() before show_window() since window frame affects whether it shows. 2013-02-19 10:40:08 +01:00
Ken Thomases
abb0161c4c winemac: Always use proper z-order when putting a window on screen. 2013-02-19 10:40:03 +01:00
Ken Thomases
d26a6bf451 winemac: Implement ChangeDisplaySettingsEx(). 2013-02-18 10:35:46 +01:00
Ken Thomases
4f4ac0cafc winemac: Implement EnumDisplaySettingsEx(). 2013-02-18 10:35:35 +01:00
Ken Thomases
bc75a9baff winemac: Implement DISPLAYS_CHANGED event for when display configuration has changed. 2013-02-18 10:34:55 +01:00
Ken Thomases
be6af9a169 winemac: Implement support for full-screen windows. 2013-02-18 10:34:46 +01:00
Ken Thomases
ba86e67792 winemac: Track Cocoa windows in a z-ordered list. 2013-02-18 10:34:40 +01:00
Ken Thomases
3799acb3ac winemac: Use only on-screen windows for Cocoa parent (Win32 owner) and ordering sibling. 2013-02-18 10:34:33 +01:00
Ken Thomases
d74e90080a winemac: Don't set Cocoa window frame to be zero-sized. 2013-02-18 10:34:29 +01:00
Ken Thomases
47352930d8 winemac: Discard old frame changed events when setting frame for off-screen windows, too. 2013-02-18 10:34:24 +01:00
Ken Thomases
a472d39b7d winemac: Prevent Cocoa from consuming certain key-down events. 2013-02-11 11:46:11 +01:00
Ken Thomases
3748c39308 winemac: Implement MOUSE_SCROLL events. 2013-02-11 11:46:10 +01:00
Ken Thomases
033fe9a7c2 winemac: Process clicks in an inactive window in addition to activating it. 2013-02-07 12:04:51 +01:00
Ken Thomases
572324bae3 winemac: Implement MOUSE_MOVED(_ABSOLUTE) events. 2013-02-07 12:04:49 +01:00
Ken Thomases
6289a612ae winemac: Add WineApplication methods to convert from Cocoa to Win32 coordinate space.
Cocoa coordinate space has its origin in the lower left of the primary screen
and y increases up.
2013-02-07 12:04:46 +01:00
Ken Thomases
5f06bf80db winemac: Implement SysCommand() to prevent Alt keypresses from activating system menu. 2013-02-07 12:04:42 +01:00
Ken Thomases
956ec43201 winemac: Implement fake support for the active Windows keyboard layout. 2013-02-06 20:28:29 +01:00
Ken Thomases
2b4d95cd47 winemac: Implement GetKeyNameText(). 2013-02-06 20:28:28 +01:00
Ken Thomases
80baa3a0e9 winemac: Implement VkKeyScanEx(). 2013-02-06 20:28:28 +01:00
Ken Thomases
a649d845ed winemac: Implement MapVirtualKeyEx(). 2013-02-06 20:28:28 +01:00
Ken Thomases
3fcb69b7ca winemac: Implement Beep(). 2013-02-06 20:28:28 +01:00
Alexandre Julliard
e1b6dc57ac winemac: Don't move off-screen windows to a random position. 2013-02-05 20:15:34 +01:00
Ken Thomases
0757a66360 winemac: Ignore Cocoa's window frame adjustments for off-screen windows. 2013-02-05 11:11:45 +01:00
Ken Thomases
3ab66a6916 winemac: Implement ToUnicodeEx(). 2013-02-05 11:07:19 +01:00
Ken Thomases
77de57683f winemac: Generate KEY_PRESS/RELEASE events from Cocoa key events. 2013-02-05 11:06:43 +01:00
Ken Thomases
d0e1a02515 winemac: Rebuild key map when Mac keyboard layout changes. 2013-02-05 11:06:27 +01:00
Ken Thomases
b78eee3172 winemac: Build a map from Mac virtual key codes to Win32 vkeys and scan codes based on Mac keyboard layout. 2013-02-05 11:06:02 +01:00
Ken Thomases
8a0c8d9264 winemac: Implement support for minimizing windows. 2013-02-05 11:05:23 +01:00
Ken Thomases
6efd198c52 winemac: Implement ScrollDC(). 2013-02-05 11:04:33 +01:00
Ken Thomases
b564d97229 winemac: Implement an APP_DEACTIVATED event. 2013-01-28 14:03:51 +01:00
Ken Thomases
3c5973139f winemac: Implement a WINDOW_LOST_FOCUS event. 2013-01-28 14:03:45 +01:00
Ken Thomases
7863a230ec winemac: Implement a WINDOW_GOT_FOCUS event for when Cocoa tries to focus a window. 2013-01-28 14:03:40 +01:00
Ken Thomases
beccf0f8c0 winemac: Maintain a list of which windows have been "key" (focused) recently. 2013-01-28 14:03:25 +01:00
Ken Thomases
6cde62ac18 winemac: Take control over when a window can become focused away from Cocoa. 2013-01-28 14:03:18 +01:00
Ken Thomases
bd269786a5 winemac: Implement a MOUSE_BUTTON event for mouse clicks. 2013-01-28 14:02:45 +01:00
Ken Thomases
a22be47fcf winemac: Add infrastructure to convert from Cocoa event time to Wine tick count. 2013-01-28 14:02:08 +01:00
Ken Thomases
6e59740e18 winemac: Implement WINDOW_FRAME_CHANGED event to tell Wine when window is moved or resized. 2013-01-28 14:00:49 +01:00
Ken Thomases
ed367c504d winemac: Implement a WINDOW_CLOSE_REQUESTED event to allow closing windows. 2013-01-21 12:51:19 +01:00
Ken Thomases
4e83d2fca0 winemac: Implement MsgWaitForMultipleObjectsEx and infrastructure for processing events. 2013-01-21 12:51:18 +01:00
Ken Thomases
177b67e6bd winemac: Make each Mac driver window track the HWND it's associated with. 2013-01-21 12:51:18 +01:00
Ken Thomases
207c4d193f winemac: Associate an event queue with each thread that creates windows and with each window. 2013-01-21 12:51:17 +01:00
Ken Thomases
3c995bb682 winemac: Add WineEventQueue class for conveying events from Cocoa to Wine threads. 2013-01-21 12:51:17 +01:00
Ken Thomases
b6d902ee46 winemac: Add a simple ERR() logging macro that can be used from Cocoa code. 2013-01-21 12:51:16 +01:00
Ken Thomases
c0d43fb51f winemac: Implement layered windows: SetLayeredWindowAttributes() and UpdateLayeredWindow(). 2013-01-15 12:17:02 +01:00
Ken Thomases
2d4bcc47be winemac: Implement SetWindowRgn. 2013-01-15 12:16:52 +01:00
Ken Thomases
7d6ebfa742 winemac: Implement window surface rendering. 2013-01-15 12:16:44 +01:00
Ken Thomases
b3f71fdeb1 winemac: Implement the Mac "Window" menu. 2013-01-11 18:14:08 +01:00
Ken Thomases
15d4b2ab51 winemac: Translate presence in Windows task bar to participation in Exposé and window cycling. 2013-01-11 18:14:08 +01:00
Ken Thomases
b6544d19dd winemac: Implement support for owned windows. 2013-01-11 18:14:07 +01:00
Ken Thomases
429732ce1a winemac: Implement support for WS_EX_TOPMOST windows. 2013-01-11 18:14:07 +01:00