Max Katz
05ac6d2f1d
Screens API refactor ( #16295 )
* Draft new API
* Push reusable ScreensBaseImpl implementation
* Fix tests and stubs
* Update ScreensPage sample to work on mobile + show new APIs
* Reimplement Windows ScreensImpl, reuse existing screens in other places of backend, use Microsoft.Windows.CsWin32 for interop
* Make X11 project buildable, don't utilize new APIs yet
* Reimplement macOS Screens API, differenciate screens by CGDirectDisplayID
* Fix build
* Adjust breaking changes file (none affect users)
* Fix missing macOS Screen.DisplayName
* Add more tests + fix screen removal
* Add screens integration tests
* Use hash set with comparer when removing screens
* Make screenimpl safer on macOS as per review
* Replace UnmanagedCallersOnly usage with source generated EnumDisplayMonitors
* Remove unused dllimport
* Only implement GetHashCode and Equals on PlatformScreen subclass, without changing base Screen
2 years ago
rabbitism
163b884171
fix: remove unused pen.
3 years ago
rabbitism
32cfbe6578
fix: fix screen display in control catalog.
3 years ago
Simon Cropp
374c0c4e3b
screens in ScreenPage sampel cant be null
3 years ago
Giuseppe Lippolis
2aa79269e8
fix: Address reviw
3 years ago
robloo
91d25f7416
Fix missed property rename
3 years ago
robloo
d816726ef0
Rename Scale to Scaling and update more comments
3 years ago
robloo
6bc689a662
Updates from code review
3 years ago
Giuseppe Lippolis
8724514a73
feat(ControlCatalog): Address rule CA1822
3 years ago
robloo
30fd91121e
Comment and update the Screen class
3 years ago
ShadowMarker789
1aa44984b7
Fix for Issue 9064 - Dispatcher call instead
https://github.com/AvaloniaUI/Avalonia/issues/9064
Fix for throwing unhandled exception in screen page, replace direct invalidate visual with dispatcher invocation of invalidate visual
3 years ago
Giuseppe Lippolis
b4859f0479
fix: Avoid Cast exception on Single View Application
3 years ago
Giuseppe Lippolis
2bf853aca9
fix some null annotation in ControlCatalog
4 years ago
daniel mayost
61ffbcc687
naming more like wpf
4 years ago
daniel mayost
f5a21547b8
typo
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
daniel mayost
baf77db493
Merge branch 'master' into feature/flowDirectionImpl
4 years ago
Benedikt Stebner
b815a22d5a
Port WPF's FormattedText to Avalonia and rework TextPresenter
4 years ago
Dan Walmsley
3e690c5fbc
fix rounding error on screens page.
5 years ago
Dan Walmsley
c1252b473d
fix screen page rendering.
5 years ago
Maksym Katsydan
3d2db41bc8
ControlCatalog: Some fixes and workarounds, so it will not use missing resources
6 years ago
Dan Walmsley
439f7af663
fix typo
6 years ago
Dan Walmsley
7ee0bb804a
display screen dpi info on screenspage
6 years ago
Nikita Tsukanov
b225e84324
Various control catalog improvements
7 years ago
José Pedro
e6e8907643
Changed IScreenImpl.AllScreens return type so that it's not array.
7 years ago
Steven Kirk
4ec2b1c554
Use PixelPoint and PixelRect for device points/rects.
The affected members are:
- `IWindowBaseImpl.Position`
- `IWindowBaseImpl.PositionChanged`
- `ITopLevelImpl.PointToClient`
- `ITopLevelImpl.PointToScreen`
- `IMouseDevice.Position`
- `Screen.Bounds`
- `Screen.WorkingArea`
7 years ago
Nikita Tsukanov
86e2a3e9b3
Pre-merge repo cleanup
7 years ago
Nikita Tsukanov
39f57c38d4
Initial commit
Interop and PlatformThreadingInterface seem to be working, initial work on IWindowImpl
8 years ago
William David Cossey
a161f6a095
ScreenPage.cs - Bug fix.
TreeViewItem - Added Depth property.
BaseLight.xaml - Added InvisibleSelectionColor/Brush.
DatePicker.xaml - Improvments.
TreeViewItem.xaml - Reworked styling.
FormattedTextImpl.cs - Reverted previous changes.
8 years ago
Jurjen Biewenga
e25f949d98
Screen information API implementation
8 years ago