Dan Walmsley
2e555be402
[OSX] programatically implement child window relationship
4 years ago
Dan Walmsley
a2d83e8fae
[OSX] programatically implement child window relationship
4 years ago
Dan Walmsley
a77f9d3e54
add setCanBecomeKeyWindow to protocol
4 years ago
Dan Walmsley
3600639d39
re-create NSWindow if we call show and need to swap out for a dialog.
4 years ago
Dan Walmsley
1cca34f56e
actually create nspanels for dialogs.
4 years ago
Dan Walmsley
f008e403cf
make it compile 2 versions is AvnWindow (NSWindow / NSPanel version)
fix include mess, and pragma once.
4 years ago
Dan Walmsley
8be332ab1d
make AvnWindowProtocol
4 years ago
Dan Walmsley
4cba4519f3
only create the NSWindow when show is called. Cache sizes until needed.
4 years ago
Dan Walmsley
f19639684d
move AutoFitContentView to its own file.
4 years ago
Dan Walmsley
4892352db5
move avnview to its own file.
4 years ago
Dan Walmsley
68b4173743
remove unused window code.
4 years ago
Dan Walmsley
e2b76313b7
further seperate out files.
4 years ago
Dan Walmsley
2cf78ac11c
move IWindowBaseImpl to its own file.
4 years ago
Dan Walmsley
b8059ef35f
implement non-client clicks on osx.
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
Steven Kirk
32c0eac415
Prevent dialog parent from becoming key window.
5 years ago
Steven Kirk
d6d583a16e
Initial implementation of OSX automation.
5 years ago
Dan Walmsley
a5fb091950
remove shadow invalidation hacks.
5 years ago
Dan Walmsley
b5efb293ba
trick to make OSX invalidate the shadow.
5 years ago
Dan Walmsley
fcbd73137b
blur without reparent magic.
6 years ago
Dan Walmsley
248492ef5c
attempt seperate containers for blurred and transparent.
6 years ago
Dan Walmsley
668dd760c2
working titlebar height setting.
6 years ago
Dan Walmsley
124f12d5b6
fix titlebar size when entering and exiting extended frame mode.
6 years ago
Dan Walmsley
f08e4252c8
fill titlebar with titlebar material
6 years ago
Dan Walmsley
0c3f2aa856
implement transparency api on osx.
6 years ago
Dan Walmsley
86ac0ff5a5
OSX implement SetParent
6 years ago
Nikita Tsukanov
39501e5b30
DnD support for OSX
6 years ago
Dan Walmsley
24dd2b4459
[OSX] borderless window can transistion from FullScreen to Maximised correctly.
6 years ago
Dariusz Komosinski
6ee5543522
Modal window flag for OSX
6 years ago
Dan Walmsley
c38c7e2d65
[OSX] implement FullScreen and fix sync of window states.
6 years ago
Dan Walmsley
77674a8f0c
simplify switching between appmenu only and appmenu + window menu.
6 years ago
Dan Walmsley
3a6b48c894
simplify reparenting logic.
6 years ago
Dan Walmsley
4aa10242cc
rename interfaces and fix most native code warnings.
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Dan Walmsley
e97c740036
no need to cast to call OnResized.
6 years ago
Dan Walmsley
5a3602ffd5
OSX backend calls OnResized to keep WindowState inSync.
6 years ago
Nathan Garside
c0e337d61f
Use enum in mac interop
6 years ago
Nathan Garside
d44ad423a0
Use enum in macOS native
6 years ago
Dan Walmsley
bb571a4a03
[OSX] access scaling and window size in thread safe manner.
7 years ago
Dan Walmsley
4454af5613
implement osx quit menu item.
7 years ago
Dan Walmsley
18def34bf7
implement per window menus on osx side.
7 years ago
Dan Walmsley
ffcfeaa956
work towards menu per window.
7 years ago
Nikita Tsukanov
986d2e4d84
[OSX] Parent-modal dialogs
8 years ago
Jeremy Koritzinsky
74bbbbbec4
Move Xcode files around.
8 years ago
Dan Walmsley
5e07f63572
remove mods to debug reference counting.
8 years ago
Nikita Tsukanov
05878ba746
Deallocation control
8 years ago
Nikita Tsukanov
8ac77adb76
Ensure virtual destructor chain
8 years ago
Dan Walmsley
716941ec56
code standards and formatting, copyright message
8 years ago
Dan Walmsley
2758a5839e
add a modal window implementation
8 years ago
Dan Walmsley
64d439ecb1
implement window state change events and manipulation.
Implements window activation.
8 years ago