Commit graph

191 commits

Author SHA1 Message Date
Daniel Collin d3fcfd4bf0 Fixed f-keys 2016-05-08 11:00:50 +02:00
Daniel Collin 3c2451c2ec Rustfmt 2016-05-08 10:33:27 +02:00
Daniel Collin 10de5cd84e Cleanup 2016-05-08 10:31:58 +02:00
Daniel Collin ab924a4b0d Submenu support 2016-05-08 10:24:37 +02:00
Daniel Collin 6f47d190b6 Cleanup + shortcut work 2016-05-08 09:42:21 +02:00
Daniel Collin 835837286f Made it possible to add menu items using builder 2016-05-08 09:28:43 +02:00
Daniel Collin 25ed203497 Fixed shortcuts on Mac 2016-05-08 08:55:22 +02:00
Daniel Collin 42ce3b9286 WIP on new menu stuff 2016-05-08 00:25:31 +02:00
Daniel Collin 4a3eabe8e6 WIP on new Menu system 2016-05-07 12:51:14 +02:00
Daniel Collin a3b1a824e4 Merge pull request #19 from theWatchmen/master
Fixed crash when pressing TAB on Mac
2016-05-02 23:04:01 +02:00
Marco Castorina 82e48fcea8 Fixed crash when pressing TAB on Mac 2016-05-02 20:55:33 +01:00
Daniel Collin e25be80077 Bump to 0.7.0 because of callback work 2016-05-01 16:36:57 +02:00
Daniel Collin 6de1909445 Added missing InputCallback 2016-05-01 16:06:33 +02:00
Daniel Collin eaf12ebb29 Implemented callback for characters
This is so when typing input on the keyboard characters may not match the layout in non-english for example. Currently Mac has been implemented to support this.
2016-05-01 16:02:29 +02:00
Daniel Collin 3c3dcd7c07 Bump to 0.6.0 as API changed (get_size added) 2016-05-01 10:35:27 +02:00
Daniel Collin 822403d1ed Implemented get_size() on Windows 2016-05-01 10:28:34 +02:00
Daniel Collin 75e985d08e Added get_size() on Unix 2016-05-01 10:16:39 +02:00
Daniel Collin f540aae1b9 Started with implementing get_size()
Currently Mac is implemented with stub versions for Linux and Windows
2016-05-01 09:54:34 +02:00
Daniel Collin 3565e1cb3f Fixed F-keys not working correctly on Mac 2016-04-29 08:57:55 +02:00
Daniel Collin 7865b87c14 Version 0.5.1 2016-04-25 18:18:33 +02:00
Daniel Collin d000e199e5 Fixed Unix incorrect get_window_handle
Closes #18
2016-04-25 18:11:50 +02:00
Daniel Collin 5d9ca9e585 Merge work from menu branch 2016-03-04 17:36:28 +01:00
Daniel Collin 73813b63f4 Merged window-opts to master
commit 53e9cd45567a1308fdbd2e46763e15b2a3fa3d4c
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 18:31:38 2016 +0100

    Correct header for v0.4.0

commit fcf64d5dfad0796fee16ce8985e66d1b3e82c5a4
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 18:30:12 2016 +0100

    More cleanup

commit b7f4b187569a753656f19a74b78d8ada3fd95b70
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 18:29:23 2016 +0100

    Minor cleanup

commit 7392cd4a5aaad7f0d8332082c75d6cbc41d50ca6
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 18:28:06 2016 +0100

    Updated example added Changelog link

commit 236a82883a68e576ceb1e38a54b0a18fdc2e4465
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 18:24:58 2016 +0100

    Updated readme

commit e6bc68721513ca66c5566a19e6bfad33875b3280
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 18:20:42 2016 +0100

    Doc fixes

commit edfd688f045764b66c944d4aa616c6d48246816d
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 18:20:35 2016 +0100

    Updated with 0.4.0 release info

commit 784628fa9a1de93280592e634b522fd916a7588a
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 15:45:37 2016 +0100

    Fixed bad comment

commit 2c6d8730b566193b573afb5dc95a82987d1c4ce4
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 15:37:52 2016 +0100

    Linux support for WindowOptions

commit cbf7c17c3a92d676f5707095781071016e8b90e1
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 15:05:10 2016 +0100

    Updated Windows version with WindowOptions

