It is currently December 14th, 2018, 8:25 pm

[V1.1.2] FrostedGlass - Now with more acrylic

Share your custom plugins and applications to enhance Rainmeter.
User avatar
theAzack9
Developer
Posts: 498
Joined: March 2nd, 2016, 6:23 pm

[V1.1.2] FrostedGlass - Now with more acrylic

theAzack9 » April 9th, 2016, 10:33 pm

Hello all. :welcome:
After many windows 10 versions has microsoft ended up developing this api a bit further, so i decided to update the plugin :)

Changelog:
Version 1.1.2

Code: Select all

Fixed flickering issue when dynamicvariables=1
Made logging a bit less intensive
Version 1.1.1

Code: Select all

Fixed issue where removing the plugin from a skin and refreshing would keep the effect.
Added a github repo for the plugin
Fixed misc issues
Version 1.1

Code: Select all

Added new "Type" option with types "Blur, Acrylic and None" (will default to blur if none specified for bwc)
Added new Border option that allows you to create a special border around the skin. The sides with borders will have a window shadow, which can look neat if used properly. (Defaults to no border)
Deprecated BlurEnabled (but still works for bwc ofc :) )
Deprecated the bangs (for now at least) (they still work for bwc ofc :) )
Note: using the bangs will disable the borders if they are enabled!
Usage:
Type;;Default: Blur;;Valid values are Blur, Acrylic, and None
Blur will apply the regular blur effect that the plugin applied in version 1.0 (the middle one in the image bellow)
Acrylic will apply the new windows 10 acrylic effect to the window (the first one in the image bellow)
None will not affect anything and is mostly an option to allow you to disable the blur effect (the last one in the image bellow)
Note: The effect applies to the entire skin, only applying this effect to a section of the skin is sadly impossible.
Border;;Default: None;;Valid values are All, None, Left, Right, Top and Bottom.
In order to mix and match the borders can you select a few of the sides by piping them together. e.g Border=Left | Right will create a border on only the left and right side of the skin and not on the top and bottom.

Note: The sides with a border will gain a small shadow.
Note 2: The border exists one pixel outside the skin on the relevant sides and cannot be inside the skin.
An example of the plugin in use:

Code: Select all

[FrostedGlass]
Measure=Plugin
Plugin=FrostedGlass
Type=Acrylic
Border=All
I haven't yet found a way to blur parts of the skin. Currently it blurs the entire skin window.

In windows 8.1 and bellow it simply won't work, so it should be safe, but there won't be any blur effects.

WARNING: this is an unofficial and undocumented method of achieving the blur effect in windows 10 and might therefore be changed in any update of windows 10. If that happens, then every skin using this plugin will loose the blur effect. You have been warned!

obligatory image:
Image
The skin is included if more reference is needed. (It will require 4.2 r3074 or above because it uses the new UsageMonitor :) )
Download:
FrostedGlass_1.1.2.rmskin
Here are the x86 and x64 dlls in case you want to bundle it with your skin :)
redistributable.zip
You can find the sourcecode here: https://github.com/TheAzack9/FrostedGlass

If i broke anything, the please let me know and i will try my best to fix it :)
You do not have the required permissions to view the files attached to this post.
Last edited by theAzack9 on October 15th, 2018, 5:42 am, edited 13 times in total.
cfixd
Posts: 31
Joined: September 1st, 2014, 1:38 am

Re: FrostedGlass - Frosted glass effect in windows 10

cfixd » April 10th, 2016, 1:44 am

Love it !!! :D
It's really a pity that Win10 dosen't support the Aero effect and I've no idea how to realize it for a long time.
Wish it can be better!
mak_kawa
Posts: 219
Joined: December 30th, 2015, 9:47 am

Re: FrostedGlass - Frosted glass effect in windows 10

mak_kawa » April 10th, 2016, 12:37 pm

Really nice plugin. I am using to my skins, and like it.
I have one request... Is it possible to set/select blur intensity?
User avatar
theAzack9
Developer
Posts: 498
Joined: March 2nd, 2016, 6:23 pm

Re: FrostedGlass - Frosted glass effect in windows 10

theAzack9 » April 10th, 2016, 1:38 pm

mak_kawa wrote:Really nice plugin. I am using to my skins, and like it.
I have one request... Is it possible to set/select blur intensity?
Sadly not, there are at least no simple way to do this in the plugin. :(
I'll see what i can do later tho :)

Edit:
You can manipulate rainmeter to do this by setting the skin transparency, so it should be possible with some creative thinking! ;)
User avatar
Virginityrocks
Posts: 494
Joined: February 26th, 2011, 10:22 pm

Re: FrostedGlass - Frosted glass effect in windows 10

Virginityrocks » April 10th, 2016, 4:52 pm

Absolutely beautiful. Will implement this plugin as soon as possible!
User avatar
theAzack9
Developer
Posts: 498
Joined: March 2nd, 2016, 6:23 pm

Re: FrostedGlass - Frosted glass effect in windows 10

theAzack9 » April 10th, 2016, 4:58 pm

Hope you like it :D
User avatar
Virginityrocks
Posts: 494
Joined: February 26th, 2011, 10:22 pm

Re: FrostedGlass - Frosted glass effect in windows 10

Virginityrocks » April 10th, 2016, 6:19 pm

Works perfectly! If only it could be implemented for specific zones, sizes, and shapes like with Aero. But seriously, good job. Definitely part of my suite now.

This does make me suspicious on why Rainmeter can't implement blur in W8 and W10.
User avatar
theAzack9
Developer
Posts: 498
Joined: March 2nd, 2016, 6:23 pm

Re: FrostedGlass - Frosted glass effect in windows 10

theAzack9 » April 10th, 2016, 6:25 pm

Virginityrocks wrote:Works perfectly! If only it could be implemented for specific zones, sizes, and shapes like with Aero. But seriously, good job. Definitely part of my suite now.

This does make me suspicious on why Rainmeter can't implement blur in W8 and W10.
I use the same method Brian described here:
https://forum.rainmeter.net/viewtopic.php?f=14&t=22915

And i do agree on the reasoning behind the decision, but it doesn't stop me from implementing it myself ;)

btw, cool to talk to the guy behind DropTop and i look forward to see what you can do with this ;)
User avatar
exper1mental
Posts: 282
Joined: January 9th, 2013, 7:52 pm
Location: Southern USA

Re: FrostedGlass - Frosted glass effect in windows 10

exper1mental » April 14th, 2016, 8:06 pm

Love this plugin! I'm curious to know what happens on Windows 7 and older. (without knowing I'm reluctant to include this in a published skin)
Image
User avatar
theAzack9
Developer
Posts: 498
Joined: March 2nd, 2016, 6:23 pm

Re: FrostedGlass - Frosted glass effect in windows 10

theAzack9 » April 14th, 2016, 8:36 pm

exper1mental wrote:Love this plugin! I'm curious to know what happens on Windows 7 and older. (without knowing I'm reluctant to include this in a published skin)
Totally understandable tbh, if someone finds any issues, i'll just disable it for versions below windows 10... Still haven't heard from anyone using anything other than windows 10 tho... :/

Might end up just disabling it anyways, i'll see...