-
Notifications
You must be signed in to change notification settings - Fork 0
Dials With Overlaid Rates, Range Display Modes, and More #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
5fe53cb
Different hand drawing depending on where the nominal value is
jc-luna ad6e5b0
Merge branch 'dial-with-rates-enhances-more' of github.com:team-gets/…
jc-luna 74a9e0e
Anti excessive members
jc-luna f4404e3
Fix hand drawing for nominal value at center of range
jc-luna f8607d1
simple finite diff
jc-luna 19e5f29
Rate label
jc-luna 8694a37
Rm the dial numeric dispaly
jc-luna b9599fe
Less ticks, all at 45 deg intervals
jc-luna 0b640b4
Shorter dial sources names
jc-luna 9fca537
Composite dial combining multiple widgets
jc-luna 79ef34a
rate label member rename
jc-luna 36df484
Rate label above dial
jc-luna 6fa30cd
Rate label styling
jc-luna 8054d24
Call super class resize events
jc-luna 6457cce
Autosize the title
jc-luna 2972b84
No designated struct initializeres
jc-luna 782ecd7
Reorg order of ops inside the Composite ctor
jc-luna 40ff0a8
Silence int signedness warning, will never be UB when pt size is alwa…
jc-luna 8d4ea69
Final cleanup post-review
jc-luna File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| #pragma once | ||
|
|
||
| #include <array> | ||
|
|
||
| namespace VSCL::Util { | ||
|
|
||
| static constexpr double CenterFiniteDifference(const std::array<double, 3>& ts, const std::array<double, 3>& qtys) { | ||
| double h = (ts[2] - ts[0]) / 2.0; | ||
| double fwd = (qtys[2] - qtys[1]) / 2.0; | ||
| double bkd = (qtys[1] - qtys[0]) / 2.0; | ||
|
|
||
| return (fwd - bkd) / h; | ||
| } | ||
| } // namespace VSCL::Util |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could do with ticks that aren't spaced 45 degrees apart, as well. Check up with Dr. Valasek on this aspect.