mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-16 08:34:10 +02:00
Add CellularPanel::LastCell
This commit is contained in:
parent
4e1a80f5ac
commit
7cbe85facf
@ -852,3 +852,8 @@ void CellularPanel::ClearTargets()
|
|||||||
state.mMouseOverUpdateFlags = 0;
|
state.mMouseOverUpdateFlags = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::shared_ptr<TrackPanelCell> CellularPanel::LastCell() const
|
||||||
|
{
|
||||||
|
auto &state = *mState;
|
||||||
|
return state.mLastCell.lock();
|
||||||
|
}
|
||||||
|
@ -61,6 +61,8 @@ public:
|
|||||||
public:
|
public:
|
||||||
UIHandlePtr Target();
|
UIHandlePtr Target();
|
||||||
|
|
||||||
|
std::shared_ptr<TrackPanelCell> LastCell() const;
|
||||||
|
|
||||||
bool IsMouseCaptured();
|
bool IsMouseCaptured();
|
||||||
|
|
||||||
wxCoord MostRecentXCoord() const;
|
wxCoord MostRecentXCoord() const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user