Update Calculator keyboard for greater consistency and extensibility (#688)

This commit is contained in:
Pepe Rivera 2019-10-03 15:56:44 -07:00 committed by GitHub
parent 9cb0932eaa
commit 55074c2312
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 3151 additions and 1181 deletions

View file

@ -66,7 +66,6 @@ namespace CalculatorApp
OBSERVABLE_NAMED_PROPERTY_RW(bool, IsMemoryEmpty);
OBSERVABLE_PROPERTY_RW(bool, IsFToEChecked);
OBSERVABLE_PROPERTY_RW(bool, IsFToEEnabled);
OBSERVABLE_PROPERTY_RW(bool, IsHyperbolicChecked);
OBSERVABLE_PROPERTY_RW(bool, AreHEXButtonsEnabled);
OBSERVABLE_PROPERTY_RW(Platform::String ^, CalculationResultAutomationName);
OBSERVABLE_PROPERTY_RW(Platform::String ^, CalculationExpressionAutomationName);
@ -90,22 +89,6 @@ namespace CalculatorApp
event HideMemoryClickedHandler ^ HideMemoryClicked;
property bool IsShiftChecked
{
bool get()
{
return m_isShiftChecked;
}
void set(bool value)
{
if (m_isShiftChecked != value)
{
m_isShiftChecked = value;
RaisePropertyChanged(L"IsShiftChecked");
}
}
}
property bool IsBitFlipChecked
{
bool get()
@ -435,7 +418,6 @@ namespace CalculatorApp
bool m_isAlwaysOnTop;
bool m_isBinaryBitFlippingEnabled;
bool m_isBitFlipChecked;
bool m_isShiftChecked;
bool m_isRtlLanguage;
int m_tokenPosition;
bool m_keyPressed;