Nikita Tsukanov
3b1005f04e
Removed pointer global state that caused trouble
7 years ago
Steven Kirk
fb173b30e2
Send keypresses to toplevel if no focused control.
- Added `IInputRoot Root` property to `RawInputEventArgs`
- Removed `InputRoot` and `Root` properties from `RawDragEvent` and `RawPointerEvent` as its now in the base class
- `InputRoot` in `RawDragEvent` was incorrectly using the type `IInputElement` instead of `IInputRoot`, fix callers that were using the wrong type
- Pass the input root to all raw input event constructors
- If no control is focused in `KeyboardDevice.ProcessRawEvent` then raise the event on the root
7 years ago
Jumar Macato
88446b1e9e
Pass PointerPressed event to BeginModeDrag and BeginResizeDrag.
7 years ago
Dan Walmsley
1474409a5e
add missing keycodes for osx gestures.
7 years ago
Dan Walmsley
0327d8e56b
implement osx keycodes.
7 years ago
Dan Walmsley
e7b39c1672
convert osx special key codes.
7 years ago
Nikita Tsukanov
dbcc58fa07
Remove NativeMenu.PrependApplicationMenu for now
7 years ago
Dan Walmsley
b7e9a50a42
OSX fix logic for setting app menu.
7 years ago
Dan Walmsley
2182b91023
tidy appmenu code
7 years ago
Dan Walmsley
a465b3ab21
make app menu declaration sensible.
7 years ago
Dan Walmsley
23a056f2e3
fix clearing items when updating
7 years ago
Dan Walmsley
08fa462881
[OSX platform] set app title before setting exporter.
7 years ago
Dan Walmsley
2baa06f344
osx add native seperators to menu
7 years ago
Dan Walmsley
5736a7965d
add support for seperators
7 years ago
Dan Walmsley
4bd7c39609
working reparenting of app menu.
7 years ago
Dan Walmsley
c17058c9aa
implement app menu osx.
7 years ago
Dan Walmsley
aa37fa40d5
osx always exports app menu if it exists.
7 years ago
Dan Walmsley
92e0e2bccc
attempt at application menu pre-pending.
7 years ago
Dan Walmsley
1d6d185038
remove unused code.
7 years ago
Dan Walmsley
72a9a21299
osx native menu items respond to model changes.
7 years ago
Dan Walmsley
448b549034
set menu on per window basis.
7 years ago
Dan Walmsley
ffcfeaa956
work towards menu per window.
7 years ago
Dan Walmsley
aaedaebe94
working enabled when using click handlers.
7 years ago
Dan Walmsley
238855c5d1
allow application name to be set on osx.
7 years ago
Dan Walmsley
fde1e095ab
add previous osx menu implementation.
7 years ago
Dan Walmsley
72c950588a
add some more menu implementation.
7 years ago
Dan Walmsley
8520eb32bc
add scafolding for native osx menu
7 years ago
Dan Walmsley
af88b38bef
fix osx popup positioning.
7 years ago
Dan Walmsley
e530ab468c
fix implementation of maxclientsize osx.
7 years ago
Dan Walmsley
65caadd7cd
fix missing bracket.
7 years ago
Dan Walmsley
54dd8a4002
add implementation for osx.
7 years ago
Dan Walmsley
2282c99c16
add dpi information to screens api.
7 years ago
Dan Walmsley
f56a47ed49
fix osx managed file dialogs.
7 years ago
Dariusz Komosinski
c37b911fe5
Seal unlock classes.
7 years ago
Dariusz Komosinski
edd6fd626f
Make sure that unlock API is still safe.
7 years ago
Jumar Macato
a35efecb5c
Decouple platform specific implementations
to their respective projects.
Some refactoring.
7 years ago
Nikita Tsukanov
0bad390dac
Added PointerUpdateKind and replaced InputModifiers with KeyModifiers
7 years ago
Nikita Tsukanov
3d4a2781b0
Switched key events to use KeyModifiers
7 years ago
Nikita Tsukanov
f9561260a3
IPopupImpl is now optional advanced feature
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
35f64af761
Make toplevels responsible of creating popups
7 years ago
Nikita Tsukanov
bc2cc9928c
Compilation
7 years ago
Nikita Tsukanov
5c698d8fb5
Removed old Rider hack
7 years ago
Nikita Tsukanov
4c1f42b48a
PR comments
7 years ago
Dan Walmsley
cb50bc8f6a
[OSX] Always set activation policy.
8 years ago
José Pedro
e6e8907643
Changed IScreenImpl.AllScreens return type so that it's not array.
8 years ago
Nikita Tsukanov
bbfed1c3a5
Refactored platform options
8 years ago
Dan Walmsley
a88c1473da
[OSX/Avalonia.Native] fix NRE in double dispose of ScreenImpl
8 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`
8 years ago
Jeffrey Ye
3744da1302
#2061 dont dispose util loop exit
8 years ago