Commit graph

173 commits

Author SHA1 Message Date
Daniel Collin 4087f3c4c3 Added get_unscaled_mouse_pos 2016-08-02 18:01:25 +02:00
Daniel Collin 9cd8c97694 Update to 0.8.4 2016-07-31 18:06:50 +02:00
Daniel Collin 26d41d1d07 Fixed crash on Mac for large Windows
In some cases a resize event can happen before we have setup our user-data. Now we make sure that user data is present before using it

Closes #26
2016-07-31 18:05:11 +02:00
Daniel Collin 31215a5b21 Updated readme 2016-07-29 11:07:18 +02:00
Daniel Collin 82b44cd959 minifb 0.8.3
Closes #25
2016-07-29 11:05:30 +02:00
Daniel Collin d4c7100b44 Fixed “plonk sound” on Mac
Ref #25
2016-07-29 11:00:34 +02:00
Daniel Collin b27ea2bec1 Fixed correct window size on Mac 2016-07-29 11:00:34 +02:00
Daniel Collin c4d2a0fa51 Merge pull request #23 from matklad/small-corrections
Fix typos
2016-07-26 14:24:52 +02:00
Aleksey Kladov 0f6b312e5c Fix typos 2016-07-26 14:43:45 +03:00
Daniel Collin 09ee02c09c Bump to 0.8.2 2016-07-08 20:29:21 +02:00
Daniel Collin f848eaaee5 Merge branch 'master' of https://github.com/emoon/rust_minifb 2016-07-08 20:13:44 +02:00
Daniel Collin d4c9413835 Support for keypad on Linux 2016-07-08 20:13:28 +02:00
Daniel Collin 9266ddb1d8 Bump to 0.8.1
Closes #22
2016-07-08 14:32:44 +02:00
Daniel Collin 99c9bbdfac Swapped incorrect order of resize cursors 2016-07-08 14:27:51 +02:00
Daniel Collin 2a8d09fb28 Char input support on Windows 2016-07-08 14:27:25 +02:00
Daniel Collin 1ca62fa111 Fixed Backspace on Linux 2016-07-08 13:56:41 +02:00
Daniel Collin 948dd54595 Implementd char callback on Linux 2016-07-08 13:29:49 +02:00
Daniel Collin a31a19337d Bump to 0.8.0 2016-06-24 13:14:46 +02:00
Daniel Collin 495f7c4cca Added set_title and set_cursor_style 2016-06-24 13:08:01 +02:00
Daniel Collin b231ee1b5a Bump to 0.7.1 2016-05-27 18:19:09 +02:00
Daniel Collin 596c5a7097 Char callback got lost for some reason 2016-05-27 18:15:58 +02:00
Daniel Collin b5f3cf1ca3 Merge menu-api-rework -> master
Rewrote Menu API
2016-05-12 20:08:37 +02:00
Daniel Collin 1dbcf2dee1 Merge remote-tracking branch 'refs/remotes/origin/menu-api-rework' 2016-05-11 13:34:24 +02:00
Daniel Collin 57906b26b8 Removed old menu code 2016-05-09 16:42:24 +02:00
Daniel Collin 06c7c6b05b Added code for menu destroy
But it doesn't work for some reason
2016-05-09 16:41:01 +02:00
Daniel Collin 462effd03c Added accel keys
Fn keys doesn't seem to work yet though
2016-05-09 16:05:53 +02:00
Daniel Collin 37292a70cf Inital menus for Windows implemented 2016-05-09 15:49:26 +02:00
Daniel Collin 0f1ed50f36 Cleanup 2016-05-08 13:43:25 +02:00
Daniel Collin 8f687c58db Some more cleanup 2016-05-08 13:37:20 +02:00
Daniel Collin df60ca8ecd Cleanup 2016-05-08 13:34:38 +02:00
Daniel Collin 0ffa3bf196 Support for removing menus 2016-05-08 13:27:55 +02:00
Daniel Collin c6f61804e6 Restored f-keys so the work again 2016-05-08 11:01:49 +02:00
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