Julien Lebosquain
e1138f2cb6
Nullability fixes for Avalonia.Controls
4 years ago
Nikita Tsukanov
abf8819947
Implemented pixel format transcoding for Bitmap and WriteableBitmap
4 years ago
Nikita Tsukanov
6bdf0eacc7
Removed legacy renderers
4 years ago
Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
4 years ago
Takoooooo
825fcfab31
Remove obsolete members from Avalonia.Base namespace
4 years ago
Max Katz
6485fa1458
Add intertnal LastPointerPosition to be used in popup code
4 years ago
Steven Kirk
d75732699c
Added attributes describing API stability.
Adds two attributes which describe the stability of an API:
- `UnstableAttribute` indicates that we provide no API stability guarantees for the class between minor/patch versions. This is mostly applied to `*Impl` interfaces which describe the interface between core Avalonia and platform implementations
- `NotClientImplementableAttribute` indicates that an interface is stable for consumption by a client, but should not be implemented outside of Avalonia itself (either because custom implementations are not supported, or because as members may be added to its API)
4 years ago
Steven Kirk
77d059be22
Add nullable annotations to Avalonia.Controls.
5 years ago
Giuseppe Lippolis
9e4d562ed6
fixes: CS0188 'RemoteServer.EmbeddableRemoteServerTopLevelImpl.LostFocus' hides inherited member 'OffscreenTopLevelImplBase.LostFocus'.
5 years ago
Giuseppe Lippolis
7342b26589
fixes: Suppress CS0618 Warnings
5 years ago
Sattar Imamov
b0972c8642
fixes RemoteWidget error when width or height is equal to zero. Issue #6068
5 years ago
Rustam Sayfutdinov
c96f328d06
Fix typo in PointerReleasedEventMessage
6 years ago
Nikita Tsukanov
636c6800cf
Merged LostFocus to ITopLevelImpl
6 years ago
Marcus Wichelmann
92770765e3
Fixed bitmaps not getting disposed correctly causing a memory leak in RemoteWidget
7 years ago
Steven Kirk
dbe4301d36
Sanitize image drawing API.
- Remove opacity parameter - should push an opacity instead
- Add a WPF-compatible overload of `DrawImage` to `DrawingContext`
7 years ago
Nikita Tsukanov
dbb5e72b73
HTML/WebSocket previewer "transport" + file watcher "transport"
7 years ago
Steven Kirk
fb173b30e2
Send keypresses to toplevel if no focused control.
- Added `IInputRoot Root` property to `RawInputEventArgs`
- Removed `InputRoot` and `Root` properties from `RawDragEvent` and `RawPointerEvent` as its now in the base class
- `InputRoot` in `RawDragEvent` was incorrectly using the type `IInputElement` instead of `IInputRoot`, fix callers that were using the wrong type
- Pass the input root to all raw input event constructors
- If no control is focused in `KeyboardDevice.ProcessRawEvent` then raise the event on the root
7 years ago
Nikita Tsukanov
0bad390dac
Added PointerUpdateKind and replaced InputModifiers with KeyModifiers
7 years ago
Nikita Tsukanov
3d4a2781b0
Switched key events to use KeyModifiers
7 years ago
Nikita Tsukanov
4c1f42b48a
PR comments
7 years ago
Steven Kirk
81510372b4
Don't invalidate a disposed TopLevelImpl.
8 years ago
Steven Kirk
2b34a27892
Return a frame even for an empty control.
If the user has a control with no content then we've still got a valid control
so return a frame with size 0.
8 years ago
Steven Kirk
9ed23bbf89
Handle null modifiers collection.
8 years ago
Dan Walmsley
80a95c5bae
fix call from invalid thread in previewer.
8 years ago
Dan Walmsley
bab421a8e0
fix keyboard input
8 years ago
Dan Walmsley
1eda1edc04
implement previewer interactions for mouse and keyboard.
8 years ago
Dan Walmsley
fc3458fac0
remote widget sizing mode.
8 years ago
Dan Walmsley
4cfd5a9a03
add previewer mode property to remote widget
8 years ago
Dan Walmsley
9fa5f957fe
invalidate remote window if previewer dpi is changed.
8 years ago
Dan Walmsley
7c6f1ca6ed
dont make setdpi public
8 years ago
Dan Walmsley
1078bff534
allocate viewport allows dpi to be overriden.
8 years ago
Dan Walmsley
e12a3f91c5
add a render info message so dpi can be set.
8 years ago
Dan Walmsley
50a3b95f87
fix support for zooming in on previewer and hidpi preview.
8 years ago
Dan Walmsley
173ee0037c
support high dpi on avalonia remote previewer.
8 years ago
Steven Kirk
a0e8dca6e9
Use PixelSize for device-dependent sizes.
8 years ago
Miha Markič
1524cb1aba
Spellchecks comments and members, removes unused using statements and sorts them
8 years ago
Benedikt Schroeder
4c63eb37d2
Namespace fixes
8 years ago
Benedikt Schroeder
f6c9aa88b9
Naming fixes
8 years ago
Benedikt Schroeder
4d525aac6c
Code style
8 years ago
ahopper
e967a8eb72
rename WritableBitmap
9 years ago
Steven Kirk
64ed0761c7
Rename Dispatcher invoke methods.
`InvokeAsync` -> `Post`
`InvokeTaskAsync` -> `InvokeAsync`
9 years ago
Nikita Tsukanov
a3937812ab
[REMOTE] Renamed private class to avoid confusion
9 years ago
Nikita Tsukanov
2b8953c7ab
Fixed merge issues and made new previewer to work with desktop .net
9 years ago
Nikita Tsukanov
9a1348b37b
Initial remote XAML previewer implementation
9 years ago
Nikita Tsukanov
646db5b914
Initial working version of remoting
9 years ago
Nikita Tsukanov
a2551d505b
Initial effort on Remote
9 years ago