Commit graph

120 commits

Author SHA1 Message Date
Daniel Collin 335f505ef2 Removed updateLayer 2018-10-20 09:33:21 +02:00
Daniel Collin 2e2bd93a1c fixed tabs 2018-10-20 09:31:46 +02:00
Daniel Collin 450502f672 Fixed macOS warnings 2018-10-19 22:05:15 +02:00
Lukas Kalbertodt 87e742047d Add debug impls (#56)
* Add missing `Debug` impls to public types

In one case, a missing Clone and Copy impl was added, too.

* Remove several `doc(hidden)` & make some modules private

I'm not quite sure why it was done the way it was. This change makes
items that were used in the public API visible in the documentation. It
also makes modules not used in the public API private.

* Add `#![deny(missing_debug_implementations)]` to crate root
2018-08-10 09:14:14 +02:00
Daniel Collin 3d70a5c7dc Added x16 and x32 scale to X11 2018-05-18 21:59:19 +02:00
Nagy Tibor 5e16895b7d Update orbclient to 0.3.14 on Redox (#55) 2018-05-16 07:12:32 +01:00
Daniel Collin 26e6eca208 Fixed auto scaling and added X8 on Linux
Closes #51
Closes #52
2018-05-05 15:14:57 +02:00
Nagy Tibor 3ffa7ad684 Fix Redox build (#41) 2017-08-15 19:28:44 +02:00
Daniel Collin 5d70e6fc5c Another linux fix 2017-08-11 12:51:04 +02:00
Daniel Collin eaa0440e8c Another linux fix 2017-08-11 12:49:06 +02:00
Daniel Collin ca264a7b9a Linux fix 2017-08-11 12:46:34 +02:00
Daniel Collin 900deba9a7 Implemented bounds checking for update_with_buffer 2017-08-11 12:41:24 +02:00
Krzysztof Kondrak 600749fd8a Support period key on *nix. (#37) 2017-07-08 13:57:34 +02:00
xTibor f4bd8b7704 Redox support (#35) 2017-04-24 09:09:05 +02:00
FlyingGaz 933d7662fb Use to_vec in windows/update_with_buffer (#33) 2017-01-15 17:46:02 +01:00
Daniel Collin 76d9351dc2 Fixed warning 2016-08-02 18:20:19 +02:00
Daniel Collin 4087f3c4c3 Added get_unscaled_mouse_pos 2016-08-02 18:01:25 +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 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
Aleksey Kladov 0f6b312e5c Fix typos 2016-07-26 14:43:45 +03: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 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 495f7c4cca Added set_title and set_cursor_style 2016-06-24 13:08:01 +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 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 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
Marco Castorina 82e48fcea8 Fixed crash when pressing TAB on Mac 2016-05-02 20:55:33 +01: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