Dan Walmsley
ca5d78d507
fix warnings and use readonly fields.
4 years ago
Dan Walmsley
daddc71372
remove trayicon events from osx.
4 years ago
Steven Kirk
11c60b4294
Decouple automation peers from platform nodes.
Now peers are entirely unaware of the platform implementation.
4 years ago
Dan Walmsley
a3c8396cf5
Tray icon osx, implement visibility toggle and lifetime management.
4 years ago
Dan Walmsley
abf4242280
support trayicon clicked on osx.
4 years ago
Dan Walmsley
0e703c9209
Add trayicon menu export support for osx.
4 years ago
Dan Walmsley
6ae59214a4
add initial implementation for osx tray icon support.
4 years ago
Sergey Mikolaitis
33c22a952f
[OSX] Add PointerMagnifyGesture, PointerRotateGesture, PointerSwipeGesture events
4 years ago
Sergey Mikolaitis
02e30f80f5
[OSX] Add Swipe, Rotate and Magnify PitchToZoom trackpad gestures as native mouse events, because they can be triggered from magic mouse AFAIK and creation of new TrackpadDevice is too big task for me now
4 years ago
Dan Walmsley
3438ac149b
initial implementation of tray icon.
4 years ago
Takoooooo
f283921e28
fix
5 years ago
Takoooooo
3dd91adc27
add comments
5 years ago
Dan Walmsley
0ddc444d2c
Rename eventargs class.
5 years ago
Dan Walmsley
c9458e5be8
use a ShutdownRequestedEventArgs class to future proof the event args.
5 years ago
mat1jaczyyy
9b0287bfd6
Fix existing and add missing osx-specific key shortcuts
5 years ago
dvdsvdv vrfsv
ea269261a7
match OSX behavior with Win behavior
5 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
Miha Markič
97c33f432a
Applies spell checking on mostly comments, but also non public members and arguments
5 years ago
Steven Kirk
32c0eac415
Prevent dialog parent from becoming key window.
5 years ago
Steven Kirk
cd51d638e9
Pass dialog flag to window impl Show.
Not doing anything with it yet.
5 years ago
Steven Kirk
b71743e9a8
Handle applicationShouldTerminate on OSX.
Added some new plumbing to facilitate this:
- A managed event is raised `IPlatformLifetimeEventsImpl.ShutdownRequested`
- This event is subscribed from `ClassicDesktopStyleApplicationLifetime`
- Which tries to close all windows
- And returns false to cancel the OS-level close if not all windows could be closed
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
2df1e32aae
Expose max/min for slider controls etc.
5 years ago
Steven Kirk
8ded356614
More work on ComboBox OSX a11y.
Implement "Show Menu" and "Perform Press" actions.
5 years ago
Steven Kirk
6096cab3b9
Use correct role for combobox items on OSX.
5 years ago
Steven Kirk
1553b89bd7
Fix a11y for popup windows.
- Don't show when creating a popup window with a11y enabled
- Raise focus changed notification on element that got focus instead of the window
5 years ago
Steven Kirk
0ab5e4dbfe
Implemented a11y focus on OSX.
5 years ago
Steven Kirk
7bbbfa414f
More OSX accessibility implementation.
5 years ago
Steven Kirk
bcc8876e8e
Handle children changing.
And map all the automation control types to roles.
5 years ago
Steven Kirk
d6d583a16e
Initial implementation of OSX automation.
5 years ago
Dan Walmsley
863961551c
fix implementation of ScalingChanged property.
there were 2x implementations, 1x implicit, 1x explicit... :face-palm:
5 years ago
Steven Kirk
8add2371c6
Make root automation node come from OS.
This will be needed for OSX.
5 years ago
Nathan Randle
c686b86e38
Rename misspellings of separator.
5 years ago
Steven Kirk
89e5f3888d
Added Opening/Closed for NativeMenu on OSX.
Adds the `Opening` and `Closed` events for OSX to `NativeMenu` which relate to `menuWillOpen` and `menuDidClose`. Note that `NativeMenu` already exposed `NeedsUpdate` as `Opening`; this event has been moved to a separate `NeedsUpdate` event.
5 years ago
Dan Walmsley
8e6502f222
much simpler interface with application class and platform events.
5 years ago
Dan Walmsley
cf88222031
add implementation of url event for application class.
5 years ago
Dan Walmsley
20ddbf8dd8
OSX - add interface for file/url opened api.
5 years ago
Dan Walmsley
cf8117d9ec
change default extend chrome hint
5 years ago
Dan Walmsley
111a9c80ab
allow user to disable generation of default appmenu items on osx.
5 years ago
Dan Walmsley
e90fe543f0
add full osx implementation for custom cursors.
5 years ago
Dan Walmsley
bd159fbde7
Fix auto sizing.
5 years ago
Dan Walmsley
dc1a38695b
correctly parse native menu gesture keys on osx.
5 years ago
Dan Walmsley
5596750634
initial attempt at detecting chrome double click.
5 years ago
Dan Walmsley
a088910f31
Add OSX implementation.
5 years ago
Steven Kirk
5d4b56d042
NativeMenuItem.Clicked -> Click.
And mark `Clicked` as obsolete. For consistency with `MenuItem.Click`.
5 years ago
Nikita Tsukanov
165bc28409
[AVNCOM] Manually pass `bool` values as `int` for now
5 years ago
Dan Walmsley
be8a3e83fa
fix OSX NRE.
5 years ago
Dan Walmsley
eecc91feaa
cleaner fix.
5 years ago