MCPcopy Create free account
hub / github.com/YtFlow/Maple / MainPage

Method MainPage

Maple.App/MainPage.cpp:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 }
26
27 MainPage::MainPage()
28 {
29 InitializeComponent();
30
31 const auto coreTitleBar{ CoreApplication::GetCurrentView().TitleBar() };
32 const auto window{ Window::Current() };
33 coreTitleBar.ExtendViewIntoTitleBar(true);
34 window.SetTitleBar(CustomTitleBar());
35
36 coreTitleBar.LayoutMetricsChanged({ this,&MainPage::CoreTitleBar_LayoutMetricsChanged });
37 window.Activated({ this, &MainPage::CoreWindow_Activated });
38 }
39
40 void MainPage::CoreTitleBar_LayoutMetricsChanged(CoreApplicationViewTitleBar const& coreTitleBar, IInspectable const&)
41 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected