Commit graph

152 commits

Author SHA1 Message Date
Krzysztof Kondrak bd5ac066a2 fixed braces formatting + dropped err_code variable 2015-12-28 17:17:23 +01:00
Krzysztof Kondrak de47861fe3 Ignore the "Class already exists" error in multiple-window application 2015-12-28 16:50:51 +01:00
Daniel Collin c5aca23e78 Updated README with correct example 2015-12-25 10:37:13 +01:00
Daniel Collin ab849a63d4 Merge pull request #5 from kondrak/windows-rs
Added backquote/tilde key
2015-12-22 12:56:53 +01:00
Krzysztof Kondrak 6fd476783c Added backquote/tilde key 2015-12-22 12:54:06 +01:00
Daniel Collin 1455bd375e WIP on Mac version 2015-12-19 14:47:34 +01:00
Daniel Collin 026be10b8b Finally a visible window! 2015-12-19 11:44:36 +01:00
Daniel Collin 08028c1e54 WIP on Mac version 2015-12-19 08:25:04 +01:00
Daniel Collin aa5d84eb2b Added support for key repeat
* Added get_keys_pressed(KeyRepeat::Yes/No) in order for the user to
decide if repeat should be used or not
* added is_key_pressed(key, KeyRepeat::Yes/No)
* Added set_key_repeat_delay/rate in order to control the rate/delays of
keys
2015-12-18 20:21:47 +01:00
Daniel Collin 2a05ff3659 Merge pull request #4 from kondrak/windows-rs
added ScrollLock and numeric keypad
2015-12-17 12:44:01 +01:00
Krzysztof Kondrak 3bbbd46dd9 remove println\ 2015-12-17 12:33:21 +01:00
Krzysztof Kondrak 2f91a754d5 added ScrollLock and numeric keypad 2015-12-17 12:27:46 +01:00
Daniel Collin cacc5b564b Merge pull request #2 from kondrak/windows-rs
added support for Ctrl and Shift keys
2015-12-16 09:49:07 +01:00
Krzysztof Kondrak 3d54525d46 added support for Ctrl and Shift keys 2015-12-16 09:31:14 +01:00
Daniel Collin 0c2e4cee7c Added get_keys() function 2015-12-15 14:20:04 +01:00
Daniel Collin 03e8075157 Implemented FitScreen 2015-12-11 14:12:29 +01:00
Daniel Collin ef9ac3e88c Fixed broken scaling 2015-12-11 11:26:00 +01:00
Daniel Collin 6f47463a2e Implemented scaling
BestFit isn't implemented yet though
2015-12-11 10:33:20 +01:00
Daniel Collin 2f5503d115 Make sure to keep wchars alive 2015-12-11 09:46:10 +01:00
Daniel Collin 474e6db31d Null terminate wchar string 2015-12-11 09:25:06 +01:00
Daniel Collin b05fb33fb3 Use CreateWindowExW instead of A 2015-12-11 08:52:38 +01:00
Daniel Collin 58565b9812 Added more error checking when creating window 2015-12-10 21:27:18 +01:00
Daniel Collin d8c2a38f39 Changed keys api and added check if window is open
Also removed ugly CLOSE_APP global
2015-12-09 15:44:34 +01:00
Daniel Collin b46868121e Fixed overflow on windows 2015-12-09 13:04:46 +01:00
Daniel Collin e89cb04189 Rust format 2015-12-08 23:08:52 +01:00
Daniel Collin 0b2911ca30 New version running with keyboard support 2015-12-08 22:57:14 +01:00
Daniel Collin 6bb0f1f479 Removed double Key0 2015-12-08 18:53:26 +01:00
Daniel Collin c8b45d8577 WIP on Windows version 2015-12-08 18:49:03 +01:00
Daniel Collin 99e106fe93 WIP on latest Mac version 2015-12-06 19:14:34 +01:00
Daniel Collin 29e744bc19 WIP on pure Rust version of the Mac backend 2015-12-04 20:35:35 +01:00
Daniel Collin 4dd030f4f1 Update README.md 2015-12-02 11:44:00 +01:00
Daniel Collin e83c66b8dd Minor fixup 2015-11-27 23:49:24 +01:00
Daniel Collin 860f8b4f3d Ran rustfmt 2015-11-27 23:47:15 +01:00
Daniel Collin 15ec55aae2 Working Win32 version in pure Rust 2015-11-27 23:42:28 +01:00
Daniel Collin a9b0a11853 Window gets created 2015-11-27 21:25:50 +01:00
Daniel Collin ccfeeb24da WIP on Windows version 2015-11-27 19:14:24 +01:00
Daniel Collin 298e535de2 Started to work on Rust only version for Windows 2015-11-24 21:46:52 +01:00
Daniel Collin 858b07f506 Fixed Linux version 2015-11-23 20:44:21 +01:00
Daniel Collin 48da30a25f Fixed Windows version 2015-11-23 20:21:11 +01:00
Daniel Collin 7aa0ca5125 Updated README 2015-11-23 19:46:51 +01:00
Daniel Collin 417e27b3f1 Updated README with link to Rust 2015-11-23 19:41:26 +01:00
Daniel Collin 1105de9cc2 Updated README 2015-11-23 19:39:43 +01:00
Daniel Collin 550fe5d89d Added noise.rs link 2015-11-23 19:34:25 +01:00
Daniel Collin 31e426a404 Some minor fixes 2015-11-23 19:27:18 +01:00
Daniel Collin 09d568eeec Added screenshot of noise test 2015-11-23 19:26:27 +01:00
Daniel Collin 6aa4dbbac1 Updated Noise Example 2015-11-23 19:23:11 +01:00
Daniel Collin 5f752255fd Some cleanup 2015-11-23 19:14:10 +01:00
Daniel Collin 8abc41f7cd Cleaned example 2015-11-22 19:03:28 +01:00
Daniel Collin 482e2dee48 Missed } in example 2015-11-22 19:01:34 +01:00
Daniel Collin da708538b9 Updated readme 2015-11-22 19:00:35 +01:00