-
e0c79c58fb
Implement window resizing for macOS
Robbert van der Helm
2022-12-01 20:12:50 +0100
-
80fb0a00b8
Only send resize event on macOS on actual change
Robbert van der Helm
2022-12-01 18:32:35 +0100
-
537c303ee5
Only send resize event on Windows on actual change
Robbert van der Helm
2022-12-01 18:21:25 +0100
-
5a1bb0f4d8
Ensure WindowEvent::Resized fires for Linux resize
Robbert van der Helm
2022-12-01 18:20:32 +0100
-
80b30ce617
Implement window resizing for Windows
Robbert van der Helm
2022-11-30 18:57:56 +0100
-
b8a5867436
Replace uses of Arc with Rc in Windows impl
Robbert van der Helm
2022-11-30 18:25:05 +0100
-
c5867b6af6
Use interior mutability for Windows WindowState
Robbert van der Helm
2022-11-30 18:21:21 +0100
-
3dfff613b9
Use physical sizes in X11 window resize
Robbert van der Helm
2022-03-27 18:16:55 +0200
-
d61f21666c
Add window resizing for X11
Robbert van der Helm
2022-03-27 16:01:58 +0200
-
-
ee156fb884
Merge pull request #133 from robbert-vdh/feature/horizontal-scrolling
william light
2022-11-22 15:55:04 +0100
-
-
f2ca0ffa6d
Support horizontal scrolling on Windows
Robbert van der Helm
2022-11-22 15:42:10 +0100
-
9798d3ca86
Support horizontal scrolling on X11
Robbert van der Helm
2022-11-22 15:39:49 +0100
-
025f34b80f
Map mouse forward and back correctly on X11
Robbert van der Helm
2022-11-22 15:32:43 +0100
-
-
84f10763a3
Merge pull request #132 from robbert-vdh/fix/x11-frame-pacing
william light
2022-11-18 18:06:11 +0100
-
-
13cc12d4e7
Ensure a consistent frame pacing in X11 windows
Robbert van der Helm
2022-11-18 14:47:41 +0100
-
-
1780c89baf
macos/view: fix compilation
William Light
2022-11-13 02:22:53 +0100
-
eeded04b3e
Merge pull request #110 from ingo-dsp/macos-scrollwheel
william light
2022-11-13 02:14:16 +0100
-
-
eae4033e7d
Merge pull request #117 from robbert-vdh/feature/mouse-event-modifiers
william light
2022-09-22 16:36:24 +0200
-
-
3dd255f238
Merge branch 'master' into macos-scrollwheel
Ingo Budde
2022-07-24 00:25:46 +0200
-
-
-
-
5b57af2463
Add the active modifiers to the mouse event
Robbert van der Helm
2022-02-09 18:20:54 +0100
-
e46001a448
Remove unused mouse click event
Robbert van der Helm
2022-02-09 17:30:50 +0100
-
-
b3712638ba
Merge pull request #115 from robbert-vdh/feature/merge-raw-gl-context
Micah Johnston
2022-03-07 12:22:30 -0600
-
-
85b6437de8
Swap out X11 error handling mutex for a RefCell
Robbert van der Helm
2022-03-07 18:52:49 +0100
-
0aae938af0
Remove unnecessary unsafe blocks
Robbert van der Helm
2022-03-07 18:41:29 +0100
-
ef86e56ac7
Keep the first X11 error
Robbert van der Helm
2022-03-07 18:17:50 +0100
-
aa1ad823ce
Use a thread local variable for the X11 error
Robbert van der Helm
2022-03-07 18:13:47 +0100
-
ba442a4382
Fix overlapping cell borrows in Windows impl
Robbert van der Helm
2022-02-10 03:12:34 +0100
-
43860aba84
Fix a whackton of warnings and clippy lints
Robbert van der Helm
2022-02-07 23:10:53 +0100
-
d83517565b
Implement the OpenGL context on macOS
Robbert van der Helm
2022-02-07 22:43:27 +0100
-
fe107ab378
Implement the OpenGL context on Windows
Robbert van der Helm
2022-02-07 22:36:37 +0100
-
2f7f177be8
Move RawWindowHandleWrapper to a shared module
Robbert van der Helm
2022-02-07 21:51:54 +0100
-
690a94f9f1
Enable the glx feature for the x11 crate
Robbert van der Helm
2022-02-07 21:35:24 +0100
-
cb714401d8
Build both with and without opengl on CI
Robbert van der Helm
2022-02-07 20:25:01 +0100
-
3551d5e253
Implement OpenGL contexts for X11
Robbert van der Helm
2022-02-07 20:20:20 +0100
-
b4a3d2bb04
Add stubs for creating OpenGL contexts
Robbert van der Helm
2022-02-07 19:00:03 +0100
-
80802dfbe9
Make opengl context creation private for now
Robbert van der Helm
2022-02-07 18:05:32 +0100
-
6105cae01d
Mention OpenGL contexts in the readme
Robbert van der Helm
2022-02-07 17:59:40 +0100
-
d2e3d5d1ac
Don't enable the OpenGL feature by default
Robbert van der Helm
2022-02-07 17:58:45 +0100
-
0f1b8353d0
Patch up the raw-gl-context modules for a feature
Robbert van der Helm
2022-02-07 17:31:19 +0100
-
45e29b4891
Add the entire tree from raw-gl-handle
Robbert van der Helm
2022-02-07 17:18:16 +0100
-
d76b02df44
Upgrade to raw-window-handle 0.4.x
Robbert van der Helm
2022-02-07 17:13:51 +0100
-
625fde7957
Create X11 windows with a depth of 32-bits
Robbert van der Helm
2022-02-07 13:13:28 +0100
-
-
a8010016fb
Bump dependencies (#100)
George Atkinson
2022-02-06 23:58:11 +0000
-
89c051cccc
Add error checking on X11 window creation, and fix parented X11 window creation (#113)
Adrien Prokopowicz
2022-02-07 00:55:12 +0100
-
912628030e
Add scrollwheel support for macos
Ingo Budde
2022-01-17 20:23:36 +0100
-
-
004065e9a4
macOS: clear ivar earlier to prevent double free in release (#108)
Joakim Frostegård
2021-12-08 01:39:54 +0100
-
f6e99e9aa6
add ability to close window from user code, add HostWindowHandle (#103)
Billy Messenger
2021-11-16 00:00:22 -0600
-
2a894c6bc9
Run cargo fmt on source files (#106)
Pedro Tacla Yamada
2021-11-10 17:57:54 +1100
-
9fbfe18f9a
NSView lifetime fixes (#104)
glowcoil
2021-11-07 16:57:12 -0600
-
6172090be3
Merge pull request #102 from DGriffin91/master
william light
2021-10-10 02:11:07 +0200
-
-
6bfcfbb74d
add scrollwheel support for windows
DGriffin91
2021-10-09 16:52:56 -0700
-
-
e7a6c661ef
Merge pull request #97 from BillyDM/master
william light
2021-07-16 12:36:40 +0200
-
-
de8316c5fc
Merge pull request #98 from greatest-ape/better-ci
william light
2021-07-16 12:36:03 +0200
-
-
5eb17ed0fd
Build examples too in CI
Joakim Frostegård
2021-07-16 01:10:29 +0200
-
-
ae2f28c5fd
add window resizing and dpi scaling support in Windows
Billy Messenger
2021-07-14 19:32:28 -0500
-
f7873f1854
typo
Billy Messenger
2021-07-14 11:45:06 -0500
-
d316c6ae54
send initial window resized event in x11
Billy Messenger
2021-07-14 11:44:00 -0500
-
-
d399c12755
using viewDidChangeBackingProperties callback to detect scale factor … (#95)
anunge
2021-03-29 21:39:53 +0300
-
50c41755fd
Fix: Check for remaining events in the internal X11/xcb buffers (#86)
Weird Constructor
2021-03-04 18:00:42 +0100
-
68a5c4a19f
Merge pull request #92 from greatest-ape/derives
william light
2021-02-10 17:48:07 +0100
-
-
5ad2d2bfb2
Derive Clone, Copy, PartialEq for EventStatus and WindowScalePolicy
Joakim Frostegård
2021-02-10 17:01:49 +0100
-
-
72b6a4a2d1
Support passing back some events to the platform (#90)
Joakim Frostegård
2021-02-09 21:47:31 +0100
-
663f9d5d4c
Merge pull request #88 from glowcoil/on_frame_window
william light
2021-01-27 16:56:03 +0100
-
-
ef27adeda1
add window argument to WindowHandler::on_frame()
micah
2021-01-27 02:09:05 -0500
-
-
36e4474c8a
separate Window::open() into three functions (parented, as_if_parented, and blocking)
micah
2020-12-12 16:21:33 -0500
-
86bf222601
PhantomData<*mut ()> in Window to ensure it is !Send
micah
2020-12-12 01:58:02 -0500
-
72302e9dd0
macOS: use CFRunLoopTimer, improve view release logic (#84)
Joakim Frostegård
2020-12-28 03:44:23 +0100
-
868bd0583c
cleanup on window destroyed (free WindowHandler, unregister wndclass)
Micah Johnston
2020-12-23 16:19:19 -0600
-
d138cfaccf
treat WM_MOUSEMOVE coordinates as i16 to handle negative coordinates properly
Micah Johnston
2020-12-20 15:33:52 -0600
-
cc6ead3669
Fixed a bug causing 'already borrowed' error
George Atkinson
2020-12-19 21:28:22 +0000
-
b76d416d7a
update readme feature table
Micah Johnston
2020-12-19 17:48:14 -0600
-
9fdb75155d
Added mouse capture/release to windows backend (#81)
George Atkinson
2020-12-19 23:41:40 +0000
-
c64b2257f5
use W variants of winapi functions
Micah Johnston
2020-12-12 18:50:29 -0600
-
043fe41d05
don't call on_frame on expose events in x11 backend
micah
2020-12-19 15:43:53 -0500
-
e02854452e
remove WindowHandle
Micah Johnston
2020-12-08 19:30:50 -0600
-
0633874266
pass WindowHandler as trait object in x11 backend
Micah Johnston
2020-12-08 19:27:26 -0600
-
e9507f8d86
store WindowHandler as trait object in cocoa backend
Micah Johnston
2020-12-08 19:22:26 -0600
-
4e70af1162
store WindowHandler as trait object to reduce generics in winapi backend
Micah Johnston
2020-12-08 19:20:42 -0600
-
8402310c88
remove Message api
Micah Johnston
2020-12-08 18:37:17 -0600
-
cd0d5215d0
remove unused code from windows backend
Micah Johnston
2020-12-08 18:35:27 -0600
-
7ff31ea6f7
ensure title lives long enough to pass it to CreateWindowEx; also validate it as a CString
Micah Johnston
2020-12-08 23:10:18 -0600
-
30c34db12e
set default arrow cursor on window class rather than null
Micah Johnston
2020-12-07 01:10:59 -0600
-
2faea075b1
call on_frame on WM_TIMER events
Micah Johnston
2020-12-07 00:42:55 -0600
-
365cc8c018
allow DefWindowProc to be called in the case of WM_PAINT
Micah Johnston
2020-12-07 00:42:09 -0600
-
ab0cb10a22
call DefWindowProc in the case of WM_SYSKEYDOWN. makes alt-f4 work.
Micah Johnston
2020-12-07 00:09:18 -0600
-
08e56bd5ae
remove unnecessary dependencies (log, libc)
micah
2020-12-05 18:44:41 -0500
-
db1725a33b
Merge pull request #67 from greatest-ape/macos-flags-changed
william light
2020-12-05 02:01:23 +0100
-
-
19b6a2f701
macOS: handle changed flags
Joakim Frostegård
2020-12-05 01:48:26 +0100
-
-
a13b3af3d1
Merge pull request #66 from greatest-ape/macos-dpi
william light
2020-12-04 23:43:52 +0100
-
-
edbc26aa4a
macOS: always use scale=1.0 with WindowScalePolicy::SystemScaleFactor
Joakim Frostegård
2020-12-04 23:38:17 +0100
-
-
67cdd7bdfc
Merge pull request #65 from BillyDM/master
william light
2020-12-04 22:41:57 +0100
-
-
f696c7d14d
implement try_send_message for Linux
Billy Messenger
2020-12-04 15:29:55 -0600
-
-
72d55c9dba
Split WindowHandle and add try_send_message method (#61)
william light
2020-12-04 21:49:05 +0100
-
-
1aebdfb331
Move MESSAGE_QUEUE_LEN const from macOS module to crate root
Joakim Frostegård
2020-12-04 21:46:55 +0100
-
dd1955285e
macOS: clean up
Joakim Frostegård
2020-12-01 16:13:38 +0100
-
2273a2c07c
macOS: add and use MESSAGE_QUEUE_LEN constant
Joakim Frostegård
2020-12-01 16:13:02 +0100
-
f6593d0371
README: add messages milestone row, add check mark to macOS column
Joakim Frostegård
2020-11-29 18:17:24 +0100
-
35a03aff17
Split off AppRunner from WindowHandle on Windows and Linux
Joakim Frostegård
2020-11-29 17:33:14 +0100
-
c1d04b978e
Clean up
Joakim Frostegård
2020-11-29 17:10:12 +0100
-
60244c3888
Add comment to WindowState static assertions code
Joakim Frostegård
2020-11-29 17:02:18 +0100