Skip to content

Commit 7b84041

Browse files
committed
Merge branch 'dev/migrie/f/sui-panes' into dev/migrie/fhl/tasks-pane
2 parents 8f2a129 + bcceb85 commit 7b84041

File tree

4 files changed

+19
-20
lines changed

4 files changed

+19
-20
lines changed

src/cascadia/TerminalApp/ScratchpadContent.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include "pch.h"
55
#include "ScratchpadContent.h"
6-
#include "PaneArgs.h"
76
#include "ScratchpadContent.g.cpp"
87

98
using namespace winrt::Windows::Foundation;
@@ -37,7 +36,7 @@ namespace winrt::TerminalApp::implementation
3736
{
3837
return _root;
3938
}
40-
winrt::Windows::Foundation::Size ScratchpadContent::MinSize()
39+
winrt::Windows::Foundation::Size ScratchpadContent::MinimumSize()
4140
{
4241
return { 1, 1 };
4342
}

src/cascadia/TerminalApp/ScratchpadContent.h

+9-8
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ namespace winrt::TerminalApp::implementation
1414

1515
void UpdateSettings(const winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings& settings);
1616

17-
winrt::Windows::Foundation::Size MinSize();
17+
winrt::Windows::Foundation::Size MinimumSize();
18+
1819
void Focus(winrt::Windows::UI::Xaml::FocusState reason = winrt::Windows::UI::Xaml::FocusState::Programmatic);
1920
void Close();
2021
winrt::Microsoft::Terminal::Settings::Model::NewTerminalArgs GetNewTerminalArgs(const bool asContent) const;
@@ -27,14 +28,14 @@ namespace winrt::TerminalApp::implementation
2728
Windows::Foundation::IReference<winrt::Windows::UI::Color> TabColor() const noexcept { return nullptr; }
2829
winrt::Windows::UI::Xaml::Media::Brush BackgroundBrush();
2930

30-
til::typed_event<> CloseRequested;
31-
til::typed_event<winrt::Windows::Foundation::IInspectable, winrt::TerminalApp::BellEventArgs> BellRequested;
32-
til::typed_event<> TitleChanged;
33-
til::typed_event<> TabColorChanged;
34-
til::typed_event<> TaskbarProgressChanged;
3531
til::typed_event<> ConnectionStateChanged;
36-
til::typed_event<> ReadOnlyChanged;
37-
til::typed_event<> FocusRequested;
32+
til::typed_event<IPaneContent> CloseRequested;
33+
til::typed_event<IPaneContent, winrt::TerminalApp::BellEventArgs> BellRequested;
34+
til::typed_event<IPaneContent> TitleChanged;
35+
til::typed_event<IPaneContent> TabColorChanged;
36+
til::typed_event<IPaneContent> TaskbarProgressChanged;
37+
til::typed_event<IPaneContent> ReadOnlyChanged;
38+
til::typed_event<IPaneContent> FocusRequested;
3839

3940
private:
4041
winrt::Windows::UI::Xaml::Controls::Grid _root{ nullptr };

src/cascadia/TerminalApp/SettingsPaneContent.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include "pch.h"
55
#include "SettingsPaneContent.h"
6-
#include "PaneArgs.h"
76
#include "SettingsPaneContent.g.cpp"
87
#include "Utils.h"
98

@@ -36,7 +35,7 @@ namespace winrt::TerminalApp::implementation
3635
{
3736
return _sui;
3837
}
39-
winrt::Windows::Foundation::Size SettingsPaneContent::MinSize()
38+
winrt::Windows::Foundation::Size SettingsPaneContent::MinimumSize()
4039
{
4140
return { 1, 1 };
4241
}

src/cascadia/TerminalApp/SettingsPaneContent.h

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace winrt::TerminalApp::implementation
1616
winrt::Windows::UI::Xaml::FrameworkElement GetRoot();
1717
winrt::Microsoft::Terminal::Settings::Editor::MainPage SettingsUI() { return _sui; }
1818

19-
winrt::Windows::Foundation::Size MinSize();
19+
winrt::Windows::Foundation::Size MinimumSize();
2020
void Focus(winrt::Windows::UI::Xaml::FocusState reason = winrt::Windows::UI::Xaml::FocusState::Programmatic);
2121
void Close();
2222
winrt::Microsoft::Terminal::Settings::Model::NewTerminalArgs GetNewTerminalArgs(const bool asContent) const;
@@ -29,14 +29,14 @@ namespace winrt::TerminalApp::implementation
2929
Windows::Foundation::IReference<winrt::Windows::UI::Color> TabColor() const noexcept;
3030
winrt::Windows::UI::Xaml::Media::Brush BackgroundBrush();
3131

32-
til::typed_event<> CloseRequested;
33-
til::typed_event<winrt::Windows::Foundation::IInspectable, winrt::TerminalApp::BellEventArgs> BellRequested;
34-
til::typed_event<> TitleChanged;
35-
til::typed_event<> TabColorChanged;
36-
til::typed_event<> TaskbarProgressChanged;
3732
til::typed_event<> ConnectionStateChanged;
38-
til::typed_event<> ReadOnlyChanged;
39-
til::typed_event<> FocusRequested;
33+
til::typed_event<IPaneContent> CloseRequested;
34+
til::typed_event<IPaneContent, winrt::TerminalApp::BellEventArgs> BellRequested;
35+
til::typed_event<IPaneContent> TitleChanged;
36+
til::typed_event<IPaneContent> TabColorChanged;
37+
til::typed_event<IPaneContent> TaskbarProgressChanged;
38+
til::typed_event<IPaneContent> ReadOnlyChanged;
39+
til::typed_event<IPaneContent> FocusRequested;
4040

4141
private:
4242
winrt::Microsoft::Terminal::Settings::Editor::MainPage _sui{ nullptr };

0 commit comments

Comments
 (0)