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
10 years ago
Nikita Tsukanov
84af63ce1e
Added Position property, moved Hide/Show to ITopLevelImpl
10 years ago
Nikita Tsukanov
ec2a319049
Implemented BeginResizeDrag
10 years ago
Nikita Tsukanov
0b0875970c
Added TopLevel::BeginMoveDrag()
10 years ago
Steven Kirk
67835cc09b
Applied a bunch of resharper suggestions.
10 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.
10 years ago
Steven Kirk
663e760fda
Throw exception if TopLevel added as child.
Closes #262 .
10 years ago
Nikita Tsukanov
17f90128c9
Method renaming
10 years ago
Nikita Tsukanov
21f977ac9d
Replaced InvokeAsync with Invoke and InvokeTask to avoid exception swallowing and misunderstanding
10 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
Steven Kirk
45c6c9cf02
Fix tooltip sizing.
By fixing TopLevel sizing... Width and Height now work like all other
controls in that they're only set when the window has an explicitly set
size. Don't think SizeToContent is needed? Closes #24 .
11 years ago
Steven Kirk
a267e1c070
DesiredSize doesn't need to be null.
11 years ago
Steven Kirk
af3697b907
Allow Windows to be shown as dialogs.
11 years ago
Steven Kirk
41fe7e28aa
Hack dev tools to work again.
Need to fix the root layout problem that hangs it though.
11 years ago
Steven Kirk
e2a67e42c7
Prevent popup from deactivating parent window.
11 years ago
Steven Kirk
1b1d60d0c0
Make popup appear in right place.
11 years ago
Steven Kirk
06bf45ace3
Initial implementation of dropdown.
The popup appears in the wrong place, has placeholder content and steals
the main window focus, but it appears!
11 years ago
Steven Kirk
0f823cd387
Started implementing DropDown.
Mostly not yet implemented.
11 years ago