-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathInfoUserControl.xaml.h
28 lines (23 loc) · 1.06 KB
/
InfoUserControl.xaml.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
#include "InfoUserControl.g.h"
namespace winrt::CelestiaWinUI::implementation
{
struct InfoUserControl : InfoUserControlT<InfoUserControl>
{
InfoUserControl(CelestiaComponent::CelestiaAppCore const& appCore, CelestiaComponent::CelestiaRenderer const& renderer, CelestiaComponent::CelestiaSelection const& selection);
void InitializeComponent();
Windows::Foundation::Collections::IObservableVector<CelestiaAppComponent::BrowserInputAction> Actions();
void ActionButton_Click(Windows::Foundation::IInspectable const&, Microsoft::UI::Xaml::RoutedEventArgs const&);
private:
CelestiaComponent::CelestiaAppCore appCore;
CelestiaComponent::CelestiaRenderer renderer;
CelestiaComponent::CelestiaSelection selection;
Windows::Foundation::Collections::IObservableVector<CelestiaAppComponent::BrowserInputAction> actions;
};
}
namespace winrt::CelestiaWinUI::factory_implementation
{
struct InfoUserControl : InfoUserControlT<InfoUserControl, implementation::InfoUserControl>
{
};
}