Steven Kirk
981dfd29d7
Added WindowBase.Resized event.
Which exposes the resize reason and new client size. Required renaming `PlatformResizeReason` to `WindowResizeReason`. Made `TopLevel.HandleResized` method internal.
3 years ago
Nikita Tsukanov
bc3768c2a0
More platforms are now using IDispatcherImpl
3 years ago
Max Katz
f5a81d71e2
Introduce TopLevelImpl.TryGetFeature instead of having multiple interfaces per feature
3 years ago
Nikita Tsukanov
6bdf0eacc7
Removed legacy renderers
3 years ago
Max Katz
d76bdd7807
FreeDesktop/x11 implementation
3 years ago
Simon Cropp
16ffe2f6f9
use default literal
3 years ago
Nikita Tsukanov
eaf2ce38a4
Context management
3 years ago
Dan Walmsley
15c855de29
fix framebuffer compositor platform.
3 years ago
Dan Walmsley
7bc608d37b
use composition renderer only on ios.
3 years ago
Steven Kirk
49e23bc07f
Use IRendererFactory in framebuffer backend.
If an `IRendererFactory` is provided, use this to supply the renderer; otherwise fall back to the existing `DeferredRenderer`.
4 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
Giuseppe Lippolis
955fb1ffdb
fixes: Warnings CS0169
5 years ago
Nathan Garside
bccbf0570c
Make FrameSize nullable
5 years ago
Nathan Garside
d77d1fd5da
Rename to FrameSize
5 years ago
Nathan Garside
9feb2376a0
Squash toplevel-totalsize
5 years ago
Steven Kirk
ca408e55b5
Added ICursorImpl.
5 years ago
Dan Walmsley
0148106f54
Seperate RenderScaling from DesktopScaling.
6 years ago
Dan Walmsley
7b7411a3a2
add platform specific compensation levels.
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
Dan Walmsley
30b81f1ded
Add stubs for transparency in other toplevel impls.
6 years ago
Nikita Tsukanov
636c6800cf
Merged LostFocus to ITopLevelImpl
6 years ago
José Pedro
19f9729e86
Reduced array allocations.
7 years ago
Nikita Tsukanov
62bc60bee3
[DirectFB] Added configurable scaling support
7 years ago
Nikita Tsukanov
35f64af761
Make toplevels responsible of creating popups
7 years ago
Nikita Tsukanov
6f74b568b2
Implemented libdrm backend with OpenGL acceleration support
7 years ago
Nikita Tsukanov
e9baedcbfc
Fixed platform threading for fbdev
7 years ago
Nikita Tsukanov
a48bc262af
Support touch input for fbdev via libinput
7 years ago
Nikita Tsukanov
b33601ee9b
Refactored lifetime control into separate lifetime classes
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
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
Jeremy Koritzinsky
18f436a2c3
Clean up unused code warnings and malformed doc comments.
8 years ago
Steven Kirk
64ed0761c7
Rename Dispatcher invoke methods.
`InvokeAsync` -> `Post`
`InvokeTaskAsync` -> `InvokeAsync`
8 years ago
Steven Kirk
d2eca3968b
Removed IRendererFactory.
Make the `ITopLevelImpl` create the renderer instead.
9 years ago
Nikita Tsukanov
91691c30a7
PR notes
9 years ago
Nikita Tsukanov
77b7026ac9
Removed IMouseDevice from service locator
9 years ago
Nikita Tsukanov
70abfca7d0
Implemented support for running on top of fbdev and libevdev2
9 years ago