Rupansh
efbe6a1c71
WindowOptions: Support none flag ( #219 )
...
* WindowOptions: add none flag
* windows: support none flag
Signed-off-by: rupansh <rupanshsekar@hotmail.com>
* os: implement none flags for other operating systems
redox, posix
not applicable on OSX
* WindowOptions: document none option
Signed-off-by: rupansh-arch <rupanshsekar@hotmail.com>
2020-10-01 13:06:48 +02:00
LoganDark
d0d3ffcf7b
Rename unix
es to posix
( #197 )
...
* Rename `unix`es to `posix`
* Whoops
* deprecate get_unix_menus in favor of get_posix_menus
* doc fixes
2020-07-09 10:21:18 +02:00
Antonino Siena
b4adefd9d9
[WIP] Cursor visibility ( #170 )
...
* Cursor visibility
* Implement cursor visiblity for X11 and Wayland
* Implement cursor visibility for Windows
* Implement cursor visibility on Redox
* Implement cursor visiblity for OSX
* Semicolons
* Wrong method
* Missing argument
Co-authored-by: Antonino Siena <a.siena@gmx.de>
2020-04-21 15:13:12 +02:00
Antonino Siena
d2fe8c0469
Transparency ( #164 )
...
* Add transparency field to WindowOptions
* Add transparency example
* Implement transparency on Wayland
* Improvements
* [WIP] X11 transparency
* Restructure
* Redox implement transparency
* Update src/lib.rs
Co-Authored-By: Cole Helbling <cole.e.helbling@outlook.com>
* Rust-2018 changes
* Fixed issue
* cargo fmt
* [WIP] Implement alpha transparency for windows
* Staging Windows code
* Transparency is currently unimplemented on Windows
* Add note
* Dont use assertions
* Correction
Co-authored-by: Antonino Siena <a.siena@gmx.de>
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2020-04-15 15:11:23 +02:00
Alex Melville
8ee5269fa2
add get_keys_released method to Window ( #151 )
2020-03-17 18:17:04 +01:00
Antonino Siena
0a72653310
Restructure Unix implementation in preparation for Wayland support
...
* Wayland implementation restructuration
* Moved previous X11 code into own module
* Moved some data into a common struct between wayland and x11
* Added glue
* Moved common unix functions into module
* Revert commits
* Update x11.rs
* Update x11.rs
* Cargo fmt
* Cargo fmt
2020-01-18 09:15:15 +01:00
Antonino Siena
51bdfcc5ca
Moved codebase to edition 2018 ( #127 )
...
* Moved to Rust edition 2018
* Changed redox code as well
* Undo typo
* Another correction
2019-12-30 19:34:27 +01:00
Daniel Collin
8de9567541
rustfmt pass
2019-11-27 08:03:33 +01:00
Nagy Tibor
ceadd15e6c
Bump orbclient to 0.3.20 on Redox, remove alpha handling hacks ( #67 )
2019-01-15 06:10:05 +01:00
tdaffin
3aaf613edd
Added Window.is_key_released ( #62 )
...
* Added Window.is_key_released
* Add is_key_released for the other platforms
2018-12-18 11:20:32 +01:00
Nagy Tibor
5e16895b7d
Update orbclient to 0.3.14 on Redox ( #55 )
2018-05-16 07:12:32 +01:00
Nagy Tibor
3ffa7ad684
Fix Redox build ( #41 )
2017-08-15 19:28:44 +02:00
Daniel Collin
900deba9a7
Implemented bounds checking for update_with_buffer
2017-08-11 12:41:24 +02:00
xTibor
f4bd8b7704
Redox support ( #35 )
2017-04-24 09:09:05 +02:00