1
0
Fork 0
Commit graph

139 commits

Author SHA1 Message Date
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 efce8c5ec9
Merge pull request #26 from crsaracco/master
Handle X11 keyboard and mouse events (just println! for now)
2020-07-08 17:18:33 -04:00
Mirko Covizzi 98b8a1186b Cargo fmt 2020-07-08 23:07:22 +02:00
Mirko Covizzi fd7f4c1032 Merge remote-tracking branch 'upstream/master' into experiments 2020-07-08 23:04:39 +02:00
Mirko Covizzi df72b11c74 Successful execution and rendering on Windows host 2020-07-08 23:03:03 +02:00
Mirko Covizzi 2d3bb0c817
Merge pull request #28 from MirkoCovizzi/experiments
Add Timer and manage some Events
2020-06-30 21:58:11 +02:00
Mirko Covizzi 46dacdfc37 Event management refactoring 2020-06-30 21:53:04 +02:00
Mirko Covizzi 0bd1ae52c5 Cargo fmt 2020-06-30 21:29:00 +02:00
Mirko Covizzi c6293cd7d1 Add Timer 2020-06-30 21:25:53 +02:00
Mirko Covizzi 96380305d4 Merge branch 'events' 2020-06-15 23:03:16 +02:00
Mirko Covizzi c499697a9a Windows: add basic event handling 2020-06-15 23:02:39 +02: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
Mirko Covizzi f35f97c73e Windows: Refactor: move register window class into its own function 2020-06-12 22:41:30 +02:00
Mirko Covizzi 8c2c743da4 Windows: implement window close method 2020-06-09 21:55:44 +02:00
Mirko Covizzi 561d1a3005 Cargo fmt 2020-06-08 23:04:18 +02:00
Mirko Covizzi 9324b1b129 Windows: Refactor: move guid generation to fn 2020-06-08 23:03:31 +02:00
Mirko Covizzi 2d4db1575d Windows: Add message box 2020-06-08 22:59:17 +02:00
Mirko Covizzi 756b182250 Windows: add basic parent window support 2020-06-02 22:21:59 +02:00
Charles Saracco cc6d17169e OpenGL surface for X11/XCB 2020-05-31 14:39:14 -04:00
Mirko Covizzi abd64adb16 Make code more idiomatic 2020-05-29 22:29:49 +02:00
Mirko Covizzi 09fc541055 Cargo clippy 2020-05-29 21:19:56 +02:00
Mirko Covizzi 0583f3de5f Cargo fmt 2020-05-29 21:04:51 +02:00
Mirko Covizzi e2c4c53f32 Add OpenGL context on Windows 2020-05-29 21:03:22 +02:00
Mirko Covizzi 829fa2c9bd Merge 2020-05-29 11:30:43 +02:00
Mirko Covizzi e5c37cc0de Cleanup GUID string and add more conditional compilation 2020-05-26 09:39:13 +02:00
Micah Johnston 1b33c3c33e unify api and file structure across platforms; make example platform-independent 2020-05-25 21:32:55 -05:00
Charles Saracco ff5b7fee79 make example platform-independent (ish) 2020-05-25 21:18:23 -04:00
Charles Saracco f087efefe2 fix lib.rs so that it builds on all three targeted platforms 2020-05-25 18:28:42 -04:00
Micah Johnston 951ba2a595 initial macos code 2020-05-25 16:17:59 -05:00
Charles Saracco 65baa03411 Merge remote-tracking branch 'upstream/master' 2020-05-25 17:00:37 -04:00
Charles Saracco 587e4e0bb1 DPI scaling: implement get_scaling function for X11 2020-05-25 16:59:47 -04:00
Mirko Covizzi 23a63d15a5 Merge 2020-05-25 22:24:16 +02:00
Mirko Covizzi f75177e9b6 Setup unique class naming for windows on Windows 2020-05-25 22:15:58 +02:00
Charles Saracco 7eecb4675e Add title changing 2020-05-25 15:54:22 -04:00
Charles Saracco 741318b7f6 barebones x11 window 2020-05-25 15:49:29 -04:00
Mirko Covizzi e7c8a9780d Add Windows initial code 2020-05-25 21:35:03 +02:00
William Light 7f299cf69b add WindowOpenOptions 2020-05-25 20:04:48 +02:00