-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aero backdrop accuracy changes #222
Conversation
Would be nice if MiaoUI was public tbh |
Hi guys, thank you so much for being able to put so much effort into this project! However you guys should be able to notice that the project hasn't been updated for a long time, as Maplespe has been really busy lately and it might take him a long time to come back. In the meantime, I will be managing and updating this repository on his behalf, and since I'm also a student, I can't promise that I'll spend a lot of time on this project. |
winrt::Windows::UI::Composition::CompositionBrush CAeroResources::CreateBrush(
const winrt::Windows::UI::Composition::Compositor& compositor,
const winrt::Windows::UI::Color& tintColor,
float colorBalance,
float glowBalance,
float blurAmount,
float blurBalance
) lightMode_Inactive_Brush = CreateBrush(
compositor,
MakeWinrtColor(g_configData.inactiveBlendColor, true),
g_configData.Inactive_SecondaryBalance, // this controls the multiply layer intensity.
g_configData.PrimaryBalance * 0.4f, // aero formula calls for 40% of the active opacity on the normal layer... so i'm reflecting it here
g_configData.customBlurAmount,
g_configData.Inactive_BlurBalance // intensity of "overexposure" effect.
);
darkMode_Inactive_Brush = CreateBrush(
compositor,
MakeWinrtColor(g_configData.inactiveBlendColorDark, true),
g_configData.Inactive_SecondaryBalance, // this controls the multiply layer intensity.
g_configData.PrimaryBalance * 0.4f, //aero formula calls for 40% of the active opacity on the normal layer... so i'm reflecting it here
g_configData.customBlurAmount,
g_configData.Inactive_BlurBalance // intensity of "overexposure" effect.
);
lightMode_Active_Brush = CreateBrush(
compositor,
MakeWinrtColor(g_configData.activeBlendColor, true),
g_configData.Active_SecondaryBalance, // this controls the multiply layer intensity.
g_configData.PrimaryBalance, // this controls the normal layer intensity.
g_configData.customBlurAmount,
g_configData.Active_BlurBalance // intensity of "overexposure" effect.
);
darkMode_Active_Brush = CreateBrush(
compositor,
MakeWinrtColor(g_configData.activeBlendColorDark, true),
g_configData.Active_SecondaryBalance, // this controls the multiply layer intensity.
g_configData.PrimaryBalance, // this controls the normal layer intensity.
g_configData.customBlurAmount,
g_configData.Active_BlurBalance // intensity of "overexposure" effect.
); @kfh83 I can successfully reproduce the effect you show, but I notice that the values you pass to |
I think the names just need fixing... cant remember |
sooo, half for fun and half cause the "aeropeek.png" background texture int he pack is small and noticeably pixeled. i jumped into photo and started making my own gradients for the aero effect. |
The UI thing is a shame. Are you going to wait for Maplespe to return or are you going to try to figure it out yourself? Is it possible for somebody to make their own GUI from scratch? |
sorry for the offtopic but can you share those .png files especially the sparkels one :) @indigofairyx |
@yuri980 just having a bit of fun with overlays. is sssooooo nice having an aero style back in win10! customizable one no less :) |
@TheInsane101 @ALTaleX531 You could write up an UI for options and start/stop in AutoHotkey, that's one of the things AHK is meant to automate. It has one-line functions for things that take many lines and object instances in C++ or .NET code, so it can function sort of like HTML for creating windows, especially basic forms like DWMBlurGlass's UI uses right now. I'm not much of a coder but this UI stuff is something even I understand ;) Here are some UI examples. Doing something with multiple tabs will take several hours at least, and the end result won't be as sleek as MiaoUI, but it will function and it's opensource too (you only need to release the .ahk file). AHK runs as script or can be compiled into a standalone .exe by the script interpreter (you don't need runtimes like with .NET and VC++). |
Originally by @ALTaleX531 for AcrylicEverywhere, with help of @aubymori and @ephemeralViolette (thx for the MiaoUI-less fork)
This'll probably need some work to adapt into the GUI (which i haven't done because MiaoUI is conveniently not included in the source for DWMBlurGlass...) considering i've added new options into config.ini (that are pretty important, mind):
(separated into aero category for my own sake, can be put into [config])
Here are some before/after pictures of the new mods.

And some comparisons between my mod and Windows 7:

Of course, it isn't perfect right now, but it's already miles better of what we already have and hopefully it can get even better.
Lastly, a sample of what it can look like (again, thx @ephemeralViolette for the MiaoUI-less fork of DWMBlurGlass):
BlurGlass-ColorMod.zip
Instructions should be in the README.txt provided, so please read before using.