diff options
Diffstat (limited to 'src/gui/general/LinedStaff.h')
-rw-r--r-- | src/gui/general/LinedStaff.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/general/LinedStaff.h b/src/gui/general/LinedStaff.h index e7dab8f..3dff372 100644 --- a/src/gui/general/LinedStaff.h +++ b/src/gui/general/LinedStaff.h @@ -525,9 +525,9 @@ public: (double x, int y, Event *&clef, Event *&key, bool notesAndRestsOnly = false, int proximityThreshold = 10) { - LinedStaffCoords tqlayoutCoords = getLayoutCoordsForCanvasCoords(x, y); + LinedStaffCoords layoutCoords = getLayoutCoordsForCanvasCoords(x, y); return getClosestElementToLayoutX - (tqlayoutCoords.first, clef, key, + (layoutCoords.first, clef, key, notesAndRestsOnly, proximityThreshold); } @@ -568,8 +568,8 @@ public: */ virtual ViewElementList::iterator getElementUnderCanvasCoords (double x, int y, Event *&clef, Event *&key) { - LinedStaffCoords tqlayoutCoords = getLayoutCoordsForCanvasCoords(x, y); - return getElementUnderLayoutX(tqlayoutCoords.first, clef, key); + LinedStaffCoords layoutCoords = getLayoutCoordsForCanvasCoords(x, y); + return getElementUnderLayoutX(layoutCoords.first, clef, key); } /** @@ -690,18 +690,18 @@ protected: virtual void resizeStaffLineRow(int row, double offset, double length); virtual void deleteBars(); - virtual void insertBar(double tqlayoutX, double width, bool isCorrect, + virtual void insertBar(double layoutX, double width, bool isCorrect, const TimeSignature &, int barNo, bool showBarNo); // The default implementations of the following two are empty. virtual void deleteTimeSignatures(); - virtual void insertTimeSignature(double tqlayoutX, + virtual void insertTimeSignature(double layoutX, const TimeSignature &); // The default implementations of the following two are empty. virtual void deleteRepeatedClefsAndKeys(); - virtual void insertRepeatedClefAndKey(double tqlayoutX, int barNo); + virtual void insertRepeatedClefAndKey(double layoutX, int barNo); void initCursors(); |