mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
commit
65c952874e
9 changed files with 45 additions and 19 deletions
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
|
@ -8,7 +8,7 @@ assignees: ''
|
||||||
---
|
---
|
||||||
|
|
||||||
**Please describe your feature request.**
|
**Please describe your feature request.**
|
||||||
<!--For more information see https://github.com/Microsoft/calculator/blob/master/docs/NewFeatureProcess.md-->
|
<!--For more information see https://github.com/Microsoft/calculator/blob/master/docs/NewFeatureProcess.md -->
|
||||||
|
|
||||||
**Is your feature request related to a problem? Please describe.**
|
**Is your feature request related to a problem? Please describe.**
|
||||||
<!--A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]-->
|
<!--A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]-->
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
# Fixes #.
|
## Fixes #.
|
||||||
|
|
||||||
## Description of the changes in this pull request:
|
|
||||||
|
### Description of the changes:
|
||||||
-
|
-
|
||||||
-
|
-
|
||||||
-
|
-
|
||||||
|
|
||||||
## How this pull request was validated:
|
### How changes were validated:
|
||||||
### Review [Contributing.md](../Contributing.md) and ensure all contributing requirements are met.
|
<!--Review https://github.com/Microsoft/calculator/blob/master/CONTRIBUTING.md and ensure all contributing requirements are met.
|
||||||
### Specify how you tested your changes (i.e. manual/ad-hoc testing, automated testing, new automated tests added)
|
|
||||||
|
Specify how you tested your changes (i.e. manual/ad-hoc testing, automated testing, new automated tests added)-->
|
||||||
-
|
-
|
||||||
-
|
-
|
||||||
-
|
-
|
||||||
|
|
||||||
@Microsoft/calculator-team
|
|
||||||
|
|
16
.github/pull_request_template.md
vendored
Normal file
16
.github/pull_request_template.md
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
## Fixes #.
|
||||||
|
|
||||||
|
|
||||||
|
### Description of the changes:
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-
|
||||||
|
|
||||||
|
### How changes were validated:
|
||||||
|
<!--Review https://github.com/Microsoft/calculator/blob/master/CONTRIBUTING.md and ensure all contributing requirements are met.
|
||||||
|
|
||||||
|
Specify how you tested your changes (i.e. manual/ad-hoc testing, automated testing, new automated tests added)-->
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-
|
||||||
|
|
|
@ -279,6 +279,7 @@
|
||||||
<ClInclude Include="Header Files\CalcInput.h" />
|
<ClInclude Include="Header Files\CalcInput.h" />
|
||||||
<ClInclude Include="Header Files\IHistoryDisplay.h" />
|
<ClInclude Include="Header Files\IHistoryDisplay.h" />
|
||||||
<ClInclude Include="Header Files\Number.h" />
|
<ClInclude Include="Header Files\Number.h" />
|
||||||
|
<ClInclude Include="Header Files\RadixType.h" />
|
||||||
<ClInclude Include="Header Files\Rational.h" />
|
<ClInclude Include="Header Files\Rational.h" />
|
||||||
<ClInclude Include="Header Files\scimath.h" />
|
<ClInclude Include="Header Files\scimath.h" />
|
||||||
<ClInclude Include="pch.h" />
|
<ClInclude Include="pch.h" />
|
||||||
|
|
|
@ -161,5 +161,8 @@
|
||||||
<ClInclude Include="Header Files\Rational.h">
|
<ClInclude Include="Header Files\Rational.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="Header Files\RadixType.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -20,6 +20,7 @@
|
||||||
#include "../Command.h"
|
#include "../Command.h"
|
||||||
#include "../CalculatorVector.h"
|
#include "../CalculatorVector.h"
|
||||||
#include "../ExpressionCommand.h"
|
#include "../ExpressionCommand.h"
|
||||||
|
#include "RadixType.h"
|
||||||
#include "History.h" // for History Collector
|
#include "History.h" // for History Collector
|
||||||
#include "CalcInput.h"
|
#include "CalcInput.h"
|
||||||
#include "ICalcDisplay.h"
|
#include "ICalcDisplay.h"
|
||||||
|
@ -38,15 +39,6 @@ enum eNUM_WIDTH {
|
||||||
typedef enum eNUM_WIDTH NUM_WIDTH;
|
typedef enum eNUM_WIDTH NUM_WIDTH;
|
||||||
static constexpr size_t NUM_WIDTH_LENGTH = 4;
|
static constexpr size_t NUM_WIDTH_LENGTH = 4;
|
||||||
|
|
||||||
// This is expected to be in same order as IDM_HEX, IDM_DEC, IDM_OCT, IDM_BIN
|
|
||||||
enum eRADIX_TYPE {
|
|
||||||
HEX_RADIX,
|
|
||||||
DEC_RADIX,
|
|
||||||
OCT_RADIX,
|
|
||||||
BIN_RADIX
|
|
||||||
};
|
|
||||||
typedef enum eRADIX_TYPE RADIX_TYPE;
|
|
||||||
|
|
||||||
namespace CalculationManager
|
namespace CalculationManager
|
||||||
{
|
{
|
||||||
class IResourceProvider;
|
class IResourceProvider;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "RatPack/ratpak.h"
|
#include "Ratpack/ratpak.h"
|
||||||
|
|
||||||
namespace CalcEngine
|
namespace CalcEngine
|
||||||
{
|
{
|
||||||
|
|
13
src/CalcManager/Header Files/RadixType.h
Normal file
13
src/CalcManager/Header Files/RadixType.h
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
// Licensed under the MIT License.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
// This is expected to be in same order as IDM_HEX, IDM_DEC, IDM_OCT, IDM_BIN
|
||||||
|
enum eRADIX_TYPE {
|
||||||
|
HEX_RADIX,
|
||||||
|
DEC_RADIX,
|
||||||
|
OCT_RADIX,
|
||||||
|
BIN_RADIX
|
||||||
|
};
|
||||||
|
typedef enum eRADIX_TYPE RADIX_TYPE;
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
#include "RadixToStringConverter.h"
|
#include "RadixToStringConverter.h"
|
||||||
#include "CalcManager/Header Files/CalcEngine.h"
|
#include "CalcManager/Header Files/RadixType.h"
|
||||||
#include "CalcViewModel/Common/AppResourceProvider.h"
|
#include "CalcViewModel/Common/AppResourceProvider.h"
|
||||||
|
|
||||||
using namespace Platform;
|
using namespace Platform;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue