23 ref class App
sealed :
public Windows::ApplicationModel::Core::IFrameworkView
29 virtual void Initialize(Windows::ApplicationModel::Core::CoreApplicationView^ applicationView);
30 virtual void SetWindow(Windows::UI::Core::CoreWindow^
window);
33 virtual void Uninitialize();
37 void OnActivated(Windows::ApplicationModel::Core::CoreApplicationView^ applicationView, Windows::ApplicationModel::Activation::IActivatedEventArgs^
args);
38 void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^
args);
39 void OnResuming(Platform::Object^ sender, Platform::Object^
args);
41 void OnBackRequested(Platform::Object^ sender, Windows::UI::Core::BackRequestedEventArgs^
args);
44 void OnWindowSizeChanged(Windows::UI::Core::CoreWindow^ sender, Windows::UI::Core::WindowSizeChangedEventArgs^
args);
45 void OnVisibilityChanged(Windows::UI::Core::CoreWindow^ sender, Windows::UI::Core::VisibilityChangedEventArgs^
args);
46 void OnWindowClosed(Windows::UI::Core::CoreWindow^ sender, Windows::UI::Core::CoreWindowEventArgs^
args);
47 void OnWindowActivated(Windows::UI::Core::CoreWindow^ sender, Windows::UI::Core::WindowActivatedEventArgs^
args);
48 void OnKey(Windows::UI::Core::CoreWindow^ sender, Windows::UI::Core::KeyEventArgs^
args);
49 void OnPointer(Windows::UI::Core::CoreWindow^ sender, Windows::UI::Core::PointerEventArgs^
args);
52 void OnDpiChanged(Windows::Graphics::Display::DisplayInformation^ sender, Platform::Object^
args);
53 void OnOrientationChanged(Windows::Graphics::Display::DisplayInformation^ sender, Platform::Object^
args);
54 void OnDisplayContentsInvalidated(Windows::Graphics::Display::DisplayInformation^ sender, Platform::Object^
args);
56 void OnPackageInstalling(Windows::ApplicationModel::PackageCatalog^ sender, Windows::ApplicationModel::PackageInstallingEventArgs^
args);
63 bool CheckWindowResized() {
bool resized = m_windowResized; m_windowResized =
false;
return resized; }
77 ref class Direct3DApplicationSource
sealed : Windows::ApplicationModel::Core::IFrameworkViewSource
80 virtual Windows::ApplicationModel::Core::IFrameworkView^ CreateView();
bool IsWindowClosed()
Definition: uwp_main.h:60
bool IsWindowFocused()
Definition: uwp_main.h:62
bool m_windowClosed
Definition: uwp_main.h:69
bool m_windowFocused
Definition: uwp_main.h:71
static App m_instance
Definition: uwp_main.h:73
const char * entryPoint
Definition: Hlsl.FromFile.cpp:45
bool m_initialized
Definition: uwp_main.h:68
bool IsInitialized()
Definition: uwp_main.h:59
Definition: uwp_main.h:20
static App GetInstance()
Definition: uwp_main.h:65
bool CheckWindowResized()
Definition: uwp_main.h:63
dictionary args
Definition: test_shaders.py:20
bool IsWindowVisible()
Definition: uwp_main.h:61
bool m_windowResized
Definition: uwp_main.h:72
bool m_windowVisible
Definition: uwp_main.h:70
const TString String(const int i, const int=10)
Definition: Common.h:220
void SetWindowResized()
Definition: uwp_main.h:64