Commit graph

633 commits

Author SHA1 Message Date
a1xd
21d3e76502 installer - use setupapi over winreg 2022-07-16 16:22:08 -04:00
a1xd
9d6d76a571 update newtonsoft.json in project configs 2022-07-16 13:16:26 -04:00
a1xd
4aa778b1d1
Merge pull request #136 from a1xd/dependabot/nuget/writer/Newtonsoft.Json-13.0.1
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /writer
2022-07-16 12:59:08 -04:00
a1xd
d9b3a49754
Merge pull request #135 from a1xd/dependabot/nuget/wrapper-deps/Newtonsoft.Json-13.0.1
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /wrapper-deps
2022-07-16 12:58:47 -04:00
dependabot[bot]
9136657285
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /writer
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-16 16:58:45 +00:00
dependabot[bot]
07b846d884
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /wrapper-deps
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-16 16:58:16 +00:00
a1xd
9ea3ea5e56
Merge pull request #134 from a1xd/dependabot/nuget/grapher/Newtonsoft.Json-13.0.1
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /grapher
2022-07-16 12:57:46 -04:00
dependabot[bot]
8c4398b0cf
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /grapher
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 00:02:29 +00:00
JacobPalecki
9f71ce7ff5
Merge pull request #129 from ruudschouten/feature/color_schemes
Feature/color schemes
2022-06-02 21:22:23 -07:00
Ruud Schouten
b4cc2d5896 Merge branch 'master' into feature/color_schemes
# Conflicts:
#	grapher/Form1.Designer.cs
#	grapher/Models/AccelGUIFactory.cs
2022-05-27 09:24:41 +02:00
JacobPalecki
2a38a468cb
Merge pull request #127 from ruudschouten/feature/resizable_charts
Feature/resizable charts
2022-05-26 22:12:05 -07:00
Ruud Schouten
95967229f8 Fixed Path.Combine, and applied it to other instance 2022-05-26 22:13:56 +02:00
Ruud Schouten
d52ea44e86 Replaced foreach loop with a LINQ Query 2022-05-26 14:41:26 +02:00
Ruud Schouten
b565b21aa9 Moved magic numbers for column and row count to Constants, and added a summary for them 2022-05-25 13:42:13 +02:00
Ruud Schouten
11a0b2bfd3 LoadThemes now returns an IEnumerable
Now also uses Path.Combine
Creation of default themes has been turned into its own private method
Class is now also public, instead of internal
2022-05-25 13:22:38 +02:00
Ruud Schouten
c1590cdc69 Updated to use the IEnumerables from the ColorSchemeManager
The schemes are cast into a List to prevent possible multiple enumerations; as explained here https://www.jetbrains.com/help/resharper/2022.1/PossibleMultipleEnumeration.html
2022-05-25 13:20:12 +02:00
Ruud Schouten
7c77468c1e Fixed naming convention 2022-05-25 13:19:26 +02:00
Ruud Schouten
d119dfcf19 ColorSchemeManager now returns IEnumerables, and uses clearer LINQ queries to retrieve a scheme by name 2022-05-25 13:19:08 +02:00
Ruud Schouten
f48df13cfc Added newline after if statement 2022-05-25 13:17:27 +02:00
Ruud Schouten
b39e9e3782 Added additional checks for selecting the current theme 2022-05-23 09:52:58 +02:00
Ruud Schouten
190e18e6cb Fixed issue where theme would reset to Light Theme when restarting the app 2022-05-23 09:10:20 +02:00
Ruud Schouten
4620bcfee3 Fixed exception being thrown when the CurrentColorScheme property could not be found in the .config file 2022-05-20 09:59:00 +02:00
Ruud Schouten
c210c65ff7 Remove todo 2022-05-19 17:55:21 +02:00
Ruud Schouten
f6ae4b0a15 Applied some fixes to the themes 2022-05-19 17:55:04 +02:00
Ruud Schouten
c1d0a36a67 User can now select themes from a MenuItem
The selected item is then stored in the `.config` file.
2022-05-19 17:54:46 +02:00
Ruud Schouten
39e3bcb07b Added an option for gradient buttons 2022-05-19 15:23:50 +02:00
Ruud Schouten
64ed2cab08 Disabled Buttons now retrain their font color
Also changed the way text is drawn in the Checkboxes, which now use the same method the Buttons do.
2022-05-19 14:57:42 +02:00
Ruud Schouten
09eb5cd4ff Removed finished todo 2022-05-19 13:33:18 +02:00
Ruud Schouten
d3f30d1d76 Fixed hovering over a menu item
Also added fields for CheckBoxes, which are now used by MenuItems as well
2022-05-19 13:28:41 +02:00
Ruud Schouten
fa890818e3 MenuStrips can now be themed.
Also added the theme to the form which is shown when the user presses the `About` button in the `Help` MenuStrip
2022-05-19 10:54:07 +02:00
Ruud Schouten
3099c6bedf Added warning if any regular RichTextBoxes are found 2022-05-18 11:21:13 +02:00
Ruud Schouten
f1e547b6c3 Forgot to remove some code 2022-05-18 11:16:48 +02:00
Ruud Schouten
0cb3475920 Added ThemeableRichTextbox, so the borders can be set 2022-05-18 11:15:57 +02:00
Ruud Schouten
ad826d458d Added theme support for: Buttons, ComboBoxes and Panels.
Also added some more fields for the ColorScheme, and added a new premade ColorScheme
2022-05-13 19:06:36 +02:00
Ruud Schouten
54643431bf Fixed issue where the Border would only be visible after hovering over the textbox
Also resolved an issue where the Border would jitter whenever you moved the cursor over the textbox
2022-05-13 13:03:19 +02:00
Ruud Schouten
1396b89002 Forgot to commit changes with the Static Theme 2022-05-13 12:07:35 +02:00
Ruud Schouten
c515491e2a Added ThemeableTextBox so the border color can be set 2022-05-13 12:06:52 +02:00
Ruud Schouten
730a3630d4 Made Theme static, so controls can easily access colors
`ColorScheme` also received some more properties, and no longer has default values.
2022-05-13 12:05:26 +02:00
Ruud Schouten
a4383de602 Removed "Streamer Mode", since this can now be achieved with a Theme.
Also moved the method to style a chart into `Theme`.
2022-05-13 12:03:46 +02:00
Ruud Schouten
4b2d4cf3ee Created ThemeableComboBox
This is an extension on the default `ComboBox`, but adds properties for the border and button colors, allowing us to theme it without the border and button being the default "Control" color, which sticks out in dark themes.
2022-05-13 12:00:45 +02:00
Ruud Schouten
7c7dd3f1b2 Added more URLs in todo 2022-05-12 17:13:23 +02:00
Ruud Schouten
84257e0c22 Updated TODO 2022-05-12 17:03:44 +02:00
Ruud Schouten
83685b0da0 WIP implementation of applying a ColorScheme 2022-05-12 16:54:53 +02:00
Ruud Schouten
80e7121306 Added piece of code in Form1 which applies the currently selected theme 2022-05-12 16:54:36 +02:00
Ruud Schouten
bf3a5397b7 Moved ColorSchemes into it's own Class
This was done so `Theme` can focus more on applying itself.
2022-05-12 16:54:11 +02:00
Ruud Schouten
735e25d708 Added Theme class, which should contain colors for all the used controls 2022-05-12 15:58:59 +02:00
Ruud Schouten
499add5806 Added Closing and Load events
These events will store and retrieve the windows position and size, so the windows size and position on startup will be the same as when the user closed them.
2022-05-09 17:03:58 +02:00
Ruud Schouten
1abd1317e8 Moved charts into a resizable container
This container will, if the `Show Velocity and Gain` checkbox is checked, give each chart 33% height, otherwise sensitivity will take up 100% of the height.
The container will do the same for the Y charts, if `By Component` is checked, where the width of all charts is set to 50%.
2022-05-09 17:02:56 +02:00
a1xd
21f837e2da bump version 2022-04-16 16:24:40 -04:00
a1xd
a395f9287e
Merge pull request #124 from a1xd/fix-common-misc
misc small improvements
2022-04-16 16:20:52 -04:00