Max Katz
d1683c963e
Remove MouseDevice from the TopLevel
4 years ago
Max Katz
6485fa1458
Add intertnal LastPointerPosition to be used in popup code
4 years ago
Max Katz
0289a515b3
Add file picker interface definitions
4 years ago
Dan Walmsley
726ac748ed
restore changes.
4 years ago
Dan Walmsley
96931e2203
prevent excess layout passes in layout manager to catch other scenarios causing
excessive layout passes.
4 years ago
Dan Walmsley
51d158dc1b
clear layout jobs instead of explicit layout call.
4 years ago
Dan Walmsley
76abbc8fbe
ensure frameSize is refreshed when window is show.
4 years ago
Dariusz Komosiński
7beafdc1d8
Refactor TopLevel and ItemsRepeater handling.
4 years ago
Dariusz Komosiński
9296ada343
Post merge fixup.
4 years ago
Max Katz
9bef2acafe
Move pointerover logic out of input device layer
4 years ago
daniel mayost
e4c4c40807
same
4 years ago
robloo
d4540ed0e5
Add template part attributes to common controls
4 years ago
daniel mayost
61ffbcc687
naming more like wpf
4 years ago
daniel mayost
f5a21547b8
typo
4 years ago
daniel mayost
8e9ec700b2
fix ComboBox and start working Popup
4 years ago
daniel mayost
feec27e39f
some fixes
4 years ago
daniel mayost
0f5e78d70f
improve algorithm and typo fixes
4 years ago
daniel mayost
f6f8b1dec3
avoid re-calling the method
4 years ago
daniel mayost
d5fd84ebc0
continue working
4 years ago
Steven Kirk
bdd576bfc0
Removed TopLevelImpl validating layer.
The validating layer introduced in #7369 has done its job and caught a few bugs, but was causing difficulties in certain places so removing it now.
Fixes #7573
4 years ago
Steven Kirk
77d059be22
Add nullable annotations to Avalonia.Controls.
4 years ago
Nikita Tsukanov
dca2ca5940
Don't implement IWeakEventSubscriber directly on public types
4 years ago
Nikita Tsukanov
6ad1e3caf3
Fixed ITopLevelImpl API misuse, added validating layer
4 years ago
Nikita Tsukanov
e6c08a13d7
Added reflection-free API for weak events
4 years ago
Steven Kirk
11c60b4294
Decouple automation peers from platform nodes.
Now peers are entirely unaware of the platform implementation.
5 years ago
Steven Kirk
59e18e3517
Add obsolete HandleResized to TopLevel/WindowBase too.
5 years ago
Steven Kirk
ba369a9059
Fix auto-scaling on win32.
- Adds a "resize reason" to platform `Resized` events
- Which is used by the auto-sizing code to determine whether to reset `SizeToContent`
- Also other improvements to the reset logic for `SizeToContent`:
- Don't reset it if the size hasn't changed
- Don't reset it if `CanResize == false`
- Only reset the dimensions whose size has changed
- Obsolete the `BeginAutoSizing`/`AutoSizing` feature in `WindowBase`
5 years ago
Miha Markič
97c33f432a
Applies spell checking on mostly comments, but also non public members and arguments
5 years ago
Nathan Garside
bccbf0570c
Make FrameSize nullable
5 years ago
Nathan Garside
e652419927
Fix regression
5 years ago
Nathan Garside
d77d1fd5da
Rename to FrameSize
5 years ago
Nathan Garside
9feb2376a0
Squash toplevel-totalsize
5 years ago
Steven Kirk
90ddccc54e
Toplevels now need to explicitly specify tab cycle mode.
5 years ago
Steven Kirk
8add2371c6
Make root automation node come from OS.
This will be needed for OSX.
5 years ago
Nikita Tsukanov
35b365d97d
Implemented basic IME support for Linux
5 years ago
Steven Kirk
ca408e55b5
Added ICursorImpl.
6 years ago
Dan Walmsley
0148106f54
Seperate RenderScaling from DesktopScaling.
6 years ago
Nikita Tsukanov
be73db7beb
Dispose the renderer before detaching visuals from the tree (perf)
See https://github.com/AvaloniaUI/Avalonia/issues/3622
6 years ago
Steven Kirk
2807cbe6cb
Make LayoutManager disposable.
And dispose it on `TopLevel` close: this allows layout passes to be run before a window/popup is shown but prevents it being run after close.
6 years ago
Steven Kirk
7694fc0484
Don't run layout passes on hidden TopLevels.
To do this we need to pass the root to `LayoutManager`.
Fixes #4161
6 years ago
Dan Walmsley
9b9b2d8330
fallback transparency should be null so that it doesnt hit test.
6 years ago
Steven Kirk
479d480ad9
Parameterize logger on area as well as level.
So we can filter our more logging calls early.
6 years ago
Dan Walmsley
ea2fc54590
initialise render target transparency in toplevel.
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
cfbd6991f6
always give fallback if you dont get the setting asked for.
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
Dan Walmsley
d1049fd79f
dont use property for setting transparency level hint.
6 years ago
Dan Walmsley
4011cb3f49
Use Hint/Actual naming
6 years ago