8 ref class directx_framework_impact :
14 ::windowing::window * m_pimpl;
16 ::winrt::Windows::Foundation::i32_point m_pointLastCursor;
18 ::u32 m_dwMouseMoveThrottle;
20 ::duration m_durationLastMouseMove;
22 ::winrt::Windows::UI::ViewManagement::UISettings ^ m_puisettings;
33 bool m_bFontopusShift;
35 ::pointer < ::mutex > m_pmutex;
41 ::pointer<directx_interaction> m_pdxi;
49 ::winrt::Windows::Foundation::Rect m_rectangleLastWindowRect;
50 ::winrt::Windows::Foundation::Rect m_rectangleInputContentRect;
51 ::winrt::Windows::Foundation::Rect m_rectangleInputSelectionRect;
57 void install_directx_application_message_routing();
59 void initialize_directx_application();
72 virtual void Initialize(_In_ ::winrt::Windows::ApplicationModel::Core::CoreApplicationView^ applicationView)
override;
73 virtual void SetWindow(_In_ ::winrt::Windows::UI::Core::CoreWindow^
window)
override;
74 virtual void Load(_In_ String^ entryPoint)
override;
75 virtual void Run()
override;
76 virtual void Uninitialize()
override;
79 virtual ::winrt::Windows::Foundation::Rect window_rectangle()
override;
80 virtual ::winrt::Windows::Foundation::i32_point get_cursor_position()
override;
82 virtual ::winrt::Windows::Foundation::Rect get_input_content_rect()
override;
83 virtual ::winrt::Windows::Foundation::Rect get_input_selection_rect()
override;
86 virtual ~directx_framework_impact();
90 void OnUISettingsColorValuesChange(::winrt::Windows::UI::ViewManagement::UISettings^, Platform::Object^);
94 void OnWindowSizeChanged(
95 _In_ ::winrt::Windows::UI::Core::CoreWindow^ sender,
96 _In_ ::winrt::Windows::UI::Core::WindowSizeChangedEventArgs^ args
99 void DpiChanged(::winrt::Windows::Graphics::Display::DisplayInformation ^ sender, Object ^ obj);
101 void DisplayContentsInvalidated(::winrt::Windows::Graphics::Display::DisplayInformation ^ sender, Object ^ obj);
104 _In_ ::winrt::Windows::ApplicationModel::Core::CoreApplicationView^ applicationView,
105 _In_ ::winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs^ args
110 _In_ ::winrt::Windows::ApplicationModel::SuspendingEventArgs^ args
119 void OnWindowVisibilityChanged(::winrt::Windows::UI::Core::CoreWindow^, ::winrt::Windows::UI::Core::VisibilityChangedEventArgs^ args);
121 void OnPointerMoved(::winrt::Windows::UI::Core::CoreWindow^, ::winrt::Windows::UI::Core::PointerEventArgs^ args);
123 void OnCharacterReceived(::winrt::Windows::UI::Core::CoreWindow^, ::winrt::Windows::UI::Core::CharacterReceivedEventArgs^ args);
124 void OnKeyDown(::winrt::Windows::UI::Core::CoreWindow^, ::winrt::Windows::UI::Core::KeyEventArgs^ args);
125 void OnKeyUp(::winrt::Windows::UI::Core::CoreWindow^, ::winrt::Windows::UI::Core::KeyEventArgs^ args);
126 void OnPointerPressed(::winrt::Windows::UI::Core::CoreWindow^, ::winrt::Windows::UI::Core::PointerEventArgs^ args);
127 void OnPointerReleased(::winrt::Windows::UI::Core::CoreWindow^, ::winrt::Windows::UI::Core::PointerEventArgs^ args);