William Light
|
c76f089c96
|
x11/window: nitpicky code aesthetics
|
2020-09-11 15:50:10 +02:00 |
|
William Light
|
b5dfbd946e
|
x11: pass XCB conn error back through XcbConnection::new()
|
2020-09-11 15:47:00 +02:00 |
|
William Light
|
da2c12dd25
|
x11: move scaling determination funcs into xcb_connection.rs
|
2020-09-11 15:44:01 +02:00 |
|
William Light
|
54f8bc7345
|
x11: split event loop and XCB event handling into separate fns
|
2020-09-11 15:40:19 +02:00 |
|
Micah Johnston
|
5ecce5d28d
|
Window::open() returns WindowHandle struct
|
2020-09-08 18:45:29 -05:00 |
|
Micah Johnston
|
601a5d62a4
|
remove mspc channel (to be replaced by baseview-specific WindowHandle
|
2020-09-08 18:45:29 -05:00 |
|
Micah Johnston
|
c51aea5c12
|
rename AppWindow -> WindowHandler
|
2020-09-08 18:45:29 -05:00 |
|
micah
|
057324e688
|
adapt x11 backend to new api
|
2020-09-07 21:33:03 -04:00 |
|
Billy Messenger
|
147037e639
|
Change unwrap() to unwrap_or(1.0)
|
2020-09-05 17:33:41 -05:00 |
|
Billy Messenger
|
08390d6004
|
Change AppWindow::create_context() to AppWindow::build()
|
2020-09-05 17:29:36 -05:00 |
|
Billy Messenger
|
93dfe909a8
|
fix minor nitpicks
|
2020-09-05 17:08:20 -05:00 |
|
Billy Messenger
|
dcfc988047
|
Change raw_handle to use an Xlib handle instead of an Xcb handle
|
2020-09-05 16:29:47 -05:00 |
|
Billy Messenger
|
c7d9d7d107
|
Add small wrapper for RawWindowHandle
|
2020-09-05 15:22:23 -05:00 |
|
Billy Messenger
|
f3ba681877
|
Replace dpi with scale
|
2020-09-05 14:55:45 -05:00 |
|
Billy Messenger
|
15b0c2e857
|
Replace RenderExpose event with draw method
|
2020-09-05 14:41:26 -05:00 |
|
Billy Messenger
|
6cf5966afa
|
Rename Application tratit to AppWindow
|
2020-09-05 11:19:09 -05:00 |
|
Billy Messenger
|
29917b87cd
|
Rename Receiver trait to Application
|
2020-09-03 11:50:15 -05:00 |
|
Billy Messenger
|
81e791f06b
|
Rename Message to Event. Add AppMessage type and on_app_message method to Receiver trait.
|
2020-09-03 11:38:22 -05:00 |
|
Billy Messenger
|
ab8cb1c223
|
Remove Opened message. Add RenderExpose message.
|
2020-09-03 10:58:24 -05:00 |
|
Billy Messenger
|
b0c3792c74
|
Revert to Receiver trait. Add create_context method to Receiver trait.
|
2020-09-03 10:54:23 -05:00 |
|
Billy Messenger
|
a5829cee88
|
rename build() to open()
|
2020-09-03 10:22:25 -05:00 |
|
Billy Messenger
|
2934a4c1fb
|
Remove context creation code. Add mpsc Message channel.
|
2020-09-03 10:17:54 -05:00 |
|
Billy Messenger
|
90a25ea988
|
cargo fmt
|
2020-09-02 16:23:03 -05:00 |
|
Billy Messenger
|
9234f050c0
|
Add compiler arguments for choosing between OpenGL or wgpu. Add Receiver and Message types.
|
2020-09-02 16:22:49 -05:00 |
|
Charles Saracco
|
7308763470
|
Handle keyboard and mouse events (just println! for now)
|
2020-06-15 01:40:45 -04:00 |
|
Charles Saracco
|
c42b218bb1
|
Better DPI scale factor strategy for X11
|
2020-06-14 00:25:37 -04:00 |
|
Charles Saracco
|
cc6d17169e
|
OpenGL surface for X11/XCB
|
2020-05-31 14:39:14 -04:00 |
|
Micah Johnston
|
1b33c3c33e
|
unify api and file structure across platforms; make example platform-independent
|
2020-05-25 21:32:55 -05:00 |
|