1
0
Fork 0
Commit graph

17 commits

Author SHA1 Message Date
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