-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Signal which emits 2D axes coordinates on mouse position changed. * Mouse coord shows correctly in fixed anchor mode, mouse anchor mode is WIP. * MouseAnchor mouse coords mode is working. * Round to 3 d.p. * Stop using magic numbers. * Default MouseCoordStyle to FixedAnchor. * Comprehensive commenting. * Do all mouse coordinate anchoring in mouseMoveEvent. Also added slot for setting MouseCoordStyle. * Updated basic example to offer different mouse coordinate styles. * Clang format. * Update src/mouse.cpp Co-authored-by: Tristan Youngs <[email protected]> * Update src/mouse.cpp Co-authored-by: Tristan Youngs <[email protected]> * Update src/widget.h Co-authored-by: Tristan Youngs <[email protected]> * Throw runtime error for unhandled coordinate display styles. * Use new enum class name. * Fix bug with mouse coordinates being hidden near upper extents. * Clang format. * Include stdexcept. * Stop doing dirty round. * Format. * Update src/mouse.cpp Co-authored-by: Tristan Youngs <[email protected]> Co-authored-by: Tristan Youngs <[email protected]>
- Loading branch information
1 parent
baf2d30
commit 5350af8
Showing
7 changed files
with
154 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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