Commit graph

15 commits

Author SHA1 Message Date
Daniel Collin b576ab3139 Started to add set_position 2016-01-09 20:06:07 +01:00
Daniel Collin 49eba1bc05 Heap allocate drawing buffer
On some system it seems that the stack is quite small so now we heap
allocate the buffer instead. Also updated the docs and examples using
that instead of being on the stack. Bumped version to 0.2.4

Closes #8
2016-01-05 21:29:52 +01:00
Daniel Collin 4b87f68125 Moved stuff around + documentation 2016-01-02 21:26:13 +01:00
Daniel Collin 66c36fb6c6 Proper error handling if window create fail 2016-01-02 19:40:41 +01:00
Daniel Collin 8e9f8d33a1 Add support for scaling 2016-01-02 15:49:53 +01:00
Daniel Collin 946aa5ec14 Mac fixes
* Removed hard coded global values for width, height, buffer - These are now tracked on a per window basis.
* Fixed multi-window support
* Various cleanup and fixes
2016-01-02 15:37:50 +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 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 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 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 6aa4dbbac1 Updated Noise Example 2015-11-23 19:23:11 +01:00
Daniel Collin 546cc762d8 Ran rustfmt 2015-11-22 18:56:53 +01:00
Daniel Collin 0c1fd92275 Initial version 2015-11-22 18:55:38 +01:00