Releases: Brainydaps/Calculator
Releases · Brainydaps/Calculator
Calculator v1.2.0
Changelog
[v1.2.0] - 2024-06-30
Added
- 3D Button Effect: All buttons now feature a 3D shadow effect to enhance visual appeal and provide a more tactile interface.
- Clicking Animation: Buttons now include a fade-out animation when pressed, giving immediate feedback to user interactions and improving the overall user experience.
Calculator v1.0.2
v1.0.2 - June 22, 2024
New Features and Enhancements
-
Continuation of Calculations:
- Implemented functionality to allow subsequent calculations to be performed using the results from previous calculations. This provides a more seamless and intuitive user experience.
-
Improved Data Binding:
- Introduced
DisplayText
andTempDisplay
as bindable properties in theMainPage
class, ensuring real-time updates of the display and temporary display labels. - Updated the XAML to bind these properties, enhancing the UI responsiveness.
- Introduced
-
User Interface Enhancements:
- Adjusted button styles for better visual appeal and user interaction:
- Added rounded corners with a
CornerRadius
of 38 to the buttons. - Improved color scheme for buttons to distinguish between numbers, operations, and special functions.
- Enhanced button size and margin for a more comfortable and accessible layout.
- Added rounded corners with a
- Updated grid layout for a more organized and intuitive button arrangement.
- Adjusted button styles for better visual appeal and user interaction:
-
Trigonometric Operations:
- Corrected the trigonometric functions (
cos
,sin
,tan
) to ensure they correctly convert degrees to radians before performing calculations.
- Corrected the trigonometric functions (
-
Operation Button Text Matching:
- Aligned the operation button text values in the UI with the corresponding switch cases in the code-behind to ensure proper operation handling (e.g., "÷" for division, "×" for multiplication).
Code Refactoring
-
Method Refinements:
- Refined methods such as
SetOperation
,PerformTrigonometricOperation
,CalculateSquare
,CalculateSquareRoot
, andCalculateResult
for better readability and maintainability. - Improved the
ClearDisplay
method to reset all relevant variables and clear both the main and temporary displays.
- Refined methods such as
-
Event Handling:
- Standardized the
Button_Click
event handler to handle a broader range of button inputs efficiently.
- Standardized the
Known Issues
- There are no known issues at this time. Please report any bugs or issues on our GitHub issues page.
We hope you enjoy the improvements and new features in this release. Thank you for using our calculator app!
Calculator v1.0.0
This is the initial release.