Dariusz Komosinski
a2c6bc1b7c
Remove usage of AddClassHandler that returns new lambda per invocation.
6 years ago
Nikita Tsukanov
f6e752c5fb
Dead code
7 years ago
Nikita Tsukanov
9343ba4c23
Wired up the popup positioner
Tests are failing because they are trying create popups out of a thin air
7 years ago
Nikita Tsukanov
425edab298
Move Screens property to WindowBase since they are in IWindowBaseImpl anyway
7 years ago
Steven Kirk
131a4d90ef
Remove Avalonia.ISupportInitialize.
This is a relic from when we were targeting a PCL profile that didn't have `System.ComponentModel.ISupportInitialize`. Now that we have that, use it instead.
7 years ago
Steven Kirk
81846e87ec
Added TopLevel.Opened event.
And raise the event when a window is opened.
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č
1524cb1aba
Spellchecks comments and members, removes unused using statements and sorts them
8 years ago
CommonGuy
42121ec2c1
Move topmost to WindowBase
8 years ago
Stano Turza
586e8654f3
replace Min Max properties with function
8 years ago
Stano Turza
b89b72f0ba
Fix Win32 window size constraints
fixes + revert testing changes
8 years ago
Stano Turza
bd33b3076b
Fix Win32 window size constraints
fixes + revert testing changes
8 years ago
José Pedro
efb9fd4c57
Added missing setters.
9 years ago
José Pedro
e54d0c75d1
Property changes.
9 years ago
José Pedro
1eee17345b
Implemented Window.WindowStartupLocation and WindowBase.Owner.
9 years ago
Steven Kirk
33fd46c789
Quick and dirty hack to fix #1054
This fixes the problem decribed in #1054 but I think there's something wrong with the way we handle top level layout anyway and it's going to need refactoring soon.
(cherry picked from commit 7337a90fc1 )
9 years ago
Steven Kirk
daf59b8497
Start/stop the renderer on window show/hide.
9 years ago
Nikita Tsukanov
eb6bfd3de8
Moved layout manager from service locator to ILayoutRoot
9 years ago
Nikita Tsukanov
e883107ca3
Make PlatformImpl nullable and always check for null value
9 years ago
Steven Kirk
3082bda498
Pass resized message to renderer.
9 years ago
Steven Kirk
e9968a7606
Make WindowBase.IsVisible show/hide window.
9 years ago
Steven Kirk
4e719262c4
Make WindowBase.IsVisible return correct value.
`WindowBase.IsVisible` now tracks the visibility of the window. Still
needs to call `Show` and `Hide` when changed.
9 years ago
Steven Kirk
ad73e7f8e8
Send paint and resize notifications to renderer.
9 years ago
Nikita Tsukanov
026c943055
Fixed tests
9 years ago
Nikita Tsukanov
f0285179bd
Fixed comments and solution
9 years ago
Nikita Tsukanov
f21212e76a
Refactored out WindowBase from TopLevel
9 years ago