Commit graph

22 commits

Author SHA1 Message Date
LoganDark d0d3ffcf7b
Rename unixes 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 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
Daniel Collin 8b3c2e9b37
Merge dev -> master (#119)
* Deprecated update_with_buffer and added a temporary (update_with_buffer_size) for now. This will later be removed and the update_with_buffer is requiring the size to bu suplied

* Reparation for 0.14 release

* Missed one case

* Minor cleanup

* Switch to C scalar for Unix + rename

Reason is so we can always use optimized scalar even in debug.
Also removed _size so only update_with_buffer(..) takes width, height of the input buffer

* Implemented AspectRatio aware scale on nix

* Implemented image center

* Added UpperLeft center mode for unix

* Moving macOS over to sized update

* Fixed resize not working on macOS

* WIP on macOS

* More WIP on macOS version

* Bunch of macOS updates and fixes

* Fixed broken bg color on macOS

* Windows fixes WIP

* Remove some spamming

* More windows fixes

* Windows fixes for cursor and warnings

* Some cleanup

* rustfmt pass

* Fixed typo

* Added support for limiting update rate

* Added update rate to Windows

* Added update rate to macOS

* Misc fixes

* Fixed resources and maintance badge

* Updated readme

* Updated changelog

* Added rate limit
2019-12-16 08:24:48 +01:00
Daniel Collin 5772cc5380
Merge dev -> master (#111)
* Deprecated update_with_buffer and added a temporary (update_with_buffer_size) for now. This will later be removed and the update_with_buffer is requiring the size to bu suplied

* Reparation for 0.14 release

* Missed one case
2019-12-03 15:24:03 +01:00
Daniel Collin 8de9567541 rustfmt pass 2019-11-27 08:03:33 +01:00
Daniel Collin a8a969afee Fixed broken menu example 2018-11-13 21:38:55 +01:00
Daniel Collin 900deba9a7 Implemented bounds checking for update_with_buffer 2017-08-11 12:41:24 +02:00
Daniel Collin a8e5215f55 Fixed incorrect title
Closes #32
2017-01-06 15:33:47 +01:00
Daniel Collin 948dd54595 Implementd char callback on Linux 2016-07-08 13:29:49 +02:00
Daniel Collin b5f3cf1ca3 Merge menu-api-rework -> master
Rewrote Menu API
2016-05-12 20:08:37 +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 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 3565e1cb3f Fixed F-keys not working correctly on Mac 2016-04-29 08:57:55 +02:00
Daniel Collin 5d9ca9e585 Merge work from menu branch 2016-03-04 17:36:28 +01:00