Commit graph

114 commits

Author SHA1 Message Date
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
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
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