Liusef / TelegramStickerManager

An app to deal with @Stickers so you don't have to
MIT License
2 stars 0 forks source link

Enable background Mica or Acrylic #80

Open Liusef opened 2 years ago

Liusef commented 2 years ago

Background Mica and Acrylic is enabled as of WASDK 1.1

Liusef commented 2 years ago

This probably won't happen soon

Activating it is quite clunky in the current version of the Windows App SDK (1.1.2), and requires a lot of platform dependency checks and PInvoke native API calls. Microsoft has said that this API will be simplified in a future release.

Liusef commented 2 years ago

Example code for checking whether or not mica or acrylic is compatible with the current system, enabling it, and accessing relevant APIs in C# is available in the WinUI 3 controls gallery.

Liusef commented 1 year ago

I looked at the code for enabling acrylic and mica backdrops and while it's pretty stupid, I can pretty much just copy paste Microsoft's code for it.

I'll probably see if it's viable when i'm working on my next bug bash