mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 13:12:17 +01:00
Move track resizing code out of TrackPanel.cpp, though it still...
... cooperates more closely with TrackPanel than the other UIHandle subclasses do.
This commit is contained in:
committed by
Paul Licameli
parent
703abe87bc
commit
bbfa574790
@@ -429,7 +429,6 @@ protected:
|
||||
protected:
|
||||
// AS: Cursor handling
|
||||
virtual bool SetCursorByActivity( );
|
||||
virtual void SetCursorAndTipWhenInVResizeArea( bool blinked, wxString &tip );
|
||||
virtual void SetCursorAndTipWhenInLabelTrack( LabelTrack * pLT, const wxMouseEvent & event, wxString &tip );
|
||||
virtual void SetCursorAndTipWhenSelectTool
|
||||
( Track * t, const wxMouseEvent & event, const wxRect &rect, bool bMultiToolMode, wxString &tip, const wxCursor ** ppCursor );
|
||||
@@ -444,12 +443,6 @@ protected:
|
||||
// MM: Handle mouse wheel rotation
|
||||
virtual void HandleWheelRotation(wxMouseEvent & event);
|
||||
|
||||
// Handle resizing.
|
||||
virtual void HandleResizeClick(wxMouseEvent & event);
|
||||
virtual void HandleResizeDrag(wxMouseEvent & event);
|
||||
virtual void HandleResizeButtonUp(wxMouseEvent & event);
|
||||
virtual void HandleResize(wxMouseEvent & event);
|
||||
|
||||
public:
|
||||
virtual void MakeParentRedrawScrollbars();
|
||||
|
||||
@@ -614,8 +607,6 @@ protected:
|
||||
|
||||
wxMouseEvent mLastMouseEvent;
|
||||
|
||||
int mMouseClickY;
|
||||
|
||||
int mMouseMostRecentX;
|
||||
int mMouseMostRecentY;
|
||||
|
||||
@@ -675,11 +666,6 @@ protected:
|
||||
bool onlyWithinSnapDistance,
|
||||
double *pPinValue = NULL) const;
|
||||
|
||||
bool mInitialMinimized;
|
||||
int mInitialTrackHeight;
|
||||
int mInitialActualHeight;
|
||||
int mInitialUpperTrackHeight;
|
||||
int mInitialUpperActualHeight;
|
||||
bool mAutoScrolling;
|
||||
|
||||
public:
|
||||
@@ -692,9 +678,6 @@ public:
|
||||
IsSelecting,
|
||||
IsAdjustingLabel,
|
||||
IsSelectingLabelText,
|
||||
IsResizing,
|
||||
IsResizingBetweenLinkedTracks,
|
||||
IsResizingBelowLinkedTracks,
|
||||
IsMuting,
|
||||
IsSoloing,
|
||||
IsMinimizing,
|
||||
@@ -708,7 +691,7 @@ protected:
|
||||
|
||||
std::unique_ptr<wxCursor>
|
||||
mArrowCursor, mSelectCursor,
|
||||
mResizeCursor, mEnvelopeCursor, // doubles as the center frequency cursor
|
||||
mEnvelopeCursor, // doubles as the center frequency cursor
|
||||
// for spectral selection
|
||||
mDisabledCursor, mAdjustLeftSelectionCursor, mAdjustRightSelectionCursor;
|
||||
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
|
||||
|
||||
Reference in New Issue
Block a user