Clang-format most of the sources (#1467)
This commit is contained in:
committed by
GitHub
parent
f7d0118064
commit
f30e9494ce
@@ -437,6 +437,3 @@ void App::DismissedEventHandler(SplashScreen ^ sender, Object ^ e)
|
||||
{
|
||||
SetupJumpList();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@@ -18,10 +18,10 @@ namespace CalculatorApp
|
||||
#ifdef SEND_DIAGNOSTICS
|
||||
// c.f. WINEVENT_KEYWORD_RESERVED_63-56 0xFF00000000000000 // Bits 63-56 - channel keywords
|
||||
// c.f. WINEVENT_KEYWORD_* 0x00FF000000000000 // Bits 55-48 - system-reserved keywords
|
||||
constexpr int64_t MICROSOFT_KEYWORD_LEVEL_1 = 0x0000800000000000; // Bit 47
|
||||
constexpr int64_t MICROSOFT_KEYWORD_LEVEL_2 = 0x0000400000000000; // Bit 46
|
||||
constexpr int64_t MICROSOFT_KEYWORD_LEVEL_1 = 0x0000800000000000; // Bit 47
|
||||
constexpr int64_t MICROSOFT_KEYWORD_LEVEL_2 = 0x0000400000000000; // Bit 46
|
||||
constexpr int64_t MICROSOFT_KEYWORD_LEVEL_3 = 0x0000200000000000; // Bit 45
|
||||
constexpr int64_t MICROSOFT_KEYWORD_RESERVED_44 = 0x0000100000000000; // Bit 44 (reserved for future assignment)
|
||||
constexpr int64_t MICROSOFT_KEYWORD_RESERVED_44 = 0x0000100000000000; // Bit 44 (reserved for future assignment)
|
||||
#else
|
||||
// define all Keyword options as 0 when we do not want to upload app diagnostics
|
||||
constexpr int64_t MICROSOFT_KEYWORD_LEVEL_1 = 0;
|
||||
|
@@ -528,7 +528,8 @@ void KeyboardShortcutManager::OnAcceleratorKeyActivated(CoreDispatcher ^, Accele
|
||||
return;
|
||||
}
|
||||
|
||||
const bool controlKeyPressed = (Window::Current->CoreWindow->GetKeyState(VirtualKey::Control) & CoreVirtualKeyStates::Down) == CoreVirtualKeyStates::Down;
|
||||
const bool controlKeyPressed =
|
||||
(Window::Current->CoreWindow->GetKeyState(VirtualKey::Control) & CoreVirtualKeyStates::Down) == CoreVirtualKeyStates::Down;
|
||||
// Ctrl is pressed in addition to alt, this means Alt Gr is intended. do not navigate.
|
||||
if (controlKeyPressed)
|
||||
{
|
||||
|
@@ -75,7 +75,7 @@ namespace CalculatorApp
|
||||
Windows::Foundation::EventRegistrationToken m_textContainerSizeChangedToken;
|
||||
Windows::Foundation::EventRegistrationToken m_scrollRightClickToken;
|
||||
Windows::Foundation::EventRegistrationToken m_scrollLeftClickToken;
|
||||
Windows::Foundation::EventRegistrationToken m_textBlockSizeChangedToken;
|
||||
Windows::Foundation::EventRegistrationToken m_textBlockSizeChangedToken;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@@ -81,7 +81,7 @@ public
|
||||
void AnnounceCategoryName();
|
||||
|
||||
CalculatorApp::Calculator ^ m_calculator;
|
||||
GraphingCalculator^ m_graphingCalculator;
|
||||
GraphingCalculator ^ m_graphingCalculator;
|
||||
CalculatorApp::UnitConverter ^ m_converter;
|
||||
CalculatorApp::DateCalculator ^ m_dateCalculator;
|
||||
Windows::Foundation::EventRegistrationToken m_windowSizeEventToken;
|
||||
|
Reference in New Issue
Block a user