OronDF343
1071dc079c
Renamed PositionChangedEventArgs to PointEventArgs
10 years ago
OronDF343
5e0243cfba
Added PositionChanged event in TopLevel
Implements #629
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
015054a8fd
Added a pre-process hook to InputManager,
And some documentation.
10 years ago
Steven Kirk
b483ad929a
Prevent spurious warning.
10 years ago
Steven Kirk
ea6b1d4cfd
Starting removing hard dependency on Serilog.
Instead log through a static Logger, and provide a Serilog consumer for
this.
10 years ago
Jeremy Koritzinsky
eea178500a
Added test and fixed implementation.
10 years ago
Jeremy Koritzinsky
bbe460c18f
Added interface and implementation for application exiting. Will automatically close all windows when called.
10 years ago
Steven Kirk
3fde7f979c
Added VisualExtensions.PointToClient.
In addition moved PointToScreen to VisualExtensions, and renamed
IRenderRoot.TranslatePointToScreen to IRenderRoot.PointToScreen.
10 years ago
Steven Kirk
e55ecb9960
Listen for DPI changes and update layout.
10 years ago
Steven Kirk
93b4d810b9
Moved scaling to per-window.
Always returning a scaling factor of 1 currently.
10 years ago
Steven Kirk
5489487131
Make LayoutManager global.
Also made a few other changes along the way:
- Add MaxClientSize to ILayoutRoot
- Store IRenderRoot in Visual and use that to calculate
IsAttachedToVisualTree
- Make Affects* methods take multiple properties
10 years ago
Steven Kirk
1202eaa876
Updated PerspexProperties to new classes
i.e. AttachedProperty, DirectProperty or StyledProperty.
10 years ago
Steven Kirk
30a756fb83
Refactored binding somewhat.
- Simplified PerpsexObject interface to a simplified single interface,
IPerspexObject
- Moved GetObservable etc to extension method
10 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
11 years ago
Nikita Tsukanov
84af63ce1e
Added Position property, moved Hide/Show to ITopLevelImpl
11 years ago
Nikita Tsukanov
ec2a319049
Implemented BeginResizeDrag
11 years ago
Nikita Tsukanov
0b0875970c
Added TopLevel::BeginMoveDrag()
11 years ago
Steven Kirk
67835cc09b
Applied a bunch of resharper suggestions.
11 years ago
Steven Kirk
16c2242757
Implemented NameScopes
Some tests still failing as controls are only registered with name scope
when attached to a rooted visual tree. Need to work around this by
explicitly registering controls when applying template.
11 years ago
Steven Kirk
663e760fda
Throw exception if TopLevel added as child.
Closes #262 .
11 years ago
Nikita Tsukanov
17f90128c9
Method renaming
11 years ago
Nikita Tsukanov
21f977ac9d
Replaced InvokeAsync with Invoke and InvokeTask to avoid exception swallowing and misunderstanding
11 years ago
Nikita Tsukanov
aba953a218
TopLevel don't use render target anymore
11 years ago
Nikita Tsukanov
f4f3d572a6
Renamed IRenderingViewport to IRenderTarget
11 years ago
Nikita Tsukanov
c8e617231c
Moved render-related code from TopLevel to a separate class
(needed for wm stuff)
11 years ago
Nikita Tsukanov
7529ab6536
Replaced ITopLevelImpl.SetOwnder by SetInputRoot
11 years ago
Steven Kirk
f38aa15886
More direct PPs.
11 years ago
Nikita Tsukanov
f50a2c361c
Reverted Dispatcher.UIThread and added SingleThreadDispatcher
11 years ago
Nikita Tsukanov
d7f3778de6
New main loop system
11 years ago
Nikita Tsukanov
323c1a49c1
Removed core dependency on Splat
11 years ago
Nikita Tsukanov
3cd3579475
"field can be readonly"
11 years ago
Nikita Tsukanov
21a3554260
Change property getter to expression properties
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Nikita Tsukanov
7f72c7763b
Implemented cursors. Ceterum censeo StyleCopum esse delendum.
11 years ago
Steven Kirk
f455d51520
Added IInputRoot.PointerOverElement.
To track element currently under pointer on a window.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
14f20e81dd
Implemented Window.SizeToContent.
11 years ago
Steven Kirk
18682a74f7
Use client size for top-level arrange.
Fixes #23 .
11 years ago
Steven Kirk
aa147f0423
More stylecoping.
11 years ago
Steven Kirk
884c6539ce
Implemented directional navigation.
11 years ago
Steven Kirk
7b192505d7
Set TemplatedParent in popups.
Popups that appear in control templates should set the TemplatedParent
property of their child controls.
11 years ago
Steven Kirk
018d99d91e
Use a different approach to access keys in menu.
Create a MenuItemAccessKeyHandler that handles the plain keys without
alt, and inject it into the submenu popups.
11 years ago
Steven Kirk
05f131595c
Make keyboard navigation handler per-window.
Use the same pattern as AccessKeyHander.
11 years ago
Steven Kirk
43e80392df
Started adding keyboard accessibility to Menu.
Still quite a lot to do.
11 years ago
Steven Kirk
e085e56c70
Show access keys on Alt/F10.
11 years ago
Steven Kirk
a143257ced
Stylecop fixes.
11 years ago
Steven Kirk
deba950eb2
Make sure a render takes place after layout.
11 years ago