commit ed1254245384e3e64c082a8368cbbe4a9f679efa
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 14:32:04 2016 +0100

    Added get_window_handle

commit e4a15f98c70facda7e7b2f30ba95a42091fa078c
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 14:30:34 2016 +0100

    Cleanup + links

commit 7dadb090d1037eade525093e2a541c99940e6a3a
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 14:25:41 2016 +0100

    And again

commit 70bdb0f88812e12bf9ca9adc55c1e52cc36c3ef9
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 14:24:44 2016 +0100

    Try link again

commit b4b7b3c4cda1d958e8f9cf6a2418db68ac32bcc5
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 14:21:54 2016 +0100

    Some cleanup

commit fb9845bae37f6ce9ba309b8a57128ce8c426fbca
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 13:16:23 2016 +0100

    Renamed resizeable to resize

commit 89c5af826612dbd887855dca3937e99856c9fcf2
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Jan 31 12:59:57 2016 +0100

    Working on making Windows a bit more generic

    * Added WindowOptions that can configure how the Window should look and behave better (resize, title, borderless)
    * Renamed update -> update_with_buffer
    * Added update which doesn't take a buffer (used to updated the window without buffers)
2016-01-31 18:34:05 +01:00
Daniel Collin 1eb052fa27 Made CHANGELOG look a bit better 2016-01-29 21:01:18 +01:00
Daniel Collin 9458a1b05e MouseMode::Clamp now clamps to [(0,0) (w-1,h-1)] 2016-01-29 20:56:26 +01:00
Daniel Collin b6e5bc4aa9 Correct version in README 2016-01-29 20:17:23 +01:00
Daniel Collin 8bdbc850d5 Merge from mouse-support 2016-01-29 20:16:00 +01:00
Daniel Collin 8ba8047d11 Merge branch 'master' of https://github.com/emoon/rust_minifb 2016-01-25 20:22:07 +01:00
Daniel Collin 4a4e279d0a Minor change of name 2016-01-25 20:21:53 +01:00
Daniel Collin a6e0f4dd54 Merge pull request #14 from bltavares/patch-1
Include needed modules on the example code
2016-01-19 17:45:58 +01:00
Bruno Lara Tavares 32555c3843 Include needed modules on the example code
The example code on `README.md` requires the `use` line to have the modules available when compiling.
Without it the example can't compile.
2016-01-19 14:42:58 -02:00
Daniel Collin 0ea2f15600 Correct version in README 2016-01-10 18:39:13 +01:00
Daniel Collin 4b68372d8f Fixed typo 2016-01-10 18:37:33 +01:00
Daniel Collin bef08c0b49 Re-licence under MIT/Apache-2.0
Closes #13
2016-01-10 18:36:57 +01:00
Daniel Collin 149e3039e5 Bump to 0.2.6 2016-01-09 21:04:00 +01:00
Daniel Collin 94bf0daff9 More build fixing 2016-01-09 21:01:23 +01:00
Daniel Collin 5d4b2981eb Bump to 0.2.6 2016-01-09 20:59:42 +01:00
Daniel Collin 72021616e9 Fixed broken build 2016-01-09 20:59:09 +01:00
Daniel Collin 5fd17a9bb5 Bump to 0.2.5 2016-01-09 20:56:03 +01:00
Daniel Collin f3bd5ddb29 Added X11 set_position 2016-01-09 20:54:46 +01:00
Daniel Collin 001bca8f74 Implemented set_position for Mac 2016-01-09 20:49:14 +01:00
Daniel Collin b576ab3139 Started to add set_position 2016-01-09 20:06:07 +01:00
Daniel Collin 1cd69660d8 Really bumped to 0.2.4 2016-01-05 21:31:23 +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 57b734457e Fixed x86 (32-bit) build
Closes #7
2016-01-05 21:22:20 +01:00
Daniel Collin 8068262c99 Added note about 32-bit Windows 2016-01-04 23:52:06 +01:00
Daniel Collin 396496db2d Fixed appveyor config 2016-01-04 23:38:44 +01:00
Daniel Collin 23962528c7 Don't run any tests 2016-01-04 23:25:28 +01:00
Daniel Collin c18dff0d53 Added appveyor badge 2016-01-04 23:18:04 +01:00
Daniel Collin 483d563089 Added appveyor config 2016-01-04 23:12:08 +01:00