Dan Walmsley
cd496e2c61
Add WndProcs to handle extended frame windows.
6 years ago
danwalmsley
cf5d96adcc
Merge pull request #3962 from AvaloniaUI/feature/transparency-api
Window Transparency
6 years ago
Dan Walmsley
ea2fc54590
initialise render target transparency in toplevel.
6 years ago
Dan Walmsley
76316e4a44
osx reports transparent as its minimum transparency level.
6 years ago
Dan Walmsley
c0a04699fe
add acrylic blur option.
6 years ago
Dan Walmsley
730862b753
Add acrylic blur level with fallbacks to blur reported.
6 years ago
Dan Walmsley
3e7b8933b2
whitespace fixes.
6 years ago
Dan Walmsley
3dbe59062a
fix win32 generating borders in blur / transparent mode.
6 years ago
Dan Walmsley
2db3eee7b9
add blurbehind api for someone to use for win7 support in future.
6 years ago
Dan Walmsley
cfbd6991f6
always give fallback if you dont get the setting asked for.
6 years ago
Dan Walmsley
4bc1801c2a
fix popup tests.
6 years ago
danwalmsley
4015ecd9aa
Merge branch 'master' into feature/transparency-api
6 years ago
danwalmsley
a55bc8c436
Merge pull request #3960 from AvaloniaUI/fixes/3467-uselayoutrounding
Fix UseLayoutRounding calculations.
6 years ago
Steven Kirk
ba9e3e7641
Updated expected render test output.
6 years ago
Steven Kirk
83e82def70
Merge branch 'master' into fixes/3467-uselayoutrounding
6 years ago
Benedikt Stebner
d103c68993
Merge pull request #3972 from AvaloniaUI/fixes/enable-previewer
Enable the previewer in Avalonia samples.
6 years ago
Steven Kirk
e3f6a9f5ab
Enable the previewer in Avalonia samples.
6 years ago
Dan Walmsley
df43cd7569
fix wpf integration.
6 years ago
Dan Walmsley
aff7815d98
HandleTransparencyChanged when Hint changes.
6 years ago
Dan Walmsley
2354db6306
take into account the requested transparency hint when setting the fallback.
6 years ago
Nikita Tsukanov
1a5c8fcf3f
X11 transparency reporting and blur support
6 years ago
Dan Walmsley
d1049fd79f
dont use property for setting transparency level hint.
6 years ago
Dan Walmsley
b818ca05d4
always draw the border.
6 years ago
Dan Walmsley
f88f94cce3
fix win 10 version number check
6 years ago
Dan Walmsley
20916d49db
fix transparency fallback border.
6 years ago
Dan Walmsley
baf4977ef6
Merge remote-tracking branch 'origin/master' into feature/transparency-api
6 years ago
Dariusz Komosiński
8b26f4ef25
Merge pull request #3957 from AvaloniaUI/refactor/resources
Refactor resources to produce less `ResourcesChanged` events.
6 years ago
Dan Walmsley
21e3642a2c
encapsulate and cache os version.
6 years ago
Dan Walmsley
4011cb3f49
Use Hint/Actual naming
6 years ago
Dan Walmsley
58c518c573
Add Hint / Actual properties for Transparency.
6 years ago
Dan Walmsley
9e9565f40f
fix border only margin.
6 years ago
Dan Walmsley
8d899096bb
implement appropriate blur level depending on windows 10 version.
6 years ago
Dan Walmsley
4c498e671c
Merge branch 'feature/transparency-api' of https://github.com/AvaloniaUI/Avalonia into feature/transparency-api
6 years ago
Dan Walmsley
a37b2daf2c
set hidden flag
6 years ago
Steven Kirk
ab9522f83d
Fix silly mistake.
6 years ago
Dariusz Komosiński
7b202b71a7
Merge branch 'master' into refactor/resources
6 years ago
Steven Kirk
0a1cb6fdf8
Added ResourcesChangedEventArgs.Empty.
We don't need to allocate a new instance each time.
6 years ago
Steven Kirk
dcdaf5e0bf
Don't raise ResourceChanged on reparenting...
...when the new parent isn't attached to the tree. This prevents us sending a load of useless `ResourcesChanged` events.
6 years ago
Steven Kirk
119d92732f
Don't UseLayoutRounding on ScrollBar.
Its default size of 18 with a thumb size of 8 can't be laid out to device pixels with a scaling of 1.5x. Previously, the thumb had more space on the right than the left, with this change it had more space on the left than the right. For some reason though it was more noticably offset with the space on the left. We may need to change the default sizes for `ScrollBar`.
6 years ago
Steven Kirk
1e74316f63
Add unit test for `UseLayoutRounding`.
6 years ago
Steven Kirk
bd0b894271
Fix UseLayoutRounding calculations.
Ported `RoundLayoutSize` and `RoundLayoutValue` from WPF and use these to calculated layout rounding.
Fixes #3467 .
6 years ago
Dan Walmsley
0c3f2aa856
implement transparency api on osx.
6 years ago
Dan Walmsley
4fcab38ea2
Merge remote-tracking branch 'origin/master' into feature/transparency-api
6 years ago
Dan Walmsley
30b81f1ded
Add stubs for transparency in other toplevel impls.
6 years ago
Dan Walmsley
f9a1871d1e
add transparency demo to control catalog.
6 years ago
Dan Walmsley
fe7e8582d1
add basic win32 implementation for transparency level.
6 years ago
Dan Walmsley
a30e6d8cf6
Add framework support for TopLevel transparency level.
6 years ago
Benedikt Stebner
29ee78661f
Merge pull request #3877 from Gillibald/fixes/VisualBrush
Fix VisualBrush tests
6 years ago
Benedikt Schroeder
5824d77d0f
Fix VisualBrush tests
6 years ago
Dan Walmsley
cbd89289ab
add TransparencyLevel property to TopLevel
6 years ago